[codex] clean up test suite commands#210
Merged
Merged
Conversation
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR cleans up and speeds up the monorepo test/CI flow.
CI Speed Evidence
Latest green PR run: https://github.com/joesobo/CodeGraphyV4/actions/runs/26199267945
Latest lane timings:
Previous iteration checkpoints:
Mutation Loop Evidence
pnpm run mutate -- packages/extension/src/webview/vscodeApi.ts.vscodeApi.tsrun 9 tests in about 2.016s wall time, with only about 8ms spent in the test bodies. The mutation loop is dominated by Stryker startup, dry-run, sandbox, and runner orchestration overhead rather than assertion time.reports/mutation/extension/stryker-incremental-extension.json.vscodeApi.ts: 6 mutants, 100% score, 11.12s wall time.vscodeApi.ts: Stryker reused 6 of 6 mutant results, 100% score, 7.51s wall time.pnpm run mutate -- --force packages/extension/src/webview/vscodeApi.tsretested all 6 mutants at 100% score in 10.67s wall time.pnpm run mutate -- extension/now clears Stryker's instrumented dry run but did not finish mutant execution within the requested 30-minute cutoff. It timed out at 1800.156s after finding 892 files to mutate and instrumenting 22,525 mutants.pnpm run mutate -- --skip-typecheck --mutate packages/extension/src/webview/components/graph/model/node/display.ts: 49 mutants, 85.42% score, Stryker exited successfully with the existing survivors reported, 29.923s wall time.display.ts: one worker took about 32.3s; two workers took about 27.9s on the same 49-mutant target.Local Validation
ruby -ryaml -e 'YAML.load_file(".github/workflows/ci.yml"); puts "workflow yaml ok"'pnpm --filter @codegraphy/extension exec vitest run --config vitest.config.ts --project node packages/extension/tests/vitest.includes.test.tsCODEGRAPHY_VITEST_WEBVIEW_GROUP=graph pnpm exec turbo run test:webview --filter=@codegraphy/extensionCODEGRAPHY_VITEST_WEBVIEW_GROUP=appPlugins pnpm exec turbo run test:webview --filter=@codegraphy/extensionCODEGRAPHY_VITEST_WEBVIEW_GROUP=panelsExport pnpm exec turbo run test:webview --filter=@codegraphy/extensionpnpm --filter @codegraphy/quality-tools exec vitest run --config vitest.config.ts tests/mutation/runner/command.test.ts tests/mutation/runner/run.effects.test.ts tests/mutation/runner/directIncludes.test.ts tests/mutation/runner/vitestIncludes.test.tspnpm --filter @codegraphy/quality-tools exec vitest run --config vitest.config.ts tests/mutation/runner/run.test.ts tests/mutation/runner/run.effects.test.ts tests/mutation/reporting/reportArtifacts.test.ts tests/mutation/runner/command.test.tspnpm --filter @codegraphy/quality-tools testpnpm run mutate -- packages/extension/src/webview/vscodeApi.tspnpm run mutate -- --force packages/extension/src/webview/vscodeApi.tspnpm run mutate -- extension/with a 30-minute watchdog: timed out at 1800.156s.CODEGRAPHY_MUTATION_RUN=1 CODEGRAPHY_VITEST_SCOPE=extension pnpm --filter @codegraphy/extension exec vitest run --config vitest.config.tspnpm run lintpnpm run typecheckpnpm run testpnpm run typecheckand staged-file ESLint.