@codyswann/lisa 5.4.0 → 5.6.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-local.mjs +48 -3
- 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/github-attestation-provider.mjs +68 -0
- package/all/copy-overwrite/scripts/lib/github-attestation-recovery.mjs +25 -10
- package/all/copy-overwrite/scripts/lib/github-attestation-verifier.mjs +4 -1
- 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-allocate.mjs +1 -6
- package/all/copy-overwrite/scripts/lib/npm-update-authorization.mjs +25 -14
- package/all/copy-overwrite/scripts/lib/npm-update-cancel-origin.mjs +45 -11
- package/all/copy-overwrite/scripts/lib/npm-update-cancellation-proof.mjs +22 -11
- package/all/copy-overwrite/scripts/lib/npm-update-cancellation.mjs +29 -17
- package/all/copy-overwrite/scripts/lib/npm-update-controller-broker.mjs +1 -1
- package/all/copy-overwrite/scripts/lib/npm-update-controller-factory.mjs +19 -1
- package/all/copy-overwrite/scripts/lib/npm-update-gate-hooks.mjs +2 -1
- package/all/copy-overwrite/scripts/lib/npm-update-gate.mjs +5 -0
- package/all/copy-overwrite/scripts/lib/npm-update-gh-requests.mjs +57 -30
- package/all/copy-overwrite/scripts/lib/npm-update-helper-inventory.mjs +9 -1
- package/all/copy-overwrite/scripts/lib/npm-update-hosted-hook.mjs +1 -1
- package/all/copy-overwrite/scripts/lib/npm-update-leaf.mjs +6 -1
- package/all/copy-overwrite/scripts/lib/npm-update-policy.mjs +38 -0
- package/all/copy-overwrite/scripts/lib/npm-update-publication.mjs +21 -3
- package/all/copy-overwrite/scripts/lib/npm-update-publish.mjs +13 -1
- package/all/copy-overwrite/scripts/lib/npm-update-recovery.mjs +29 -4
- package/all/copy-overwrite/scripts/lib/npm-update-supersession.mjs +21 -7
- package/all/copy-overwrite/scripts/lib/npm-update-tool-launcher.mjs +1 -1
- package/all/copy-overwrite/scripts/lib/npm-update-tracker-cancel.mjs +139 -0
- package/all/copy-overwrite/scripts/lib/npm-update-tracker-jira.mjs +149 -19
- package/all/copy-overwrite/scripts/lib/npm-update-tracker-linear.mjs +72 -17
- package/all/copy-overwrite/scripts/lib/npm-update-tracker-wire.mjs +102 -12
- package/all/copy-overwrite/scripts/lib/npm-update-tracker.mjs +91 -13
- 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-automation-provenance.mjs +35 -8
- 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-npm-updater.mjs +8 -5
- 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 +148 -41
- 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 +440 -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 +234 -146
- 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 +13 -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
package/README.md
CHANGED
|
@@ -481,10 +481,10 @@ Lisa caps the pool for you, in three layers:
|
|
|
481
481
|
| layer | what it does | when it applies |
|
|
482
482
|
|---|---|---|
|
|
483
483
|
| **Floor** | Half the machine's cores | Always, when this run is the only one |
|
|
484
|
-
| **Divisor** | Floor ÷ concurrent runs, never below 2 workers | Whenever
|
|
484
|
+
| **Divisor** | Floor ÷ concurrent runs, never below 2 workers | Whenever you state how many runs share the machine |
|
|
485
485
|
| **Override** | Exactly the number you give it | Whenever you set it |
|
|
486
486
|
|
|
487
|
-
You do not have to configure any of this.
|
|
487
|
+
You do not have to configure any of this. Runs no longer count live sibling runs on their own (that count read the per-test scratch folders, which were retired); on a busy machine, headroom admission below is what sizes a run. Two variables are available when you want to steer it:
|
|
488
488
|
|
|
489
489
|
- **`LISA_FLEET_CONCURRENCY`** — state how many runs are coming, rather than letting the run count what has already started. Useful when you are about to launch six agents and want the first one sized for six.
|
|
490
490
|
- **`LISA_VITEST_MAX_WORKERS`** — set the pool size outright. Wins over both other layers, in both directions: raise it above the floor as readily as you lower it.
|
|
@@ -496,7 +496,64 @@ Worker count is not the only thing several runs contend over. Coverage runs writ
|
|
|
496
496
|
- **`LISA_COVERAGE_REPORTS_DIR`** — put the reports at a fixed path instead. For somewhere only one run happens at a time and something downstream expects to find the report in a known place, such as a CI job that uploads `coverage/lcov.info`.
|
|
497
497
|
|
|
498
498
|
> **Prompt for your coding agent**
|
|
499
|
-
> "Show me how this project's test worker pool is sized — find the resolver, tell me what each of the three layers would give on this machine right now
|
|
499
|
+
> "Show me how this project's test worker pool is sized — find the resolver, and tell me what each of the three layers would give on this machine right now."
|
|
500
|
+
|
|
501
|
+
### Starting heavy runs only when the machine has room
|
|
502
|
+
|
|
503
|
+
Sizing each pool is not enough when many agents start heavy runs at once: a ten-minute suite becomes a multi-hour flaky one. Set `"pushGate": { "admission": true }` in `.lisa.config.json` and every heavy run waits for headroom before it starts: every test suite run through `lisa-test-run`, plus the push gate's slow lint (`code-style-slow`), typecheck (`type-correctness`) and build-once steps. Headroom is the machine's cores, minus its one-minute load average, minus the workers of runs admitted in the last 60 seconds, because load average lags new work. A run starts at once when the headroom covers the workers it declares. A test suite can start with fewer workers, down to two, and passes the number it was given to Vitest as `LISA_ADMITTED_WORKERS`. Every repository and worktree on the machine shares one state directory, `${XDG_CACHE_HOME:-~/.cache}/lisa/admission/`, so a run in one repository counts a run admitted from another. A run that is killed leaves a reservation behind, and the next run ignores and deletes it.
|
|
504
|
+
|
|
505
|
+
The wait has a limit, and nothing starts quietly when the limit runs out. The run stops with exit status 75 and names the runs that are holding the machine. Inside `git push` the limit is 5 minutes (`LISA_ADMISSION_PUSH_MAX_WAIT`). Elsewhere it is 30 minutes (`LISA_ADMISSION_MAX_WAIT`, which also applies inside a push when set). Scripts can wrap any command themselves with `lisa admit --workers <n> [--max-wait <duration>] -- <command…>`.
|
|
506
|
+
|
|
507
|
+
- **Thresholds** belong to the machine, not the repository. Put them in `.lisa.config.local.json` under `admission` (`maxLoadPerCore`, default 1; `minFreeMemoryMb`, default 512; `maxWaitSeconds`; `pushMaxWaitSeconds`), or set the `LISA_ADMISSION_MAX_LOAD_PER_CORE` and `LISA_ADMISSION_MIN_FREE_MEMORY_MB` environment variables, which take precedence.
|
|
508
|
+
- **`LISA_ADMISSION=off`** starts every run at once and prints that admission is off. CI skips admission because one job owns the runner. `LISA_ADMISSION=on` forces it on.
|
|
509
|
+
- **Off by default.** If a project does not set the switch, its heavy runs start at once, exactly as before. Lisa turns it on for itself. Host templates turn it on per stack. The gate runner does not admit steps on Windows yet. When the switch is on there, it prints that and runs the steps at once.
|
|
510
|
+
|
|
511
|
+
This replaces the old fleet admission, which held a Vitest run in a `globalSetup` hook. That hook counted runs instead of measuring load, covered only Vitest runs, and started a run anyway after two minutes.
|
|
512
|
+
|
|
513
|
+
### Building once per push
|
|
514
|
+
|
|
515
|
+
A push can build the project several times: each test gate builds before it tests, and a drift check may rebuild again. Set `"pushGate": { "buildOnce": true }` in `.lisa.config.json` and the push gate runner builds once, before the first gate, then writes `.lisa/build-marker.json`, which records the working-tree hash, the lockfile hash and the node and bun versions. It exports that file's path as `LISA_BUILD_MARKER`. A later step can skip its own build only when every recorded value still matches. Any difference, or no marker at all, means it builds exactly as before. If the up-front build fails, the push fails without running any gate. The setting is off by default, and `lisa apply` and the gate runner both reject a value that is not `true` or `false`. Lisa turns it on for itself. Host templates turn it on per stack.
|
|
516
|
+
|
|
517
|
+
### Checking before you push
|
|
518
|
+
|
|
519
|
+
With `"pushGate": { "cache": true }`, a push skips any gate that already passed for the exact same tree. `lisa check` (or `bunx @codyswann/lisa check` where `lisa` is not on your PATH) runs the push gates for your last commit before you push, and records their passes so the push that follows takes seconds. It waits up to 30 minutes for the machine to have room (`--max-wait 2h` to change that), which is safe outside a push but not inside one. It refuses to run until you commit everything, and it exits non-zero when a gate fails. When the cache is off for the project it does nothing and tells you to push directly, so agents can always run it first. Lisa's agent skills run it before every push; you can keep pushing normally.
|
|
520
|
+
|
|
521
|
+
Rails projects get the cache and headroom admission without setting anything: the pre-push RSpec, Brakeman, Reek, Flog and Flay commands run through `scripts/lisa-rails-gates.mjs`, and `lisa check` runs that same set, so a re-push of an unchanged tree reports each as `CACHED PASS`. Set `"cache": false` or `"admission": false` under `pushGate` to turn either off. RSpec, and the mutation gate when you enable it, wait for room on the machine; the static analysers do not. When a full RSpec run is needed and the test database name in `config/database.yml` includes `<%= ENV['TEST_ENV_NUMBER'] %>`, it runs as `bundle exec parallel_rspec -n <workers>`, with as many workers as admission grants (ask for a different number with `LISA_ADMISSION_RSPEC_WORKERS`). Without that name it runs one process and prints a one-line hint. Lisa never edits `config/database.yml`.
|
|
522
|
+
|
|
523
|
+
### Running only the affected tests at push
|
|
524
|
+
|
|
525
|
+
Set `"pushGate": { "affectedTests": true }` in `.lisa.config.json` and the unit-test push gate runs only the tests your change can reach. It reads the access map that CI records for every pull request, which lists the files each test touched. It runs the tests that touched a changed file, plus any changed test, and hands the changed files to Vitest's own import-graph selection (`vitest related`). Before it runs, it prints each chosen test and the reason it was chosen.
|
|
526
|
+
|
|
527
|
+
Whenever the choice could be wrong, it runs the full suite instead and says why in plain words. That happens when the map is missing, when it was recorded for a different base, when it is older than seven days (`LISA_ACCESS_MAP_MAX_AGE_DAYS` changes the limit), or when a changed file is new since the map was recorded. It also happens when `package.json`, a lockfile, the Vitest, TypeScript or ESLint config, or shared test helpers, support code or fixtures change. It never chooses a partial run in CI, so CI still runs every test before merge. The map for a base is downloaded once and kept in `.lisa/test-access-map/`. A download that finds nothing is remembered for 15 minutes.
|
|
528
|
+
|
|
529
|
+
A partial run cannot measure overall coverage, so `pushGate.affectedCoverage` decides what happens to the `coverage-adequacy` gate at push:
|
|
530
|
+
|
|
531
|
+
- **`"full"`** (the default): wherever `coverage-adequacy` is declared at push, the full suite runs with coverage measured, exactly as before. With this setting, selection only speeds up projects that do not check coverage at push.
|
|
532
|
+
- **`"changed-files"`**: the chosen tests run with coverage on, and each changed source file is checked against `vitest.thresholds.json` on its own. When every changed file meets it, the push passes on the partial run. When one does not, the push does not fail for that alone: it prints which file is short and runs the full suite with whole-repo coverage, exactly as `"full"` does, and that run decides the push. So a push is never stricter than whole-repo coverage, which is what it checked before selection existed.
|
|
533
|
+
- **`"skip"`**: the chosen tests run without coverage, and `coverage-adequacy` reports SKIPPED with `partial selection — enforced by CI`.
|
|
534
|
+
|
|
535
|
+
Both settings are off or `"full"` by default, and `lisa apply` and the push gate both reject a value they do not recognise. Lisa turns `affectedTests` on for itself with `affectedCoverage` set to `"changed-files"`; whole-repo coverage is still enforced on the pull request.
|
|
536
|
+
|
|
537
|
+
#### Rails projects
|
|
538
|
+
|
|
539
|
+
On a Rails project (one with `bin/rails` or `config/application.rb`), the pre-push `rspec` command runs only the specs your change can reach, and this is on by default. Set `"pushGate": { "affectedTests": false }` to always run the full suite. The map comes from gitlab-crystalball: on every pull request, the full RSpec run in `quality-rails.yml` records which application files each spec executed, plus the files that define the class each spec describes. It uploads that map as `crystalball-map-<base sha>-<run id>`, merging the shards when the suite is sharded. The pre-push downloads the newest map for its base with `gh` and keeps it in `.lisa/crystalball-map/`. A partial run includes the specs that executed a changed file, each changed spec, and the conventional spec for a changed file (`app/models/user.rb` pairs with `spec/models/user_spec.rb`). It always adds `spec/system/**`, `spec/features/**`, specs tagged `:js`, and specs tagged `lisa_always_run: true`. That last tag is the escape hatch for a spec whose behaviour the map cannot see, such as one that spawns a child process, calls an external service, or relies on a class it does not describe through a declaration like `validates` or `scope`.
|
|
540
|
+
|
|
541
|
+
The full suite runs, and the reason is printed, in any of these cases:
|
|
542
|
+
|
|
543
|
+
- the push is a CI run;
|
|
544
|
+
- the map is missing, unreadable, recorded off this branch's history, or older than seven days;
|
|
545
|
+
- `Gemfile` or `Gemfile.lock` changes;
|
|
546
|
+
- `db/schema.rb` or `db/structure.sql` changes;
|
|
547
|
+
- anything under `config/` or `spec/support/` changes, or a `spec/*_helper.rb`, `.rspec` or `.simplecov`;
|
|
548
|
+
- a file the map has never seen changes, such as a view or a fixture. Changes only to documentation, CI configuration or coding-agent configuration are the exception.
|
|
549
|
+
|
|
550
|
+
Coverage defaults to `"changed-files"` on Rails. A partial run keeps SimpleCov's project-wide minimums off the slice (`scripts/lisa_rspec_partial_coverage.rb`), and then each changed Ruby file is checked against `simplecov.thresholds.json` on its own. A file below it does not fail the push for that alone: the pre-push names the file and runs the full suite, whose SimpleCov minimums decide the push, exactly as `"full"` would. It does the same when the partial run cannot measure coverage safely, for example with a SimpleCov too old to keep its minimums off the slice. `"skip"` leaves coverage to CI. `"full"` keeps the full suite. CI still runs every spec and enforces the thresholds on the whole suite before merge.
|
|
551
|
+
|
|
552
|
+
### The smart push gate in TypeScript projects
|
|
553
|
+
|
|
554
|
+
A TypeScript project gets the smart push gate without configuring it. A project counts as TypeScript when it has a root `tsconfig.json`, or `typescript` in its `package.json` dependencies or devDependencies. When its `.lisa.config.json` does not say otherwise, it gets `cache`, `admission` and `affectedTests` set to `true`, and `affectedCoverage` set to `"changed-files"`, the same as Lisa. A value the project sets always wins, `false` included, so `"pushGate": { "affectedTests": false }` returns the push to the full suite. `buildOnce` stays off, because a TypeScript project's push gates do not build, so a build-once step would only add a build. Nothing is written into the project's config, and an existing project needs only `lisa apply`.
|
|
555
|
+
|
|
556
|
+
The shipped `test:cov:unit` and `test:unit` scripts of every Vitest stack run through the selector, but they narrow only when the push gate (or `lisa check`) runs them. CI and a test run you start yourself still run every test. The Jest stack (Expo) is not narrowed. The shared Vitest presets record the project's access map on every pull request in the shared CI workflow when `affectedTests` is on, and `scripts/fetch-test-access-map.mjs` downloads it from the project's own repository. Until the project's CI has recorded a map, every push runs the full suite and says `missing map`. The project's own Vitest `forceRerunTriggers`, `setupFiles` and `globalSetup` are recorded with the map, so a change to any of them also runs the full suite.
|
|
500
557
|
|
|
501
558
|
## Working across trackers and sources
|
|
502
559
|
|
|
@@ -214,6 +214,17 @@ cdk.out
|
|
|
214
214
|
# machine/process evidence.
|
|
215
215
|
.lisa/tmpdir-growth.json
|
|
216
216
|
|
|
217
|
+
# Build-once marker written by the push gate runner when pushGate.buildOnce is
|
|
218
|
+
# on. Per-worktree runtime state naming the tree that was just built.
|
|
219
|
+
.lisa/build-marker.json
|
|
220
|
+
|
|
221
|
+
# Test-to-file access map the push gate downloads when pushGate.affectedTests is
|
|
222
|
+
# on (CodySwannGT/lisa#4600). A cache keyed by base commit, never committed.
|
|
223
|
+
.lisa/test-access-map/
|
|
224
|
+
# The gitlab-crystalball spec map the Rails pre-push downloads to run only the
|
|
225
|
+
# specs a change can reach (CodySwannGT/lisa#4612). Keyed by base commit.
|
|
226
|
+
.lisa/crystalball-map/
|
|
227
|
+
|
|
217
228
|
# Verbatim work-item bundle written by the implement flow's input-resolver. It
|
|
218
229
|
# can quote credentials from tracker comments and is per-worktree state. Keep
|
|
219
230
|
# this above EASINCLUDE so remote build uploads never receive it.
|
|
@@ -287,6 +298,11 @@ expo-env.d.ts
|
|
|
287
298
|
# dispatch while telling a teammate nothing they can act on.
|
|
288
299
|
.lisa/remote-dispatch.json
|
|
289
300
|
|
|
301
|
+
# Per-run push gate timing reports (CodySwannGT/lisa#4591). Machine-local
|
|
302
|
+
# measurements of one push on one host; summarise with
|
|
303
|
+
# `node scripts/lisa-push-timing-report.mjs`.
|
|
304
|
+
.lisa/push-timing/
|
|
305
|
+
|
|
290
306
|
# Lisa-generated project Codex overlay. Keep host-owned config.toml and
|
|
291
307
|
# hooks.json visible so projects can commit their own merged configuration.
|
|
292
308
|
.codex/.lisa-managed.json
|
|
@@ -27,13 +27,11 @@
|
|
|
27
27
|
#
|
|
28
28
|
# Overridable via env: MUTATION_ENABLED=true|false, MUTATION_SINCE=<ref>.
|
|
29
29
|
#
|
|
30
|
-
#
|
|
30
|
+
# THE START-OF-RUN CLEANUP SWEEP LIVES OUTSIDE THIS FILE.
|
|
31
31
|
# Both routes that run this gate — the lefthook pre-push command and the
|
|
32
|
-
# `mutation` job in Lisa's reusable Rails quality workflow —
|
|
33
|
-
#
|
|
34
|
-
#
|
|
35
|
-
# run inside itself. The supervisor refuses that outright, so the mistake
|
|
36
|
-
# surfaces as a refusal rather than as a silent double boundary.
|
|
32
|
+
# `mutation` job in Lisa's reusable Rails quality workflow — run
|
|
33
|
+
# `scripts/lib/lisa-cleanup-sweep.mjs` once before THIS script
|
|
34
|
+
# (CodySwannGT/lisa#4603), so it needs no cleanup call of its own.
|
|
37
35
|
# -----------------------------------------------------------------------------
|
|
38
36
|
set -euo pipefail
|
|
39
37
|
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
// This file is managed by Lisa and IS replaced on each `lisa` run.
|
|
2
|
+
// Do not edit directly — durable changes belong upstream in Lisa.
|
|
3
|
+
|
|
4
|
+
export interface MapArtifact {
|
|
5
|
+
readonly name: string;
|
|
6
|
+
readonly baseSha: string;
|
|
7
|
+
readonly runId: string;
|
|
8
|
+
readonly createdAt: string;
|
|
9
|
+
}
|
|
10
|
+
export interface FetchDeps {
|
|
11
|
+
readonly run: (command: string, args: readonly string[]) => string;
|
|
12
|
+
readonly now: () => Date;
|
|
13
|
+
readonly out: (line: string) => void;
|
|
14
|
+
readonly err: (line: string) => void;
|
|
15
|
+
}
|
|
16
|
+
export declare function parseArgs(argv: readonly string[]): {
|
|
17
|
+
readonly base: string | undefined;
|
|
18
|
+
readonly repo: string | undefined;
|
|
19
|
+
readonly out: string;
|
|
20
|
+
};
|
|
21
|
+
export declare function parseArtifacts(output: string): readonly MapArtifact[];
|
|
22
|
+
export interface RunChoice {
|
|
23
|
+
readonly runId: string;
|
|
24
|
+
readonly baseSha: string;
|
|
25
|
+
readonly distance: number;
|
|
26
|
+
readonly artifacts: readonly MapArtifact[];
|
|
27
|
+
}
|
|
28
|
+
export declare function rankRuns(
|
|
29
|
+
artifacts: readonly MapArtifact[],
|
|
30
|
+
sha: string,
|
|
31
|
+
run: FetchDeps["run"]
|
|
32
|
+
): readonly RunChoice[];
|
|
33
|
+
export declare function selectRun(
|
|
34
|
+
artifacts: readonly MapArtifact[],
|
|
35
|
+
sha: string,
|
|
36
|
+
run: FetchDeps["run"]
|
|
37
|
+
): RunChoice | undefined;
|
|
38
|
+
export declare function runRefusal(
|
|
39
|
+
info:
|
|
40
|
+
| {
|
|
41
|
+
readonly conclusion?: unknown;
|
|
42
|
+
readonly headSha?: unknown;
|
|
43
|
+
readonly headRepository?: unknown;
|
|
44
|
+
}
|
|
45
|
+
| null
|
|
46
|
+
| undefined,
|
|
47
|
+
repo: string
|
|
48
|
+
): string | undefined;
|
|
49
|
+
export declare function piecesRefusal(
|
|
50
|
+
metas: readonly Readonly<Record<string, unknown>>[],
|
|
51
|
+
run: {
|
|
52
|
+
readonly runId: string;
|
|
53
|
+
readonly baseSha: string;
|
|
54
|
+
readonly headSha: string;
|
|
55
|
+
}
|
|
56
|
+
): string | undefined;
|
|
57
|
+
export declare function mergeMaps(
|
|
58
|
+
documents: readonly {
|
|
59
|
+
readonly meta?: Readonly<Record<string, unknown>>;
|
|
60
|
+
readonly map?: Readonly<Record<string, readonly string[]>>;
|
|
61
|
+
}[]
|
|
62
|
+
): {
|
|
63
|
+
readonly map: Readonly<Record<string, readonly string[]>>;
|
|
64
|
+
readonly metas: readonly Readonly<Record<string, unknown>>[];
|
|
65
|
+
};
|
|
66
|
+
export declare function mergedTriggers(
|
|
67
|
+
metas: readonly Readonly<Record<string, unknown>>[]
|
|
68
|
+
): readonly string[];
|
|
69
|
+
export declare function repositoryFromRemote(url: string): string | undefined;
|
|
70
|
+
export declare function formatAge(milliseconds: number): string;
|
|
71
|
+
export declare function main(argv: readonly string[], deps: FetchDeps): number;
|