32 Commits

Author SHA1 Message Date
nrdmn
8d7029c9bb Fix target version in CONTRIBUTING.md (#8295) 2025-11-26 23:13:12 +01:00
Matt Godbolt
577094cf11 Add vitest related to pre-commit with expensive test skipping (#7854)
## Summary
This PR improves the pre-commit hook performance by:
- Using `vitest related` to run only tests affected by changed files
- Adding ability to skip expensive tests (filter tests) during
pre-commit
- Providing a consistent mechanism for skipping expensive tests

## Changes
- Modified `lint-staged.config.mjs` to run `vitest related` with
`SKIP_EXPENSIVE_TESTS=true`
- Updated `test/filter-tests.ts` to use idiomatic `describe.skipIf()`
for conditional test execution
- Changed `test-min` script to use `SKIP_EXPENSIVE_TESTS` environment
variable instead of `--exclude`
- Updated `CLAUDE.md` with documentation about the new test workflow

## Impact
- Pre-commit hooks are now much faster as they:
  - Only run tests related to changed files
  - Skip 688 expensive filter tests
  - Use the same skipping mechanism as `npm run test-min`

## Testing
-  Verified `vitest related` correctly identifies and runs related
tests
-  Confirmed filter tests are skipped when `SKIP_EXPENSIVE_TESTS=true`
-  Tested that full test suite still runs all tests when env var is not
set
-  Pre-commit hooks work correctly with the new setup

🤖 Generated with [Claude Code](https://claude.ai/code)

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-06-22 14:34:16 -05:00
Patrick Quist
b5e7219baa Add dedicated PTX assembly parser to fix directive filtering (#7839) 2025-06-20 14:46:24 +02:00
Andrew Brey
26ab4e6d4b feat(devcontainers): add the ability to use GitHub Codespaces and VS Code remote containers (#5631) 2023-10-22 12:13:26 +02:00
Matt Godbolt
1fc878d7a2 Bump all the things forward (#5563)
also run the lint and format nonsense
2023-10-05 21:43:33 -05:00
Rupert Tombs
83e06b0424 Update .js to .ts in documentation (#5558)
While reading the (excellent) documentation here, I noticed a few stale
references to `.js` files that are now implemented in TypeScript.

* Update `*.js` to `*.ts` in Markdown documentation.

* Update `app.js` to `out/dist/app.js` in
`docs/SystemdSocketActivation.md`.
_I managed to follow these instructions and locally run Compiler
Explorer through socket activation after that change._

* Update `*.js` to `*.ts` in the GitHub labeller config
`.github/labeler.yml`.
_Also correct some misnamed files here. I have checked the new version
with `ls $(grep -E "^ - " .github/labeler.yml | sed "s/ - //g")`. If I
were more familiar here, I would have liked to add a similar check to
the automated tests._

- Sheepishly add myself to the contributors list, despite this being a
tiny find-and-replace change.

---------

Co-authored-by: Jeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com>
2023-10-04 20:27:06 -04:00
Matt Godbolt
5d776aaae3 Replace ts-node-esm with direct calls to node to support node 20 (#5521)
- works both v18 and v20
- see https://github.com/TypeStrong/ts-node/issues/1997
2023-09-27 21:57:18 -05:00
Matt Godbolt
fb4b7bb16e Bump used node version to 18 (#4778)
Still assume node 16 compatibility for now.
2023-02-25 12:43:00 -06:00
Mats Larsen
e24b2f72be Remove unused prettier format script (#3646) 2022-05-15 20:36:13 +01:00
Matt Godbolt
f2c1e0bd31 The Grand Reformat (#3643)
* The Grand Reformat

- everything made prettier...literally
- some tweaks to include a few more files, including documentation
- minor changes to format style
- some tiny `// prettier-ignore` changes to keep a few things the way we like them
- a couple of super minor tweaks to embedded document types to ensure they format correctly
2022-05-09 23:13:50 -05:00
Matt Godbolt
da26521aac Update our node version in other places 2022-01-17 14:14:12 -06:00
Rubén Rincón Blanco
eb944338ad Update CONTRIBUTING.md
https://github.com/compiler-explorer/compiler-explorer/issues/3047#issuecomment-948032360
2021-10-22 22:12:18 +02:00
Matt Godbolt
dc1592cdc1 Update to node v14.18.0 (#3026)
* Update to node v14.18.0
2021-10-11 23:18:19 -05:00
Rubén Rincón Blanco
40a587189b Fix CONTRIBUTING typo 2021-09-04 06:34:11 +02:00
Rubén Rincón Blanco
23cfe56c57 Update CONTRIBUTING.md 2021-09-04 06:33:31 +02:00
Rubén Rincón Blanco
40f6aca113 Clarify that we currently run Node 12 on prod
Also adds a link to Underscore.js docs so that it's more clear that it's an option for missing ES6 features
2021-08-13 07:26:27 +02:00
RabsRincon
2306073103 Grammar check pass on docs
Used WebStorm built-in spellchecker and updated the docs where necessary
2021-07-13 12:01:07 +02:00
Rubén Rincón Blanco
dda99bd637 Reword some of CONTRIBUTING.md 2021-03-29 11:25:01 +02:00
Patrick Quist
468209bc4b Update CONTRIBUTING.md 2020-10-01 15:40:39 +02:00
Austin Morton
044dcfbf88 Use ES6 Modules (#2132) 2020-09-26 16:59:26 -04:00
Matt Godbolt
627a244da9 Merge branch 'master' into mg/async_tweaks 2020-02-05 07:54:55 -06:00
RabsRincon
c1761ed7d9 Fix typo in CONTRIBUTING.md
Thanks to @nemequ

Closes #1815
2020-02-03 21:25:03 +01:00
Matt Godbolt
f40fcdc9e2 Bump the docs for the minimum node version (thanks @rabsrincon) 2020-01-22 07:04:00 -06:00
Nicole Mazzuca
9ddf22f090 Support Visual C++ and Windows well
This commit adds support for hosting on windows, as well as better
support for the Visual C++ compiler. Specific interesting changes are:

  - switch from /FAsc to /FA
  - order functions in file order
  - support demangling win32-style identifiers with undname
  - clang++ and vc++ on win32 host are both supported
2018-07-28 15:18:43 -07:00
Rubén
e2386ba8b5 Fix missing contributing sentence 2018-03-22 14:39:34 +01:00
RabsRincon
ebf416a5e1 Improve docs (Wording & raw and stylized visuals) 2018-03-19 03:48:26 +01:00
RabsRincon
493e6dfbca Update contributing 2018-03-08 13:12:57 +01:00
RabsRincon
5bf7e6b30a Address PR reviews 2018-02-03 14:30:54 +01:00
jaredwy
b545b339bc bower be gone 2018-01-28 19:09:33 +11:00
Bernardo Sulzbach
24e83583f7 Fixed minor typos in the documentation 2018-01-03 17:24:45 -02:00
Rubén
d1414aea60 Update CONTRIBUTING.md 2017-12-30 06:35:22 +01:00
Matt Godbolt
3755265902 Create contributing guidelines
All written as-is. Hopefully some of this will change in the coming weeks as we move to webpack and yarn.
2017-10-11 21:54:15 -05:00