@codyswann/lisa 5.3.2 → 5.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +60 -3
- package/all/copy-contents/gitignore +16 -0
- package/all/copy-contents/scripts/lisa-mutation.sh +4 -6
- package/all/copy-overwrite/scripts/fetch-test-access-map.d.mts +71 -0
- package/all/copy-overwrite/scripts/fetch-test-access-map.mjs +674 -0
- package/all/copy-overwrite/scripts/lib/affected-tests.mjs +818 -0
- package/all/copy-overwrite/scripts/lib/automation-provenance-contract.mjs +13 -3
- package/all/copy-overwrite/scripts/lib/automation-provenance-local.mjs +22 -1
- package/all/copy-overwrite/scripts/lib/build-marker.mjs +410 -0
- package/all/copy-overwrite/scripts/lib/gate-pass-cache.mjs +537 -0
- package/all/copy-overwrite/scripts/lib/kill-marks.mjs +1 -2
- package/all/copy-overwrite/scripts/lib/lisa-cleanup-sweep-processes.mjs +3 -4
- package/all/copy-overwrite/scripts/lib/npm-update-bun.mjs +39 -14
- package/all/copy-overwrite/scripts/lib/npm-update-controller-broker.mjs +1 -1
- package/all/copy-overwrite/scripts/lib/npm-update-gate-hooks.mjs +2 -1
- package/all/copy-overwrite/scripts/lib/npm-update-helper-inventory.mjs +8 -1
- package/all/copy-overwrite/scripts/lib/npm-update-hosted-gate.mjs +25 -9
- package/all/copy-overwrite/scripts/lib/npm-update-hosted-hook.mjs +1 -1
- package/all/copy-overwrite/scripts/lib/npm-update-tool-launcher.mjs +1 -1
- package/all/copy-overwrite/scripts/lib/push-admission.mjs +158 -0
- package/all/copy-overwrite/scripts/lib/push-gate-defaults.d.mts +34 -0
- package/all/copy-overwrite/scripts/lib/push-gate-defaults.mjs +147 -0
- package/all/copy-overwrite/scripts/lib/push-timing.mjs +323 -0
- package/all/copy-overwrite/scripts/lib/rspec-selection.mjs +672 -0
- package/all/copy-overwrite/scripts/lisa-affected-tests.mjs +566 -0
- package/all/copy-overwrite/scripts/lisa-gates.mjs +29 -0
- package/all/copy-overwrite/scripts/lisa-lint-staged-preflight.mjs +10 -1
- package/all/copy-overwrite/scripts/lisa-push-timing-report.mjs +153 -0
- package/all/copy-overwrite/scripts/lisa-rspec-select.mjs +982 -0
- package/all/copy-overwrite/scripts/lisa-run-gates.mjs +231 -6
- package/all/copy-overwrite/scripts/npm-updater-helper-graph.json +108 -20
- package/all/deletions.json +11 -2
- package/cdk/create-only/vitest.config.local.ts +1 -7
- package/cdk/package-lisa/package.lisa.json +4 -4
- package/dist/cli/admit-cmd.d.ts +21 -0
- package/dist/cli/admit-cmd.d.ts.map +1 -0
- package/dist/cli/admit-cmd.js +142 -0
- package/dist/cli/admit-cmd.js.map +1 -0
- package/dist/cli/check-cmd.d.ts +72 -0
- package/dist/cli/check-cmd.d.ts.map +1 -0
- package/dist/cli/check-cmd.js +316 -0
- package/dist/cli/check-cmd.js.map +1 -0
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +6 -4
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/lisa-test-run-admission.d.ts +18 -0
- package/dist/cli/lisa-test-run-admission.d.ts.map +1 -0
- package/dist/cli/lisa-test-run-admission.js +62 -0
- package/dist/cli/lisa-test-run-admission.js.map +1 -0
- package/dist/cli/lisa-test-run-payload.d.ts +37 -0
- package/dist/cli/lisa-test-run-payload.d.ts.map +1 -0
- package/dist/cli/lisa-test-run-payload.js +55 -0
- package/dist/cli/lisa-test-run-payload.js.map +1 -0
- package/dist/cli/lisa-test-run-shard-files.d.ts +89 -0
- package/dist/cli/lisa-test-run-shard-files.d.ts.map +1 -0
- package/dist/cli/lisa-test-run-shard-files.js +239 -0
- package/dist/cli/lisa-test-run-shard-files.js.map +1 -0
- package/dist/cli/lisa-test-run-shard.d.ts +6 -2
- package/dist/cli/lisa-test-run-shard.d.ts.map +1 -1
- package/dist/cli/lisa-test-run-shard.js +25 -13
- package/dist/cli/lisa-test-run-shard.js.map +1 -1
- package/dist/cli/lisa-test-run.d.ts +1 -1
- package/dist/cli/lisa-test-run.d.ts.map +1 -1
- package/dist/cli/lisa-test-run.js +47 -10
- package/dist/cli/lisa-test-run.js.map +1 -1
- package/dist/cli/update-check-hook.d.ts.map +1 -1
- package/dist/cli/update-check-hook.js +3 -0
- package/dist/cli/update-check-hook.js.map +1 -1
- package/dist/configs/vitest/base.d.ts +58 -135
- package/dist/configs/vitest/base.d.ts.map +1 -1
- package/dist/configs/vitest/base.js +76 -228
- package/dist/configs/vitest/base.js.map +1 -1
- package/dist/configs/vitest/cdk.d.ts.map +1 -1
- package/dist/configs/vitest/cdk.js +3 -2
- package/dist/configs/vitest/cdk.js.map +1 -1
- package/dist/configs/vitest/coverage-include-global-setup.d.ts.map +1 -1
- package/dist/configs/vitest/coverage-include-global-setup.js +3 -4
- package/dist/configs/vitest/coverage-include-global-setup.js.map +1 -1
- package/dist/configs/vitest/coverage-reports-directory.d.ts +27 -5
- package/dist/configs/vitest/coverage-reports-directory.d.ts.map +1 -1
- package/dist/configs/vitest/coverage-reports-directory.js +47 -10
- package/dist/configs/vitest/coverage-reports-directory.js.map +1 -1
- package/dist/configs/vitest/harper-fabric.d.ts.map +1 -1
- package/dist/configs/vitest/harper-fabric.js +3 -2
- package/dist/configs/vitest/harper-fabric.js.map +1 -1
- package/dist/configs/vitest/nestjs.d.ts.map +1 -1
- package/dist/configs/vitest/nestjs.js +3 -2
- package/dist/configs/vitest/nestjs.js.map +1 -1
- package/dist/configs/vitest/phaser.d.ts.map +1 -1
- package/dist/configs/vitest/phaser.js +3 -2
- package/dist/configs/vitest/phaser.js.map +1 -1
- package/dist/configs/vitest/refusal-announcement.d.ts +51 -0
- package/dist/configs/vitest/refusal-announcement.d.ts.map +1 -0
- package/dist/configs/vitest/refusal-announcement.js +97 -0
- package/dist/configs/vitest/refusal-announcement.js.map +1 -0
- package/dist/configs/vitest/socket-safe-temp-base.d.ts +3 -4
- package/dist/configs/vitest/socket-safe-temp-base.d.ts.map +1 -1
- package/dist/configs/vitest/socket-safe-temp-base.js +7 -6
- package/dist/configs/vitest/socket-safe-temp-base.js.map +1 -1
- package/dist/configs/vitest/typescript.d.ts.map +1 -1
- package/dist/configs/vitest/typescript.js +3 -2
- package/dist/configs/vitest/typescript.js.map +1 -1
- package/dist/core/admission-decision.d.ts +110 -0
- package/dist/core/admission-decision.d.ts.map +1 -0
- package/dist/core/admission-decision.js +91 -0
- package/dist/core/admission-decision.js.map +1 -0
- package/dist/core/admission-lock.d.ts +69 -0
- package/dist/core/admission-lock.d.ts.map +1 -0
- package/dist/core/admission-lock.js +278 -0
- package/dist/core/admission-lock.js.map +1 -0
- package/dist/core/admission-settings.d.ts +69 -0
- package/dist/core/admission-settings.d.ts.map +1 -0
- package/dist/core/admission-settings.js +204 -0
- package/dist/core/admission-settings.js.map +1 -0
- package/dist/core/admission-state.d.ts +50 -0
- package/dist/core/admission-state.d.ts.map +1 -0
- package/dist/core/admission-state.js +168 -0
- package/dist/core/admission-state.js.map +1 -0
- package/dist/core/admission.d.ts +70 -0
- package/dist/core/admission.d.ts.map +1 -0
- package/dist/core/admission.js +205 -0
- package/dist/core/admission.js.map +1 -0
- package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
- package/dist/core/lisa-owned-hash-ledger.js +336 -0
- package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
- package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
- package/dist/core/project-config-push-gate.d.ts +66 -0
- package/dist/core/project-config-push-gate.d.ts.map +1 -0
- package/dist/core/project-config-push-gate.js +82 -0
- package/dist/core/project-config-push-gate.js.map +1 -0
- package/dist/core/project-config.d.ts +4 -0
- package/dist/core/project-config.d.ts.map +1 -1
- package/dist/core/project-config.js +14 -9
- package/dist/core/project-config.js.map +1 -1
- package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +207 -126
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/expo/package-lisa/package.lisa.json +2 -2
- package/harper-fabric/package-lisa/package.lisa.json +4 -4
- package/nestjs/create-only/vitest.config.local.ts +1 -7
- package/nestjs/package-lisa/package.lisa.json +4 -4
- package/npm-package/package-lisa/package.lisa.json +4 -4
- package/package.json +12 -11
- package/phaser/package-lisa/package.lisa.json +4 -4
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-drive-pr-to-merge/SKILL.md +16 -3
- package/plugins/lisa/.codex-plugin/skills/lisa-git-submit-pr/SKILL.md +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-implement/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-drive-pr-to-merge/SKILL.md +16 -3
- package/plugins/lisa/skills/lisa-git-submit-pr/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-implement/SKILL.md +1 -1
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/skills/lisa-drive-pr-to-merge/SKILL.md +16 -3
- package/plugins/lisa-agy/skills/lisa-git-submit-pr/SKILL.md +1 -1
- package/plugins/lisa-agy/skills/lisa-implement/SKILL.md +1 -1
- package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-agy/plugin.json +1 -1
- package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/skills/lisa-drive-pr-to-merge/SKILL.md +16 -3
- package/plugins/lisa-copilot/skills/lisa-git-submit-pr/SKILL.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-implement/SKILL.md +1 -1
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/skills/lisa-drive-pr-to-merge/SKILL.md +16 -3
- package/plugins/lisa-cursor/skills/lisa-git-submit-pr/SKILL.md +1 -1
- package/plugins/lisa-cursor/skills/lisa-implement/SKILL.md +1 -1
- package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/skills/lisa-drive-pr-to-merge/SKILL.md +16 -3
- package/plugins/lisa-devin/skills/lisa-git-submit-pr/SKILL.md +1 -1
- package/plugins/lisa-devin/skills/lisa-implement/SKILL.md +1 -1
- package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-agy/plugin.json +1 -1
- package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-agy/plugin.json +1 -1
- package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-agy/plugin.json +1 -1
- package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-agy/plugin.json +1 -1
- package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-agy/plugin.json +1 -1
- package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-agy/plugin.json +1 -1
- package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/src/base/skills/lisa-drive-pr-to-merge/SKILL.md +16 -3
- package/plugins/src/base/skills/lisa-git-submit-pr/SKILL.md +1 -1
- package/plugins/src/base/skills/lisa-implement/SKILL.md +1 -1
- package/rails/copy-overwrite/Gemfile.lisa +8 -0
- package/rails/copy-overwrite/lefthook.yml +25 -11
- package/rails/copy-overwrite/scripts/lisa-rails-gates.mjs +686 -0
- package/rails/copy-overwrite/scripts/lisa-rspec-shards.mjs +2 -2
- package/rails/copy-overwrite/scripts/lisa_crystalball_recorder.rb +239 -0
- package/rails/copy-overwrite/scripts/lisa_rspec_partial_coverage.rb +83 -0
- package/scripts/build-unless-marked.mjs +83 -0
- package/scripts/check-plugins-sync.sh +22 -5
- package/scripts/classify-markdown-assertions.mjs +141 -0
- package/scripts/integration-shard-build.mjs +143 -0
- package/scripts/lib/history-scanner-suites.mjs +19 -0
- package/scripts/lib/markdown-assertions/classify.mjs +289 -0
- package/scripts/lib/markdown-assertions/context.mjs +53 -0
- package/scripts/lib/markdown-assertions/corpus.mjs +222 -0
- package/scripts/lib/markdown-assertions/manifest-cull.mjs +86 -0
- package/scripts/lib/markdown-assertions/record-setup.mjs +265 -0
- package/scripts/lib/markdown-assertions/record.mjs +115 -0
- package/scripts/lib/markdown-assertions/record.vitest.config.mjs +24 -0
- package/scripts/lib/markdown-assertions/sites.mjs +273 -0
- package/scripts/lib/markdown-assertions/test-cull.mjs +768 -0
- package/scripts/lib/markdown-assertions/tokens.mjs +158 -0
- package/scripts/lib/shell-guard-trace.mjs +6 -0
- package/scripts/lib/test-access-map-setup.mjs +40 -0
- package/scripts/lib/test-access-map-tracer.mjs +205 -0
- package/scripts/lib/test-access-map.d.mts +72 -0
- package/scripts/lib/test-access-map.mjs +395 -0
- package/scripts/lib/test-timings-reporter.d.mts +17 -0
- package/scripts/lib/test-timings-reporter.mjs +99 -0
- package/scripts/plan-integration-shards.mjs +300 -0
- package/scripts/test-timing-report.d.mts +41 -0
- package/scripts/test-timing-report.mjs +361 -0
- package/scripts/two-channel-couplings.json +132 -36
- package/scripts/verify-npm-advisories-4333.mjs +3 -12
- package/typescript/copy-overwrite/.prettierignore +12 -0
- package/typescript/create-only/vitest.config.local.ts +1 -7
- package/typescript/package-lisa/package.lisa.json +4 -4
- package/all/copy-overwrite/scripts/lisa-scratch-run.sh +0 -1078
- package/dist/cli/lisa-test-run-bootstrap.d.ts +0 -3
- package/dist/cli/lisa-test-run-bootstrap.d.ts.map +0 -1
- package/dist/cli/lisa-test-run-bootstrap.js +0 -229
- package/dist/cli/lisa-test-run-bootstrap.js.map +0 -1
- package/dist/cli/lisa-test-run-ipc.d.ts +0 -49
- package/dist/cli/lisa-test-run-ipc.d.ts.map +0 -1
- package/dist/cli/lisa-test-run-ipc.js +0 -226
- package/dist/cli/lisa-test-run-ipc.js.map +0 -1
- package/dist/cli/lisa-test-run-process-group.d.ts +0 -30
- package/dist/cli/lisa-test-run-process-group.d.ts.map +0 -1
- package/dist/cli/lisa-test-run-process-group.js +0 -140
- package/dist/cli/lisa-test-run-process-group.js.map +0 -1
- package/dist/cli/lisa-test-run-reaper.d.ts +0 -3
- package/dist/cli/lisa-test-run-reaper.d.ts.map +0 -1
- package/dist/cli/lisa-test-run-reaper.js +0 -195
- package/dist/cli/lisa-test-run-reaper.js.map +0 -1
- package/dist/cli/lisa-test-run-runtime.d.ts +0 -46
- package/dist/cli/lisa-test-run-runtime.d.ts.map +0 -1
- package/dist/cli/lisa-test-run-runtime.js +0 -123
- package/dist/cli/lisa-test-run-runtime.js.map +0 -1
- package/dist/cli/lisa-test-run-supervisor.d.ts +0 -13
- package/dist/cli/lisa-test-run-supervisor.d.ts.map +0 -1
- package/dist/cli/lisa-test-run-supervisor.js +0 -265
- package/dist/cli/lisa-test-run-supervisor.js.map +0 -1
- package/dist/configs/vitest/fleet-admission-global-setup.d.ts +0 -34
- package/dist/configs/vitest/fleet-admission-global-setup.d.ts.map +0 -1
- package/dist/configs/vitest/fleet-admission-global-setup.js +0 -123
- package/dist/configs/vitest/fleet-admission-global-setup.js.map +0 -1
- package/dist/configs/vitest/fleet-admission.d.ts +0 -129
- package/dist/configs/vitest/fleet-admission.d.ts.map +0 -1
- package/dist/configs/vitest/fleet-admission.js +0 -239
- package/dist/configs/vitest/fleet-admission.js.map +0 -1
- package/dist/configs/vitest/scratch-authority.d.ts +0 -25
- package/dist/configs/vitest/scratch-authority.d.ts.map +0 -1
- package/dist/configs/vitest/scratch-authority.js +0 -107
- package/dist/configs/vitest/scratch-authority.js.map +0 -1
- package/dist/configs/vitest/scratch-bound-cleanup-programs.d.ts +0 -5
- package/dist/configs/vitest/scratch-bound-cleanup-programs.d.ts.map +0 -1
- package/dist/configs/vitest/scratch-bound-cleanup-programs.js +0 -219
- package/dist/configs/vitest/scratch-bound-cleanup-programs.js.map +0 -1
- package/dist/configs/vitest/scratch-bound-cleanup.d.ts +0 -28
- package/dist/configs/vitest/scratch-bound-cleanup.d.ts.map +0 -1
- package/dist/configs/vitest/scratch-bound-cleanup.js +0 -155
- package/dist/configs/vitest/scratch-bound-cleanup.js.map +0 -1
- package/dist/configs/vitest/scratch-bound-root-cleanup.d.ts +0 -17
- package/dist/configs/vitest/scratch-bound-root-cleanup.d.ts.map +0 -1
- package/dist/configs/vitest/scratch-bound-root-cleanup.js +0 -149
- package/dist/configs/vitest/scratch-bound-root-cleanup.js.map +0 -1
- package/dist/configs/vitest/scratch-global-setup.d.ts +0 -258
- package/dist/configs/vitest/scratch-global-setup.d.ts.map +0 -1
- package/dist/configs/vitest/scratch-global-setup.js +0 -505
- package/dist/configs/vitest/scratch-global-setup.js.map +0 -1
- package/dist/configs/vitest/scratch-leak-setup.d.ts +0 -2
- package/dist/configs/vitest/scratch-leak-setup.d.ts.map +0 -1
- package/dist/configs/vitest/scratch-leak-setup.js +0 -108
- package/dist/configs/vitest/scratch-leak-setup.js.map +0 -1
- package/dist/configs/vitest/scratch-namespace-authority.d.ts +0 -80
- package/dist/configs/vitest/scratch-namespace-authority.d.ts.map +0 -1
- package/dist/configs/vitest/scratch-namespace-authority.js +0 -291
- package/dist/configs/vitest/scratch-namespace-authority.js.map +0 -1
- package/dist/configs/vitest/scratch-owner.d.ts +0 -131
- package/dist/configs/vitest/scratch-owner.d.ts.map +0 -1
- package/dist/configs/vitest/scratch-owner.js +0 -297
- package/dist/configs/vitest/scratch-owner.js.map +0 -1
- package/dist/configs/vitest/scratch-route-profile.d.ts +0 -46
- package/dist/configs/vitest/scratch-route-profile.d.ts.map +0 -1
- package/dist/configs/vitest/scratch-route-profile.js +0 -233
- package/dist/configs/vitest/scratch-route-profile.js.map +0 -1
- package/dist/configs/vitest/scratch-run-root-compatibility.d.ts +0 -33
- package/dist/configs/vitest/scratch-run-root-compatibility.d.ts.map +0 -1
- package/dist/configs/vitest/scratch-run-root-compatibility.js +0 -137
- package/dist/configs/vitest/scratch-run-root-compatibility.js.map +0 -1
- package/dist/configs/vitest/scratch-run-root-intent.d.ts +0 -66
- package/dist/configs/vitest/scratch-run-root-intent.d.ts.map +0 -1
- package/dist/configs/vitest/scratch-run-root-intent.js +0 -183
- package/dist/configs/vitest/scratch-run-root-intent.js.map +0 -1
- package/dist/configs/vitest/scratch-setup.d.ts +0 -46
- package/dist/configs/vitest/scratch-setup.d.ts.map +0 -1
- package/dist/configs/vitest/scratch-setup.js +0 -226
- package/dist/configs/vitest/scratch-setup.js.map +0 -1
- package/dist/configs/vitest/scratch-supervision-intent.d.ts +0 -8
- package/dist/configs/vitest/scratch-supervision-intent.d.ts.map +0 -1
- package/dist/configs/vitest/scratch-supervision-intent.js +0 -125
- package/dist/configs/vitest/scratch-supervision-intent.js.map +0 -1
- package/dist/configs/vitest/scratch-supervision-protocol.d.ts +0 -12
- package/dist/configs/vitest/scratch-supervision-protocol.d.ts.map +0 -1
- package/dist/configs/vitest/scratch-supervision-protocol.js +0 -230
- package/dist/configs/vitest/scratch-supervision-protocol.js.map +0 -1
- package/dist/configs/vitest/scratch-supervision.d.ts +0 -69
- package/dist/configs/vitest/scratch-supervision.d.ts.map +0 -1
- package/dist/configs/vitest/scratch-supervision.js +0 -244
- package/dist/configs/vitest/scratch-supervision.js.map +0 -1
- package/dist/configs/vitest/scratch-sweep.d.ts +0 -66
- package/dist/configs/vitest/scratch-sweep.d.ts.map +0 -1
- package/dist/configs/vitest/scratch-sweep.js +0 -82
- package/dist/configs/vitest/scratch-sweep.js.map +0 -1
- package/dist/configs/vitest/scratch-tmpdir-trust.d.ts +0 -48
- package/dist/configs/vitest/scratch-tmpdir-trust.d.ts.map +0 -1
- package/dist/configs/vitest/scratch-tmpdir-trust.js +0 -194
- package/dist/configs/vitest/scratch-tmpdir-trust.js.map +0 -1
- package/dist/configs/vitest/scratch.d.ts +0 -19
- package/dist/configs/vitest/scratch.d.ts.map +0 -1
- package/dist/configs/vitest/scratch.js +0 -34
- package/dist/configs/vitest/scratch.js.map +0 -1
- package/dist/configs/vitest/synthesis-scratch-reclaim.d.ts +0 -86
- package/dist/configs/vitest/synthesis-scratch-reclaim.d.ts.map +0 -1
- package/dist/configs/vitest/synthesis-scratch-reclaim.js +0 -226
- package/dist/configs/vitest/synthesis-scratch-reclaim.js.map +0 -1
|
@@ -57,8 +57,22 @@ import {
|
|
|
57
57
|
recordKillMark,
|
|
58
58
|
} from "./lib/kill-marks.mjs";
|
|
59
59
|
import { boundedSpawnSync, isChildTimeout } from "./lib/bounded-spawn.mjs";
|
|
60
|
+
import { openGatePassCache } from "./lib/gate-pass-cache.mjs";
|
|
61
|
+
import {
|
|
62
|
+
PARTIAL_COVERAGE_SKIP_REASON,
|
|
63
|
+
coverageLeftToCi,
|
|
64
|
+
openSelectionReports,
|
|
65
|
+
} from "./lib/affected-tests.mjs";
|
|
66
|
+
import { BUILD_ONCE_ID, runBuildOnce } from "./lib/build-marker.mjs";
|
|
60
67
|
import { invokedAsScript } from "./lib/invoked-as-script.mjs";
|
|
61
68
|
import { runStartOfRunSweep } from "./lib/lisa-cleanup-sweep.mjs";
|
|
69
|
+
import {
|
|
70
|
+
admissionEnabled,
|
|
71
|
+
PUSH_CONTEXT,
|
|
72
|
+
withAdmission,
|
|
73
|
+
} from "./lib/push-admission.mjs";
|
|
74
|
+
import { withPushGateDefaults } from "./lib/push-gate-defaults.mjs";
|
|
75
|
+
import { hostReading, recordPushTiming } from "./lib/push-timing.mjs";
|
|
62
76
|
import { worktreeDependencyProblem } from "./lib/worktree-dependencies.mjs";
|
|
63
77
|
import {
|
|
64
78
|
interruptionReason,
|
|
@@ -219,6 +233,12 @@ export const CONDITIONAL_FLOOR = Object.freeze({
|
|
|
219
233
|
* `ATTRIBUTION`; absent unless a diagnosis attributed it.
|
|
220
234
|
* @property {string|null} provedBy The gate whose run proved this one, when
|
|
221
235
|
* they share a command. Always set: `runMoment` stamps it on every outcome.
|
|
236
|
+
* @property {string|null} [startedAt] When this gate's verdict began,
|
|
237
|
+
* ISO-8601; null when the run never reached it (#4591).
|
|
238
|
+
* @property {number} [durationMs] Time spent on this gate; 0 when a sibling's
|
|
239
|
+
* run proved it or it was never reached (#4591).
|
|
240
|
+
* @property {boolean} [cached] True when the verdict is a remembered pass for
|
|
241
|
+
* this exact content and the gate did not run (CodySwannGT/lisa#4594).
|
|
222
242
|
*/
|
|
223
243
|
|
|
224
244
|
/**
|
|
@@ -729,10 +749,33 @@ function summarise(result, priorKills = []) {
|
|
|
729
749
|
* @param {{proved: Map<string, object>, blockedBy: string|null, exec: Function}} ctx Run state.
|
|
730
750
|
* @returns {{outcome: object, shared: object|undefined, ran: boolean}} The verdict.
|
|
731
751
|
*/
|
|
732
|
-
function verdictFor(
|
|
752
|
+
function verdictFor(
|
|
753
|
+
gate,
|
|
754
|
+
{ proved, blockedBy, exec, siblings, declarations, cache }
|
|
755
|
+
) {
|
|
733
756
|
const own = classifyStatic(gate);
|
|
734
757
|
if (own) return { outcome: own, shared: undefined, ran: false };
|
|
735
758
|
|
|
759
|
+
// A remembered pass for this exact content (CodySwannGT/lisa#4594). It is a
|
|
760
|
+
// known verdict, so it is honoured even once the run is blocked, exactly as
|
|
761
|
+
// a shared result is. It is never shared onward: a sibling computes its own
|
|
762
|
+
// key, and a sibling marked `"cache": false` must run the command itself.
|
|
763
|
+
const hit = cache?.lookup(gate) ?? null;
|
|
764
|
+
if (hit) {
|
|
765
|
+
return {
|
|
766
|
+
outcome: {
|
|
767
|
+
state: STATE.PASSED,
|
|
768
|
+
detail: `CACHED PASS (${hit.key.slice(0, 12)}) ${gate.command}`,
|
|
769
|
+
code: 0,
|
|
770
|
+
diagnosis: null,
|
|
771
|
+
evidence: [],
|
|
772
|
+
cached: true,
|
|
773
|
+
},
|
|
774
|
+
shared: undefined,
|
|
775
|
+
ran: false,
|
|
776
|
+
};
|
|
777
|
+
}
|
|
778
|
+
|
|
736
779
|
const shared = gate.command ? proved.get(gate.command) : undefined;
|
|
737
780
|
if (shared) {
|
|
738
781
|
// The RAW outcome is what is shared, and each gate reads it for itself.
|
|
@@ -818,6 +861,18 @@ function verdictFor(gate, { proved, blockedBy, exec, siblings, declarations }) {
|
|
|
818
861
|
* whether the run this chain serves is still there. Injectable for the same
|
|
819
862
|
* reason `exec` is: a test states that the caller went away instead of having
|
|
820
863
|
* to kill a real hook mid-chain.
|
|
864
|
+
* @param {() => number} [options.clock] Epoch-ms clock used to time each gate
|
|
865
|
+
* for the push timing report (CodySwannGT/lisa#4591). Injectable so a test
|
|
866
|
+
* states durations instead of racing a real clock.
|
|
867
|
+
* @param {{lookup: (gate: GateOutcome) => ({key: string}|null), remember: (gate: GateOutcome, durationMs: number|null) => void, commit: () => void}|null} [options.cache]
|
|
868
|
+
* The push-gate pass cache from `openGatePassCache`, or null for none. A
|
|
869
|
+
* lookup hit reports `CACHED PASS` without running; only full passes are
|
|
870
|
+
* handed to `remember`, and `commit` writes them once the run is over.
|
|
871
|
+
* @param {{read: (command: string) => ({selection?: string, coverage?: string}|null)}|null} [options.selection]
|
|
872
|
+
* What each command reported about the tests it selected, from
|
|
873
|
+
* `openSelectionReports` (CodySwannGT/lisa#4600), or null for none. A
|
|
874
|
+
* partial selection is never remembered by the cache, and one run with
|
|
875
|
+
* coverage off reports coverage-adequacy SKIPPED.
|
|
821
876
|
* @returns {GateRun} What every declared gate at this moment produced.
|
|
822
877
|
*/
|
|
823
878
|
export function runGates({
|
|
@@ -830,6 +885,9 @@ export function runGates({
|
|
|
830
885
|
priorKills = recentKillMarks(),
|
|
831
886
|
recordKill = recordKillMark,
|
|
832
887
|
interrupted = runInterruption,
|
|
888
|
+
clock = Date.now,
|
|
889
|
+
cache = null,
|
|
890
|
+
selection = null,
|
|
833
891
|
}) {
|
|
834
892
|
const resolved = resolveMoment({ gates, moment, runner, scripts });
|
|
835
893
|
const results = [];
|
|
@@ -901,17 +959,42 @@ export function runGates({
|
|
|
901
959
|
diagnosis: null,
|
|
902
960
|
evidence: [],
|
|
903
961
|
provedBy: null,
|
|
962
|
+
startedAt: null,
|
|
963
|
+
durationMs: 0,
|
|
904
964
|
});
|
|
905
965
|
out(formatLine(STATE.NOT_RUN, gate, detail));
|
|
906
966
|
continue;
|
|
907
967
|
}
|
|
908
|
-
const
|
|
968
|
+
const began = clock();
|
|
969
|
+
const verdict = verdictFor(gate, {
|
|
909
970
|
proved,
|
|
910
971
|
blockedBy,
|
|
911
972
|
exec,
|
|
912
973
|
siblings: sharers.get(gate.command) ?? new Set(),
|
|
913
974
|
declarations: declaredShapes.get(gate.command) ?? [],
|
|
975
|
+
cache,
|
|
914
976
|
});
|
|
977
|
+
const { shared, ran, raw } = verdict;
|
|
978
|
+
// What the command said it selected (CodySwannGT/lisa#4600). A partial
|
|
979
|
+
// selection is never remembered as a pass, and with coverage switched off
|
|
980
|
+
// coverage-adequacy reports SKIPPED: its property was not measured here,
|
|
981
|
+
// and CI's full run enforces it before merge.
|
|
982
|
+
const report =
|
|
983
|
+
gate.command && !verdict.outcome.cached
|
|
984
|
+
? (selection?.read(gate.command) ?? null)
|
|
985
|
+
: null;
|
|
986
|
+
const outcome = coverageLeftToCi(gate, report)
|
|
987
|
+
? {
|
|
988
|
+
state: STATE.SKIPPED,
|
|
989
|
+
detail: `${PARTIAL_COVERAGE_SKIP_REASON} (${gate.command})`,
|
|
990
|
+
code: null,
|
|
991
|
+
diagnosis: null,
|
|
992
|
+
evidence: [],
|
|
993
|
+
}
|
|
994
|
+
: verdict.outcome;
|
|
995
|
+
// One end reading per gate: the timing report and the pass cache share it.
|
|
996
|
+
const elapsedMs = Math.max(0, clock() - began);
|
|
997
|
+
const durationMs = ran ? elapsedMs : shared?.durationMs;
|
|
915
998
|
|
|
916
999
|
// Only what this iteration actually executed is shareable, and `ran` says
|
|
917
1000
|
// so explicitly rather than being inferred from the exit code. `execute`
|
|
@@ -920,10 +1003,34 @@ export function runGates({
|
|
|
920
1003
|
// next gate to run it again — re-running a whole suite an operator has
|
|
921
1004
|
// just interrupted.
|
|
922
1005
|
if (ran && gate.command) {
|
|
923
|
-
proved.set(gate.command, {
|
|
1006
|
+
proved.set(gate.command, {
|
|
1007
|
+
id: gate.id,
|
|
1008
|
+
outcome: raw ?? outcome,
|
|
1009
|
+
durationMs,
|
|
1010
|
+
});
|
|
1011
|
+
}
|
|
1012
|
+
// Only a FULL pass is remembered: this gate's own verdict passed, and so
|
|
1013
|
+
// did the run that produced it — never a pass read off a shared prover
|
|
1014
|
+
// whose own outcome was anything else. Written after the run, by `commit`.
|
|
1015
|
+
const source = ran ? raw : shared?.outcome;
|
|
1016
|
+
if (
|
|
1017
|
+
cache &&
|
|
1018
|
+
report?.selection !== "partial" &&
|
|
1019
|
+
outcome.state === STATE.PASSED &&
|
|
1020
|
+
!outcome.cached &&
|
|
1021
|
+
source?.state === STATE.PASSED
|
|
1022
|
+
) {
|
|
1023
|
+
cache.remember(gate, durationMs ?? null);
|
|
924
1024
|
}
|
|
925
1025
|
|
|
926
|
-
|
|
1026
|
+
// A gate proved by a sibling's run takes no time of its own.
|
|
1027
|
+
results.push({
|
|
1028
|
+
...gate,
|
|
1029
|
+
...outcome,
|
|
1030
|
+
provedBy: shared?.id ?? null,
|
|
1031
|
+
startedAt: new Date(began).toISOString(),
|
|
1032
|
+
durationMs: shared ? 0 : elapsedMs,
|
|
1033
|
+
});
|
|
927
1034
|
out(formatLine(outcome.state, gate, outcome.detail));
|
|
928
1035
|
for (const line of outcome.evidence ?? []) out(`${" ".repeat(6)}↳ ${line}`);
|
|
929
1036
|
const unproved =
|
|
@@ -942,6 +1049,7 @@ export function runGates({
|
|
|
942
1049
|
// next iteration to observe it, and an optional gate cannot block on its own.
|
|
943
1050
|
// Record the interruption before this result can claim completion.
|
|
944
1051
|
interruption ??= interrupted();
|
|
1052
|
+
cache?.commit();
|
|
945
1053
|
|
|
946
1054
|
const bucket = state => results.filter(entry => entry.state === state);
|
|
947
1055
|
const result = {
|
|
@@ -975,6 +1083,12 @@ export function runGates({
|
|
|
975
1083
|
recordKill({ kind: STATE.KILLED, gateId: entry.id });
|
|
976
1084
|
}
|
|
977
1085
|
for (const line of summarise(result, priorKills)) out(line);
|
|
1086
|
+
const cached = result.passed.filter(entry => entry.cached).length;
|
|
1087
|
+
if (cached) {
|
|
1088
|
+
out(
|
|
1089
|
+
` ${cached} of those proved by a remembered pass for this exact tree.`
|
|
1090
|
+
);
|
|
1091
|
+
}
|
|
978
1092
|
return result;
|
|
979
1093
|
}
|
|
980
1094
|
|
|
@@ -1585,7 +1699,10 @@ export function main(argv = process.argv.slice(2)) {
|
|
|
1585
1699
|
// Taken before anything runs. See `evidenceDocument`: a start stamp makes a
|
|
1586
1700
|
// freshness bound err toward `unknown` rather than toward crediting a stale
|
|
1587
1701
|
// observation, which is the only direction a gate may err in.
|
|
1588
|
-
const
|
|
1702
|
+
const startedAtMs = Date.now();
|
|
1703
|
+
const observedAt = new Date(startedAtMs).toISOString();
|
|
1704
|
+
// Host load at the START of the run, for the push timing report (#4591).
|
|
1705
|
+
const startReading = hostReading();
|
|
1589
1706
|
if (!moment) {
|
|
1590
1707
|
console.error(
|
|
1591
1708
|
"usage: lisa-run-gates.mjs --moment=<moment> [--coverage=<file>] " +
|
|
@@ -1716,12 +1833,28 @@ export function main(argv = process.argv.slice(2)) {
|
|
|
1716
1833
|
);
|
|
1717
1834
|
}
|
|
1718
1835
|
|
|
1836
|
+
// The stack's push-gate defaults (CodySwannGT/lisa#4611): a TypeScript host
|
|
1837
|
+
// gets the pass cache, admission and affected tests without declaring them,
|
|
1838
|
+
// and anything it does declare, `false` included, wins.
|
|
1839
|
+
const pushConfig = withPushGateDefaults(config.config, process.cwd());
|
|
1840
|
+
|
|
1719
1841
|
const wired = wiredConditionalFloor({ moment });
|
|
1720
1842
|
const missing = undeclaredFloor({ gates: config.gates, moment, wired });
|
|
1721
1843
|
|
|
1722
1844
|
// One cleanup sweep per push (CodySwannGT/lisa#4597), before the first gate
|
|
1723
1845
|
// and before the built-in fallback below, which runs tests too. It never
|
|
1724
1846
|
// fails the run: whatever goes wrong is printed and the gates run.
|
|
1847
|
+
// Opened before the sweep, and only at push. Off unless the project set
|
|
1848
|
+
// `pushGate.cache: true`, and then silent and inert (CodySwannGT/lisa#4594).
|
|
1849
|
+
const cache =
|
|
1850
|
+
moment === "push"
|
|
1851
|
+
? openGatePassCache({
|
|
1852
|
+
config: pushConfig,
|
|
1853
|
+
gates: config.gates,
|
|
1854
|
+
moment,
|
|
1855
|
+
out: line => console.log(line),
|
|
1856
|
+
})
|
|
1857
|
+
: null;
|
|
1725
1858
|
if (moment === "push") {
|
|
1726
1859
|
try {
|
|
1727
1860
|
runStartOfRunSweep();
|
|
@@ -1766,12 +1899,92 @@ export function main(argv = process.argv.slice(2)) {
|
|
|
1766
1899
|
});
|
|
1767
1900
|
}
|
|
1768
1901
|
|
|
1902
|
+
// Heavy push steps go through headroom admission when the project opted in
|
|
1903
|
+
// with `pushGate.admission` (CodySwannGT/lisa#4596). Off, `exec` is
|
|
1904
|
+
// `spawnExec` itself and every step starts immediately as before.
|
|
1905
|
+
let exec = spawnExec;
|
|
1906
|
+
if (moment === "push") {
|
|
1907
|
+
// Inherited by every gate, so `lisa admit` and `lisa-test-run` apply the
|
|
1908
|
+
// short in-push wait bound rather than the standalone one.
|
|
1909
|
+
process.env.LISA_ADMISSION_CONTEXT = PUSH_CONTEXT;
|
|
1910
|
+
try {
|
|
1911
|
+
exec = withAdmission(spawnExec, {
|
|
1912
|
+
enabled: admissionEnabled(pushConfig),
|
|
1913
|
+
});
|
|
1914
|
+
} catch (err) {
|
|
1915
|
+
console.error(`🚫 Nothing ran at "push": ${err.message}`);
|
|
1916
|
+
console.error(
|
|
1917
|
+
" Fix pushGate in .lisa.config.json. This is NOT a pass."
|
|
1918
|
+
);
|
|
1919
|
+
return settle(EXIT.BLOCKED, EVIDENCE_VERDICT.REFUSED, {
|
|
1920
|
+
gates: config.gates,
|
|
1921
|
+
runner: config.runner,
|
|
1922
|
+
scripts,
|
|
1923
|
+
});
|
|
1924
|
+
}
|
|
1925
|
+
}
|
|
1926
|
+
|
|
1927
|
+
// Build once, before the first push gate, when the project opted in with
|
|
1928
|
+
// `pushGate.buildOnce` (CodySwannGT/lisa#4595). `buildOnceStep` is the entry
|
|
1929
|
+
// for the push timing report; null means the push builds exactly as before.
|
|
1930
|
+
let buildOnceStep = null;
|
|
1931
|
+
if (moment === "push") {
|
|
1932
|
+
try {
|
|
1933
|
+
buildOnceStep = runBuildOnce({
|
|
1934
|
+
config: pushConfig,
|
|
1935
|
+
runner: config.runner,
|
|
1936
|
+
scripts,
|
|
1937
|
+
exec: command => exec(command, { id: BUILD_ONCE_ID }),
|
|
1938
|
+
});
|
|
1939
|
+
} catch (err) {
|
|
1940
|
+
console.error(`🚫 Nothing ran at "push": ${err.message}`);
|
|
1941
|
+
console.error(
|
|
1942
|
+
" Fix pushGate in .lisa.config.json. This is NOT a pass."
|
|
1943
|
+
);
|
|
1944
|
+
return settle(EXIT.BLOCKED, EVIDENCE_VERDICT.REFUSED, {
|
|
1945
|
+
gates: config.gates,
|
|
1946
|
+
runner: config.runner,
|
|
1947
|
+
scripts,
|
|
1948
|
+
});
|
|
1949
|
+
}
|
|
1950
|
+
if (buildOnceStep) {
|
|
1951
|
+
const seconds = (buildOnceStep.durationMs / 1000).toFixed(1);
|
|
1952
|
+
if (buildOnceStep.state !== STATE.PASSED) {
|
|
1953
|
+
console.error(
|
|
1954
|
+
`❌ build-once: \`${buildOnceStep.command}\` failed (exit ` +
|
|
1955
|
+
`${buildOnceStep.code}) after ${seconds}s; no push gate ran.`
|
|
1956
|
+
);
|
|
1957
|
+
return settle(EXIT.BLOCKED, EVIDENCE_VERDICT.BLOCKED, {
|
|
1958
|
+
gates: config.gates,
|
|
1959
|
+
runner: config.runner,
|
|
1960
|
+
scripts,
|
|
1961
|
+
});
|
|
1962
|
+
}
|
|
1963
|
+
console.log(
|
|
1964
|
+
`🔨 build-once: \`${buildOnceStep.command}\` built in ${seconds}s; ` +
|
|
1965
|
+
`later steps skip their build while the tree matches.`
|
|
1966
|
+
);
|
|
1967
|
+
}
|
|
1968
|
+
}
|
|
1969
|
+
|
|
1769
1970
|
console.log(`🚦 Gates at ${moment}:`);
|
|
1971
|
+
// At push a test command may narrow itself to the affected tests
|
|
1972
|
+
// (CodySwannGT/lisa#4600) and says so through this channel.
|
|
1973
|
+
const selection = moment === "push" ? openSelectionReports() : null;
|
|
1770
1974
|
const result = runGates({
|
|
1771
1975
|
gates: config.gates,
|
|
1772
1976
|
moment,
|
|
1773
1977
|
runner: config.runner,
|
|
1774
|
-
exec
|
|
1978
|
+
// Selection reporting wraps the admission-aware `exec`, so a narrowed
|
|
1979
|
+
// test command is still admitted like any other heavy step.
|
|
1980
|
+
exec: selection
|
|
1981
|
+
? (command, gate) => {
|
|
1982
|
+
selection.before(command);
|
|
1983
|
+
return exec(command, gate);
|
|
1984
|
+
}
|
|
1985
|
+
: exec,
|
|
1986
|
+
cache,
|
|
1987
|
+
selection,
|
|
1775
1988
|
// The manifest is read HERE and handed down, rather than read inside the
|
|
1776
1989
|
// resolver, so that `runGates` stays a pure function of its inputs and
|
|
1777
1990
|
// every test above can state what this project ships instead of writing a
|
|
@@ -1779,12 +1992,24 @@ export function main(argv = process.argv.slice(2)) {
|
|
|
1779
1992
|
// check and the run cannot disagree about what this project ships.
|
|
1780
1993
|
scripts,
|
|
1781
1994
|
});
|
|
1995
|
+
selection?.close();
|
|
1782
1996
|
// A gates block that declares nothing at this moment is a deliberate
|
|
1783
1997
|
// statement, not an unmigrated project: the registry governs the moment and
|
|
1784
1998
|
// says there is nothing to prove. Say so rather than silently passing.
|
|
1785
1999
|
if (result.total === 0) {
|
|
1786
2000
|
console.log(` (the gates block declares nothing at ${moment})`);
|
|
1787
2001
|
}
|
|
2002
|
+
// Per-gate push timing report (CodySwannGT/lisa#4591). A measurement only:
|
|
2003
|
+
// it never throws and never changes the exit code below.
|
|
2004
|
+
if (moment === "push" && result.total > 0) {
|
|
2005
|
+
recordPushTiming({
|
|
2006
|
+
moment,
|
|
2007
|
+
startedAtMs,
|
|
2008
|
+
start: startReading,
|
|
2009
|
+
result,
|
|
2010
|
+
preGates: buildOnceStep ? [buildOnceStep] : [],
|
|
2011
|
+
});
|
|
2012
|
+
}
|
|
1788
2013
|
|
|
1789
2014
|
// WRITTEN AFTER THE RUN, because it reports the run. Written before it, the
|
|
1790
2015
|
// file said what the project DECLARED, and the hook that reads it stands its
|
|
@@ -32,8 +32,19 @@
|
|
|
32
32
|
"dynamicImports": [],
|
|
33
33
|
"children": []
|
|
34
34
|
},
|
|
35
|
+
"lib/affected-tests.mjs": {
|
|
36
|
+
"sha256": "ba3a7aab7c6a6a309b90d0bb4f3cef1816dc0819f9105a542ebfb5245e2075f7",
|
|
37
|
+
"staticImports": [
|
|
38
|
+
"node:crypto",
|
|
39
|
+
"node:fs",
|
|
40
|
+
"node:os",
|
|
41
|
+
"node:path"
|
|
42
|
+
],
|
|
43
|
+
"dynamicImports": [],
|
|
44
|
+
"children": []
|
|
45
|
+
},
|
|
35
46
|
"lib/automation-provenance-contract.mjs": {
|
|
36
|
-
"sha256": "
|
|
47
|
+
"sha256": "1ba7cda7b7de2199398571d4da0dfb183d1902857a6eb7f982f9ef0fda010269",
|
|
37
48
|
"staticImports": [
|
|
38
49
|
"lib/github-attestation-verifier.mjs",
|
|
39
50
|
"node:path"
|
|
@@ -51,7 +62,7 @@
|
|
|
51
62
|
"children": []
|
|
52
63
|
},
|
|
53
64
|
"lib/automation-provenance-local.mjs": {
|
|
54
|
-
"sha256": "
|
|
65
|
+
"sha256": "b60caff3a40812cefdce3c63e3c1956004dc98574055030c4338fa5ab4a62c15",
|
|
55
66
|
"staticImports": [
|
|
56
67
|
"lib/automation-provenance-contract.mjs",
|
|
57
68
|
"lib/automation-provenance-files.mjs",
|
|
@@ -74,6 +85,18 @@
|
|
|
74
85
|
"dynamicImports": [],
|
|
75
86
|
"children": []
|
|
76
87
|
},
|
|
88
|
+
"lib/build-marker.mjs": {
|
|
89
|
+
"sha256": "505519d9632ab86572cfdeca917d93599256cf8e798987ad593a82296a7d8175",
|
|
90
|
+
"staticImports": [
|
|
91
|
+
"node:child_process",
|
|
92
|
+
"node:crypto",
|
|
93
|
+
"node:fs",
|
|
94
|
+
"node:os",
|
|
95
|
+
"node:path"
|
|
96
|
+
],
|
|
97
|
+
"dynamicImports": [],
|
|
98
|
+
"children": []
|
|
99
|
+
},
|
|
77
100
|
"lib/completion-authorization.mjs": {
|
|
78
101
|
"sha256": "7b5f81ae58eae89367ebda480a508c3c37a6924b4bd6a8b1dd64fff24c465e1e",
|
|
79
102
|
"staticImports": [
|
|
@@ -215,6 +238,18 @@
|
|
|
215
238
|
"dynamicImports": [],
|
|
216
239
|
"children": []
|
|
217
240
|
},
|
|
241
|
+
"lib/gate-pass-cache.mjs": {
|
|
242
|
+
"sha256": "db7d75cfd8cb62fb24a2643aa015aa0fdb33a6de110c56b638b27a2b869ddcb8",
|
|
243
|
+
"staticImports": [
|
|
244
|
+
"node:child_process",
|
|
245
|
+
"node:crypto",
|
|
246
|
+
"node:fs",
|
|
247
|
+
"node:os",
|
|
248
|
+
"node:path"
|
|
249
|
+
],
|
|
250
|
+
"dynamicImports": [],
|
|
251
|
+
"children": []
|
|
252
|
+
},
|
|
218
253
|
"lib/github-attestation-provider.mjs": {
|
|
219
254
|
"sha256": "fcd56c2fd10b15a7558fc407a9594ecbdc4d5e6ceae50c8405523c6c5a86ce98",
|
|
220
255
|
"staticImports": [
|
|
@@ -310,7 +345,7 @@
|
|
|
310
345
|
"children": []
|
|
311
346
|
},
|
|
312
347
|
"lib/kill-marks.mjs": {
|
|
313
|
-
"sha256": "
|
|
348
|
+
"sha256": "abbfda1fafce96930e9e8b2e61d9ce0196692c1a71c83fe6340c9dfa97b3583a",
|
|
314
349
|
"staticImports": [
|
|
315
350
|
"node:crypto",
|
|
316
351
|
"node:fs",
|
|
@@ -321,7 +356,7 @@
|
|
|
321
356
|
"children": []
|
|
322
357
|
},
|
|
323
358
|
"lib/lisa-cleanup-sweep-processes.mjs": {
|
|
324
|
-
"sha256": "
|
|
359
|
+
"sha256": "026d79cf54594e41cecd24d1f5df72dd2338b786dce485e69eeaa6b61dce1059",
|
|
325
360
|
"staticImports": [
|
|
326
361
|
"lib/bounded-spawn.mjs",
|
|
327
362
|
"node:fs",
|
|
@@ -394,7 +429,7 @@
|
|
|
394
429
|
"children": []
|
|
395
430
|
},
|
|
396
431
|
"lib/npm-update-bun.mjs": {
|
|
397
|
-
"sha256": "
|
|
432
|
+
"sha256": "5f570618702708473c4bb7c79475b6eef6e43adce613dbc0a3ae109d67608a3d",
|
|
398
433
|
"staticImports": [
|
|
399
434
|
"lib/automation-provenance-contract.mjs",
|
|
400
435
|
"lib/github-attestation-verifier.mjs",
|
|
@@ -504,7 +539,7 @@
|
|
|
504
539
|
"children": []
|
|
505
540
|
},
|
|
506
541
|
"lib/npm-update-controller-broker.mjs": {
|
|
507
|
-
"sha256": "
|
|
542
|
+
"sha256": "9f8378842e413c10f4f3464f486aeff4d4e059e969a263af1cf55232c65811ca",
|
|
508
543
|
"staticImports": [
|
|
509
544
|
"lib/npm-update-contract.mjs",
|
|
510
545
|
"lib/npm-update-controller-recipe.mjs",
|
|
@@ -573,7 +608,7 @@
|
|
|
573
608
|
]
|
|
574
609
|
},
|
|
575
610
|
"lib/npm-update-gate-hooks.mjs": {
|
|
576
|
-
"sha256": "
|
|
611
|
+
"sha256": "d73aa1ce691fbd487d43dd34594ca4e52cf42105ac914852c2d7247f847d38a1",
|
|
577
612
|
"staticImports": [
|
|
578
613
|
"lib/automation-provenance-contract.mjs",
|
|
579
614
|
"lib/github-attestation-verifier.mjs",
|
|
@@ -687,7 +722,7 @@
|
|
|
687
722
|
"children": []
|
|
688
723
|
},
|
|
689
724
|
"lib/npm-update-helper-inventory.mjs": {
|
|
690
|
-
"sha256": "
|
|
725
|
+
"sha256": "2d23eb459ce5eaa458e9acd02be9d14ddda0a434ebc0a4e5784c8ee718dcd904",
|
|
691
726
|
"staticImports": [],
|
|
692
727
|
"dynamicImports": [],
|
|
693
728
|
"children": []
|
|
@@ -766,7 +801,7 @@
|
|
|
766
801
|
"children": []
|
|
767
802
|
},
|
|
768
803
|
"lib/npm-update-hosted-gate.mjs": {
|
|
769
|
-
"sha256": "
|
|
804
|
+
"sha256": "c907ba00805405d6b88463f671d9b11f4e8ce135a08e1ba51163f7433eaa1161",
|
|
770
805
|
"staticImports": [
|
|
771
806
|
"lib/automation-provenance-contract.mjs",
|
|
772
807
|
"lib/npm-update-bun.mjs",
|
|
@@ -787,7 +822,7 @@
|
|
|
787
822
|
"children": []
|
|
788
823
|
},
|
|
789
824
|
"lib/npm-update-hosted-hook.mjs": {
|
|
790
|
-
"sha256": "
|
|
825
|
+
"sha256": "90f929e20affdb334c2945b0eacc64e572e0d9b82ac69db17ac817517359d2e3",
|
|
791
826
|
"staticImports": [
|
|
792
827
|
"lib/npm-update-contract.mjs",
|
|
793
828
|
"lib/npm-update-invariants.mjs",
|
|
@@ -1199,7 +1234,7 @@
|
|
|
1199
1234
|
"children": []
|
|
1200
1235
|
},
|
|
1201
1236
|
"lib/npm-update-tool-launcher.mjs": {
|
|
1202
|
-
"sha256": "
|
|
1237
|
+
"sha256": "c14c992035afd5e107fdf3b5159699a1e49b398f66d971078f13dce28b51eec8",
|
|
1203
1238
|
"staticImports": [
|
|
1204
1239
|
"lib/invoked-as-script.mjs",
|
|
1205
1240
|
"lib/npm-update-contract.mjs",
|
|
@@ -1317,6 +1352,44 @@
|
|
|
1317
1352
|
"dynamicImports": [],
|
|
1318
1353
|
"children": []
|
|
1319
1354
|
},
|
|
1355
|
+
"lib/push-admission.mjs": {
|
|
1356
|
+
"sha256": "b748b7a65518ba71e5579a363716cdd1afea51be1b3e0ab72b4d82c679adfd4d",
|
|
1357
|
+
"staticImports": [
|
|
1358
|
+
"node:fs",
|
|
1359
|
+
"node:path"
|
|
1360
|
+
],
|
|
1361
|
+
"dynamicImports": [],
|
|
1362
|
+
"children": []
|
|
1363
|
+
},
|
|
1364
|
+
"lib/push-gate-defaults.mjs": {
|
|
1365
|
+
"sha256": "3d6c68c6a9840007f9996dd3c018a8f6d41e663b2fdbc9efa599ea55c03eef1d",
|
|
1366
|
+
"staticImports": [
|
|
1367
|
+
"node:fs",
|
|
1368
|
+
"node:path"
|
|
1369
|
+
],
|
|
1370
|
+
"dynamicImports": [],
|
|
1371
|
+
"children": []
|
|
1372
|
+
},
|
|
1373
|
+
"lib/push-timing.mjs": {
|
|
1374
|
+
"sha256": "31de9d9357839e7e63292a4c18ede6c7b66e2cc2d562ede80036cc90f24d0d9f",
|
|
1375
|
+
"staticImports": [
|
|
1376
|
+
"lib/bounded-spawn.mjs",
|
|
1377
|
+
"node:fs",
|
|
1378
|
+
"node:os",
|
|
1379
|
+
"node:path"
|
|
1380
|
+
],
|
|
1381
|
+
"dynamicImports": [],
|
|
1382
|
+
"children": []
|
|
1383
|
+
},
|
|
1384
|
+
"lib/rspec-selection.mjs": {
|
|
1385
|
+
"sha256": "20304b4b4c8798005908f23df627103721f929c9995db1afb59f9ed00a1a8c36",
|
|
1386
|
+
"staticImports": [
|
|
1387
|
+
"lib/affected-tests.mjs",
|
|
1388
|
+
"lib/push-gate-defaults.mjs"
|
|
1389
|
+
],
|
|
1390
|
+
"dynamicImports": [],
|
|
1391
|
+
"children": []
|
|
1392
|
+
},
|
|
1320
1393
|
"lib/usage-artifact-ref.mjs": {
|
|
1321
1394
|
"sha256": "1f71d1e885b929ab8c6e80ec4ce8a3648b6debd0d1b6ff51679655a5e117d413",
|
|
1322
1395
|
"staticImports": [],
|
|
@@ -1413,8 +1486,9 @@
|
|
|
1413
1486
|
"children": []
|
|
1414
1487
|
},
|
|
1415
1488
|
"lisa-gates.mjs": {
|
|
1416
|
-
"sha256": "
|
|
1489
|
+
"sha256": "ffb2e8d96c4a30bcf0312ca6ca89bd4b04962e33b85faa7e48bb08520851a7c4",
|
|
1417
1490
|
"staticImports": [
|
|
1491
|
+
"lib/gate-pass-cache.mjs",
|
|
1418
1492
|
"lib/invoked-as-script.mjs",
|
|
1419
1493
|
"node:crypto",
|
|
1420
1494
|
"node:fs",
|
|
@@ -1438,7 +1512,7 @@
|
|
|
1438
1512
|
"children": []
|
|
1439
1513
|
},
|
|
1440
1514
|
"lisa-mutation.sh": {
|
|
1441
|
-
"sha256": "
|
|
1515
|
+
"sha256": "dd62950d6f13b9eae7e879b9de24ec1d19dc985634a2d921e003ede5a6f56a81",
|
|
1442
1516
|
"staticImports": [],
|
|
1443
1517
|
"dynamicImports": [],
|
|
1444
1518
|
"children": []
|
|
@@ -1482,15 +1556,35 @@
|
|
|
1482
1556
|
"lisa-work-item.mjs"
|
|
1483
1557
|
]
|
|
1484
1558
|
},
|
|
1559
|
+
"lisa-rspec-select.mjs": {
|
|
1560
|
+
"sha256": "2e0752d211e6d03db6a150d060bc078ec6fe03a5dd76f39e9434c42d316861e7",
|
|
1561
|
+
"staticImports": [
|
|
1562
|
+
"lib/affected-tests.mjs",
|
|
1563
|
+
"lib/invoked-as-script.mjs",
|
|
1564
|
+
"lib/rspec-selection.mjs",
|
|
1565
|
+
"node:child_process",
|
|
1566
|
+
"node:fs",
|
|
1567
|
+
"node:os",
|
|
1568
|
+
"node:path"
|
|
1569
|
+
],
|
|
1570
|
+
"dynamicImports": [],
|
|
1571
|
+
"children": []
|
|
1572
|
+
},
|
|
1485
1573
|
"lisa-run-gates.mjs": {
|
|
1486
|
-
"sha256": "
|
|
1574
|
+
"sha256": "fa78b5b7756ff5407931e066b7fc12076551a5af272d91fe6ff2610b7117d283",
|
|
1487
1575
|
"staticImports": [
|
|
1576
|
+
"lib/affected-tests.mjs",
|
|
1488
1577
|
"lib/bounded-spawn.mjs",
|
|
1578
|
+
"lib/build-marker.mjs",
|
|
1489
1579
|
"lib/gate-failure-diagnosis.mjs",
|
|
1580
|
+
"lib/gate-pass-cache.mjs",
|
|
1490
1581
|
"lib/invoked-as-script.mjs",
|
|
1491
1582
|
"lib/kill-marks.mjs",
|
|
1492
1583
|
"lib/lisa-cleanup-sweep.mjs",
|
|
1493
1584
|
"lib/process-tree-runner.mjs",
|
|
1585
|
+
"lib/push-admission.mjs",
|
|
1586
|
+
"lib/push-gate-defaults.mjs",
|
|
1587
|
+
"lib/push-timing.mjs",
|
|
1494
1588
|
"lib/worktree-dependencies.mjs",
|
|
1495
1589
|
"lisa-gates.mjs",
|
|
1496
1590
|
"node:fs",
|
|
@@ -1503,12 +1597,6 @@
|
|
|
1503
1597
|
"lisa-gates.mjs"
|
|
1504
1598
|
]
|
|
1505
1599
|
},
|
|
1506
|
-
"lisa-scratch-run.sh": {
|
|
1507
|
-
"sha256": "76ccf8ca6f98b214361f02ebf6ad58041129b76ed29128455e810095db6c292f",
|
|
1508
|
-
"staticImports": [],
|
|
1509
|
-
"dynamicImports": [],
|
|
1510
|
-
"children": []
|
|
1511
|
-
},
|
|
1512
1600
|
"lisa-test-node.mjs": {
|
|
1513
1601
|
"sha256": "cd436584d756442fc393557a3244bbdacdf915bd0fb1a472ebe7afa8103d3475",
|
|
1514
1602
|
"staticImports": [
|
package/all/deletions.json
CHANGED
|
@@ -139,7 +139,8 @@
|
|
|
139
139
|
".github/workflows/lisa-update.yml",
|
|
140
140
|
"scripts/lisa-self-update.mjs",
|
|
141
141
|
"scripts/lisa-hooks/parity-safety-net.sh",
|
|
142
|
-
".opencode/plugin/lisa-parity-safety-net.ts"
|
|
142
|
+
".opencode/plugin/lisa-parity-safety-net.ts",
|
|
143
|
+
"scripts/lisa-scratch-run.sh"
|
|
143
144
|
],
|
|
144
145
|
"keep": [
|
|
145
146
|
"scripts/setup-deploy-key.sh",
|
|
@@ -283,7 +284,8 @@
|
|
|
283
284
|
".github/workflows/lisa-update.yml": "legacy: the scheduled Lisa Update workflow (4.67.0-4.68.x) opened update pull requests as a bot and so needed a PAT secret in every repository; replaced by the local session-start auto-update (CodySwannGT/lisa#4337), which needs no token",
|
|
284
285
|
"scripts/lisa-self-update.mjs": "legacy: the self-update script (4.67.0-4.68.x) only ever ran from the scheduled Lisa Update workflow, retired with it in CodySwannGT/lisa#4337; removed only while unedited and unreferenced (CodySwannGT/lisa#4393)",
|
|
285
286
|
"scripts/lisa-hooks/parity-safety-net.sh": "legacy: the parity-safety-net hook copy, retired to a no-op in CodySwannGT/lisa#4672 and no longer shipped from CodySwannGT/lisa#4803; nothing Lisa ships calls it. Removed only while byte-identical to a version in the hash ledger and unreferenced",
|
|
286
|
-
".opencode/plugin/lisa-parity-safety-net.ts": "legacy: the OpenCode adapter for the parity-safety-net hook, retired to a no-op in CodySwannGT/lisa#4672 and no longer shipped from CodySwannGT/lisa#4803. Removed only while byte-identical to a shipped version and unreferenced"
|
|
287
|
+
".opencode/plugin/lisa-parity-safety-net.ts": "legacy: the OpenCode adapter for the parity-safety-net hook, retired to a no-op in CodySwannGT/lisa#4672 and no longer shipped from CodySwannGT/lisa#4803. Removed only while byte-identical to a shipped version and unreferenced",
|
|
288
|
+
"scripts/lisa-scratch-run.sh": "legacy: the Rails scratch supervisor (CodySwannGT/lisa#3335, #4371, #4372) that wrapped the pre-push and CI RSpec and mutation routes, retired in CodySwannGT/lisa#4603 in favour of the start-of-run cleanup sweep; the Lisa-managed lefthook.yml and quality-rails.yml no longer call it. Removed only while byte-identical to a shipped version and unreferenced"
|
|
287
289
|
},
|
|
288
290
|
"retireUnmodified": {
|
|
289
291
|
".github/workflows/lisa-update.yml": [
|
|
@@ -384,6 +386,13 @@
|
|
|
384
386
|
"870365ad7876d8f2ba991e8654899fc888e6c37c4977508b8d790869654f647e",
|
|
385
387
|
"a7bf88e6e5aa39b95785ec2522d9ee9b56b69935a17350fd7b5c06aea396fbc7",
|
|
386
388
|
"b8c5cce685557676782daa5c4cc932a3f3deb647ead8b2de3efd5157ab135003"
|
|
389
|
+
],
|
|
390
|
+
"scripts/lisa-scratch-run.sh": [
|
|
391
|
+
"375f52fc823be97c9d12a774b15ad353c5ef2d99e8073cc7ca94dfbdcb62fe72",
|
|
392
|
+
"53dc40fb45907273b435a280a22ceb65d4edf7aecec60e154801552a3b219464",
|
|
393
|
+
"6fdec1ad0441d7636dc6749c44a23167baf7b75004f156b8a7d4ce1c18c790b7",
|
|
394
|
+
"76ccf8ca6f98b214361f02ebf6ad58041129b76ed29128455e810095db6c292f",
|
|
395
|
+
"ef3c38f8d1d2f48ba265e21f841310d25142228dac57b0a5742c7d902113ca9a"
|
|
387
396
|
]
|
|
388
397
|
}
|
|
389
398
|
}
|
|
@@ -27,12 +27,6 @@
|
|
|
27
27
|
*/
|
|
28
28
|
import type { ViteUserConfig } from "vitest/config";
|
|
29
29
|
|
|
30
|
-
const config: ViteUserConfig = {
|
|
31
|
-
test: {
|
|
32
|
-
// Scratch redirection must install before the leak guard, and the guard's
|
|
33
|
-
// afterAll must run after project hooks so cleanup is attributed correctly.
|
|
34
|
-
sequence: { setupFiles: "list", hooks: "stack" },
|
|
35
|
-
},
|
|
36
|
-
};
|
|
30
|
+
const config: ViteUserConfig = {};
|
|
37
31
|
|
|
38
32
|
export default config;
|