@hominis/fireforge 0.46.0 → 0.46.2
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/CHANGELOG.md +381 -498
- package/dist/bin/fireforge.d.ts +1 -1
- package/dist/bin/fireforge.js +17 -17
- package/dist/build-info.json +4 -4
- package/dist/src/cli-usage-error.d.ts +9 -9
- package/dist/src/cli-usage-error.js +12 -12
- package/dist/src/cli.d.ts +3 -2
- package/dist/src/cli.js +29 -28
- package/dist/src/commands/bootstrap-checks.js +2 -1
- package/dist/src/commands/bootstrap.js +2 -2
- package/dist/src/commands/build.js +12 -11
- package/dist/src/commands/config.js +9 -9
- package/dist/src/commands/destructive-decision.d.ts +4 -4
- package/dist/src/commands/destructive-decision.js +4 -4
- package/dist/src/commands/discard.js +5 -5
- package/dist/src/commands/doctor-check-core.d.ts +4 -4
- package/dist/src/commands/doctor-external-toolchains.js +2 -2
- package/dist/src/commands/doctor-furnace-config-sync.d.ts +2 -2
- package/dist/src/commands/doctor-furnace-config-sync.js +20 -20
- package/dist/src/commands/doctor-furnace-jar.d.ts +1 -1
- package/dist/src/commands/doctor-furnace-jar.js +1 -1
- package/dist/src/commands/doctor-furnace.js +22 -22
- package/dist/src/commands/doctor-orphaned-harness.d.ts +10 -11
- package/dist/src/commands/doctor-orphaned-harness.js +10 -11
- package/dist/src/commands/doctor-patch-manifest.d.ts +2 -1
- package/dist/src/commands/doctor-patch-manifest.js +7 -6
- package/dist/src/commands/doctor-post-rebase-audit.js +2 -2
- package/dist/src/commands/doctor-source-pin.d.ts +12 -12
- package/dist/src/commands/doctor-source-pin.js +14 -14
- package/dist/src/commands/doctor-working-tree.d.ts +3 -3
- package/dist/src/commands/doctor-working-tree.js +3 -3
- package/dist/src/commands/doctor.d.ts +2 -2
- package/dist/src/commands/doctor.js +9 -9
- package/dist/src/commands/download.js +15 -13
- package/dist/src/commands/export-all.js +8 -8
- package/dist/src/commands/export-flow.d.ts +5 -5
- package/dist/src/commands/export-flow.js +14 -14
- package/dist/src/commands/export-placement-conflicts.d.ts +3 -3
- package/dist/src/commands/export-placement-conflicts.js +9 -9
- package/dist/src/commands/export-placement-gate.d.ts +2 -2
- package/dist/src/commands/export-placement-gate.js +5 -5
- package/dist/src/commands/export-placement-policy.d.ts +1 -1
- package/dist/src/commands/export-placement-policy.js +1 -1
- package/dist/src/commands/export-shared.d.ts +10 -10
- package/dist/src/commands/export-shared.js +13 -13
- package/dist/src/commands/export.js +4 -4
- package/dist/src/commands/furnace/apply.js +16 -16
- package/dist/src/commands/furnace/chrome-doc-remove.d.ts +1 -1
- package/dist/src/commands/furnace/chrome-doc-remove.js +1 -1
- package/dist/src/commands/furnace/chrome-doc-templates.d.ts +14 -14
- package/dist/src/commands/furnace/chrome-doc-templates.js +17 -17
- package/dist/src/commands/furnace/chrome-doc-tests.d.ts +2 -2
- package/dist/src/commands/furnace/chrome-doc-tests.js +4 -4
- package/dist/src/commands/furnace/chrome-doc.d.ts +8 -8
- package/dist/src/commands/furnace/chrome-doc.js +18 -18
- package/dist/src/commands/furnace/create-browser-test.d.ts +1 -1
- package/dist/src/commands/furnace/create-browser-test.js +4 -4
- package/dist/src/commands/furnace/create-dry-run.d.ts +4 -4
- package/dist/src/commands/furnace/create-dry-run.js +4 -4
- package/dist/src/commands/furnace/create-features.d.ts +2 -2
- package/dist/src/commands/furnace/create-features.js +2 -2
- package/dist/src/commands/furnace/create-mochikit.d.ts +4 -4
- package/dist/src/commands/furnace/create-mochikit.js +7 -7
- package/dist/src/commands/furnace/create-templates.d.ts +14 -14
- package/dist/src/commands/furnace/create-templates.js +18 -18
- package/dist/src/commands/furnace/create-xpcshell.d.ts +5 -5
- package/dist/src/commands/furnace/create-xpcshell.js +8 -8
- package/dist/src/commands/furnace/create.d.ts +1 -1
- package/dist/src/commands/furnace/create.js +10 -10
- package/dist/src/commands/furnace/deploy.js +4 -4
- package/dist/src/commands/furnace/diff.js +7 -7
- package/dist/src/commands/furnace/index.js +1 -1
- package/dist/src/commands/furnace/init.js +15 -15
- package/dist/src/commands/furnace/list.js +2 -2
- package/dist/src/commands/furnace/override.d.ts +1 -1
- package/dist/src/commands/furnace/override.js +15 -15
- package/dist/src/commands/furnace/preview.js +17 -17
- package/dist/src/commands/furnace/refresh.js +6 -6
- package/dist/src/commands/furnace/remove-mutations.d.ts +3 -3
- package/dist/src/commands/furnace/remove-mutations.js +19 -18
- package/dist/src/commands/furnace/remove-state.d.ts +1 -1
- package/dist/src/commands/furnace/remove-state.js +1 -1
- package/dist/src/commands/furnace/remove.js +2 -2
- package/dist/src/commands/furnace/rename-browser-test.js +9 -8
- package/dist/src/commands/furnace/rename-xpcshell.d.ts +2 -2
- package/dist/src/commands/furnace/rename-xpcshell.js +3 -3
- package/dist/src/commands/furnace/rename.js +9 -9
- package/dist/src/commands/furnace/scan.js +3 -3
- package/dist/src/commands/furnace/status.js +7 -7
- package/dist/src/commands/furnace/sync.js +6 -6
- package/dist/src/commands/furnace/test-file-name.d.ts +2 -2
- package/dist/src/commands/furnace/test-file-name.js +2 -2
- package/dist/src/commands/furnace/validate.js +11 -12
- package/dist/src/commands/import.js +20 -20
- package/dist/src/commands/lint-per-patch.js +8 -8
- package/dist/src/commands/lint-per-run-checkjs.d.ts +12 -13
- package/dist/src/commands/lint-per-run-checkjs.js +14 -15
- package/dist/src/commands/lint-report.d.ts +3 -3
- package/dist/src/commands/lint-report.js +4 -4
- package/dist/src/commands/lint.d.ts +3 -3
- package/dist/src/commands/lint.js +35 -35
- package/dist/src/commands/manifest.d.ts +4 -4
- package/dist/src/commands/package.js +2 -2
- package/dist/src/commands/patch/compact.d.ts +2 -2
- package/dist/src/commands/patch/compact.js +8 -8
- package/dist/src/commands/patch/delete.d.ts +1 -1
- package/dist/src/commands/patch/delete.js +8 -8
- package/dist/src/commands/patch/lint-ignore.d.ts +3 -4
- package/dist/src/commands/patch/lint-ignore.js +14 -15
- package/dist/src/commands/patch/move-files-create.d.ts +2 -2
- package/dist/src/commands/patch/move-files-create.js +5 -5
- package/dist/src/commands/patch/move-files-into.d.ts +2 -2
- package/dist/src/commands/patch/move-files-into.js +3 -3
- package/dist/src/commands/patch/move-files.js +1 -1
- package/dist/src/commands/patch/patch-context.d.ts +1 -1
- package/dist/src/commands/patch/rename.d.ts +4 -4
- package/dist/src/commands/patch/rename.js +8 -8
- package/dist/src/commands/patch/reorder.js +10 -10
- package/dist/src/commands/patch/split-plan.d.ts +3 -3
- package/dist/src/commands/patch/split-plan.js +6 -5
- package/dist/src/commands/patch/split.d.ts +2 -2
- package/dist/src/commands/patch/split.js +5 -5
- package/dist/src/commands/patch/staged-dependency-validate.d.ts +1 -1
- package/dist/src/commands/patch/staged-dependency-validate.js +3 -3
- package/dist/src/commands/patch/staged-dependency.d.ts +1 -1
- package/dist/src/commands/patch/staged-dependency.js +6 -6
- package/dist/src/commands/patch/tier.d.ts +2 -2
- package/dist/src/commands/patch/tier.js +5 -5
- package/dist/src/commands/patch-rename-map.d.ts +1 -1
- package/dist/src/commands/patch-rename-map.js +1 -1
- package/dist/src/commands/pending-resolution.d.ts +5 -5
- package/dist/src/commands/pending-resolution.js +5 -5
- package/dist/src/commands/re-export-adjacent.d.ts +3 -3
- package/dist/src/commands/re-export-adjacent.js +8 -8
- package/dist/src/commands/re-export-bulk-scan.d.ts +3 -3
- package/dist/src/commands/re-export-bulk-scan.js +17 -17
- package/dist/src/commands/re-export-drift.d.ts +10 -10
- package/dist/src/commands/re-export-drift.js +29 -29
- package/dist/src/commands/re-export-files.js +14 -15
- package/dist/src/commands/re-export-lint.d.ts +26 -26
- package/dist/src/commands/re-export-lint.js +27 -27
- package/dist/src/commands/re-export-options.d.ts +1 -1
- package/dist/src/commands/re-export-options.js +1 -1
- package/dist/src/commands/re-export-register.d.ts +1 -1
- package/dist/src/commands/re-export-register.js +1 -1
- package/dist/src/commands/re-export-scan.d.ts +1 -1
- package/dist/src/commands/re-export-scan.js +7 -7
- package/dist/src/commands/re-export-single.d.ts +1 -1
- package/dist/src/commands/re-export-single.js +20 -20
- package/dist/src/commands/re-export.js +7 -6
- package/dist/src/commands/rebase/abort.js +6 -6
- package/dist/src/commands/rebase/continue.js +8 -7
- package/dist/src/commands/rebase/index.d.ts +1 -1
- package/dist/src/commands/rebase/index.js +3 -3
- package/dist/src/commands/rebase/patch-loop.js +18 -17
- package/dist/src/commands/register.js +5 -5
- package/dist/src/commands/reset.js +1 -1
- package/dist/src/commands/resolve.d.ts +2 -2
- package/dist/src/commands/resolve.js +3 -3
- package/dist/src/commands/run.js +26 -26
- package/dist/src/commands/setup-support.js +4 -4
- package/dist/src/commands/setup.js +1 -1
- package/dist/src/commands/source.js +1 -1
- package/dist/src/commands/status-check.d.ts +3 -3
- package/dist/src/commands/status-check.js +4 -4
- package/dist/src/commands/status-json.d.ts +14 -13
- package/dist/src/commands/status-json.js +9 -8
- package/dist/src/commands/status-output.d.ts +3 -3
- package/dist/src/commands/status-output.js +3 -3
- package/dist/src/commands/status-ownership.d.ts +3 -3
- package/dist/src/commands/status-ownership.js +3 -3
- package/dist/src/commands/status.js +22 -22
- package/dist/src/commands/test-build-phase.d.ts +1 -1
- package/dist/src/commands/test-build-phase.js +17 -17
- package/dist/src/commands/test-diagnose.d.ts +1 -1
- package/dist/src/commands/test-diagnose.js +20 -20
- package/dist/src/commands/test-modes.d.ts +2 -2
- package/dist/src/commands/test-modes.js +4 -4
- package/dist/src/commands/test-run.d.ts +11 -11
- package/dist/src/commands/test-run.js +15 -15
- package/dist/src/commands/test-stale-gate.d.ts +12 -12
- package/dist/src/commands/test-stale-gate.js +13 -13
- package/dist/src/commands/test-verdict.d.ts +6 -6
- package/dist/src/commands/test-verdict.js +11 -11
- package/dist/src/commands/test.d.ts +3 -3
- package/dist/src/commands/test.js +36 -36
- package/dist/src/commands/token-coverage.js +3 -3
- package/dist/src/commands/token-list.js +5 -5
- package/dist/src/commands/token.js +9 -9
- package/dist/src/commands/tree.js +19 -19
- package/dist/src/commands/typecheck.d.ts +6 -6
- package/dist/src/commands/typecheck.js +7 -7
- package/dist/src/commands/verify.d.ts +3 -3
- package/dist/src/commands/verify.js +10 -10
- package/dist/src/commands/watch.js +11 -11
- package/dist/src/commands/wire.js +13 -13
- package/dist/src/core/ast-utils.d.ts +7 -7
- package/dist/src/core/ast-utils.js +8 -8
- package/dist/src/core/branding.d.ts +5 -5
- package/dist/src/core/branding.js +3 -3
- package/dist/src/core/browser-wire.d.ts +1 -1
- package/dist/src/core/browser-wire.js +4 -4
- package/dist/src/core/build-audit-platform.d.ts +6 -6
- package/dist/src/core/build-audit-platform.js +26 -26
- package/dist/src/core/build-audit-registration.d.ts +5 -5
- package/dist/src/core/build-audit-registration.js +7 -7
- package/dist/src/core/build-audit-resolve.d.ts +5 -5
- package/dist/src/core/build-audit-resolve.js +6 -6
- package/dist/src/core/build-audit-skip.d.ts +8 -8
- package/dist/src/core/build-audit-skip.js +12 -12
- package/dist/src/core/build-audit-transforms.d.ts +2 -2
- package/dist/src/core/build-audit-transforms.js +3 -3
- package/dist/src/core/build-audit.d.ts +8 -8
- package/dist/src/core/build-audit.js +39 -37
- package/dist/src/core/build-baseline-types.d.ts +19 -18
- package/dist/src/core/build-baseline-types.js +1 -1
- package/dist/src/core/build-baseline.d.ts +8 -8
- package/dist/src/core/build-baseline.js +14 -14
- package/dist/src/core/build-jar-escalation.d.ts +8 -8
- package/dist/src/core/build-jar-escalation.js +15 -15
- package/dist/src/core/build-overwrite-guard.d.ts +4 -4
- package/dist/src/core/build-overwrite-guard.js +13 -13
- package/dist/src/core/build-prepare.d.ts +4 -4
- package/dist/src/core/build-prepare.js +16 -15
- package/dist/src/core/config-mutate.js +4 -4
- package/dist/src/core/config-state.js +2 -2
- package/dist/src/core/config-validate-build-audit.js +3 -3
- package/dist/src/core/config-validate-file-size.d.ts +1 -1
- package/dist/src/core/config-validate-file-size.js +2 -2
- package/dist/src/core/config-validate.js +8 -9
- package/dist/src/core/config.d.ts +10 -10
- package/dist/src/core/config.js +10 -10
- package/dist/src/core/coverage-extend.d.ts +16 -16
- package/dist/src/core/coverage-extend.js +16 -16
- package/dist/src/core/destructive.d.ts +14 -14
- package/dist/src/core/destructive.js +9 -9
- package/dist/src/core/diff-hunks.d.ts +2 -2
- package/dist/src/core/diff-hunks.js +7 -7
- package/dist/src/core/discard-baseline.d.ts +10 -10
- package/dist/src/core/discard-baseline.js +15 -16
- package/dist/src/core/display-state.d.ts +11 -11
- package/dist/src/core/display-state.js +12 -12
- package/dist/src/core/engine-changes.d.ts +2 -2
- package/dist/src/core/engine-changes.js +2 -2
- package/dist/src/core/engine-precondition.d.ts +4 -4
- package/dist/src/core/engine-precondition.js +2 -2
- package/dist/src/core/engine-session-lock.d.ts +18 -18
- package/dist/src/core/engine-session-lock.js +37 -37
- package/dist/src/core/export-moved-code-shape.d.ts +7 -7
- package/dist/src/core/export-moved-code-shape.js +8 -8
- package/dist/src/core/file-lock-owner.d.ts +11 -11
- package/dist/src/core/file-lock-owner.js +18 -18
- package/dist/src/core/file-lock.d.ts +12 -12
- package/dist/src/core/file-lock.js +52 -39
- package/dist/src/core/firefox-cache.d.ts +1 -1
- package/dist/src/core/firefox-cache.js +10 -10
- package/dist/src/core/firefox-download.d.ts +3 -3
- package/dist/src/core/firefox-download.js +6 -6
- package/dist/src/core/firefox-extract.d.ts +2 -2
- package/dist/src/core/firefox-extract.js +13 -13
- package/dist/src/core/firefox.d.ts +5 -5
- package/dist/src/core/firefox.js +8 -8
- package/dist/src/core/furnace-apply-dry-run.js +1 -1
- package/dist/src/core/furnace-apply-ftl.d.ts +5 -5
- package/dist/src/core/furnace-apply-ftl.js +8 -8
- package/dist/src/core/furnace-apply-helpers.d.ts +9 -9
- package/dist/src/core/furnace-apply-helpers.js +21 -21
- package/dist/src/core/furnace-apply-output.js +1 -1
- package/dist/src/core/furnace-apply-overwrite-warn.d.ts +9 -9
- package/dist/src/core/furnace-apply-overwrite-warn.js +9 -9
- package/dist/src/core/furnace-apply-undeploy-actions.d.ts +1 -1
- package/dist/src/core/furnace-apply-undeploy-actions.js +1 -1
- package/dist/src/core/furnace-apply.d.ts +3 -3
- package/dist/src/core/furnace-apply.js +22 -21
- package/dist/src/core/furnace-checksum-utils.d.ts +5 -5
- package/dist/src/core/furnace-checksum-utils.js +5 -5
- package/dist/src/core/furnace-config-custom.d.ts +1 -1
- package/dist/src/core/furnace-config-custom.js +2 -2
- package/dist/src/core/furnace-config-order.js +1 -1
- package/dist/src/core/furnace-config-tokens.d.ts +3 -3
- package/dist/src/core/furnace-config-tokens.js +3 -3
- package/dist/src/core/furnace-config-validate.js +2 -2
- package/dist/src/core/furnace-config.d.ts +4 -4
- package/dist/src/core/furnace-config.js +18 -18
- package/dist/src/core/furnace-constants.d.ts +6 -6
- package/dist/src/core/furnace-constants.js +6 -6
- package/dist/src/core/furnace-css-fragments.d.ts +6 -6
- package/dist/src/core/furnace-css-fragments.js +11 -11
- package/dist/src/core/furnace-dir-entry.d.ts +1 -1
- package/dist/src/core/furnace-dir-entry.js +1 -1
- package/dist/src/core/furnace-jsconfig.d.ts +7 -7
- package/dist/src/core/furnace-jsconfig.js +22 -20
- package/dist/src/core/furnace-operation.d.ts +21 -20
- package/dist/src/core/furnace-operation.js +36 -34
- package/dist/src/core/furnace-precondition.d.ts +10 -10
- package/dist/src/core/furnace-precondition.js +8 -8
- package/dist/src/core/furnace-refresh.js +2 -2
- package/dist/src/core/furnace-registration-ast.d.ts +2 -2
- package/dist/src/core/furnace-registration-ast.js +9 -9
- package/dist/src/core/furnace-registration-remove.d.ts +4 -4
- package/dist/src/core/furnace-registration-remove.js +6 -6
- package/dist/src/core/furnace-registration-validate.d.ts +2 -2
- package/dist/src/core/furnace-registration-validate.js +2 -2
- package/dist/src/core/furnace-registration.d.ts +5 -5
- package/dist/src/core/furnace-registration.js +7 -7
- package/dist/src/core/furnace-rollback.d.ts +1 -1
- package/dist/src/core/furnace-rollback.js +5 -5
- package/dist/src/core/furnace-stale-export.d.ts +17 -16
- package/dist/src/core/furnace-stale-export.js +16 -15
- package/dist/src/core/furnace-staleness.d.ts +2 -2
- package/dist/src/core/furnace-staleness.js +2 -2
- package/dist/src/core/furnace-state-persist.d.ts +10 -10
- package/dist/src/core/furnace-state-persist.js +10 -10
- package/dist/src/core/furnace-step-errors.d.ts +6 -6
- package/dist/src/core/furnace-step-errors.js +6 -6
- package/dist/src/core/furnace-validate-accessibility.js +14 -14
- package/dist/src/core/furnace-validate-compatibility.js +9 -9
- package/dist/src/core/furnace-validate-registration.d.ts +2 -2
- package/dist/src/core/furnace-validate-registration.js +13 -13
- package/dist/src/core/furnace-validate-structure.d.ts +1 -1
- package/dist/src/core/furnace-validate-structure.js +4 -4
- package/dist/src/core/furnace-validate.js +9 -9
- package/dist/src/core/furnace-version-drift.d.ts +5 -5
- package/dist/src/core/furnace-version-drift.js +5 -5
- package/dist/src/core/git-base.d.ts +4 -4
- package/dist/src/core/git-base.js +9 -9
- package/dist/src/core/git-diff-new-file.d.ts +4 -4
- package/dist/src/core/git-diff-new-file.js +8 -8
- package/dist/src/core/git-diff.d.ts +4 -4
- package/dist/src/core/git-diff.js +35 -34
- package/dist/src/core/git-file-ops.d.ts +6 -6
- package/dist/src/core/git-file-ops.js +7 -7
- package/dist/src/core/git-readonly-index.d.ts +12 -12
- package/dist/src/core/git-readonly-index.js +12 -12
- package/dist/src/core/git-status.d.ts +4 -4
- package/dist/src/core/git-status.js +4 -4
- package/dist/src/core/git.d.ts +3 -3
- package/dist/src/core/git.js +14 -14
- package/dist/src/core/harness-orphans.d.ts +17 -17
- package/dist/src/core/harness-orphans.js +20 -20
- package/dist/src/core/history-log.d.ts +3 -3
- package/dist/src/core/history-log.js +3 -3
- package/dist/src/core/license-headers.d.ts +19 -18
- package/dist/src/core/license-headers.js +29 -28
- package/dist/src/core/mach-build-artifacts.d.ts +21 -21
- package/dist/src/core/mach-build-artifacts.js +23 -23
- package/dist/src/core/mach-error-hints.d.ts +5 -5
- package/dist/src/core/mach-error-hints.js +13 -13
- package/dist/src/core/mach-known-noise-filter.d.ts +41 -38
- package/dist/src/core/mach-known-noise-filter.js +53 -50
- package/dist/src/core/mach-mozconfig.d.ts +6 -6
- package/dist/src/core/mach-mozconfig.js +15 -15
- package/dist/src/core/mach-python.d.ts +2 -1
- package/dist/src/core/mach-python.js +4 -3
- package/dist/src/core/mach-resource-shim.d.ts +12 -12
- package/dist/src/core/mach-resource-shim.js +20 -20
- package/dist/src/core/mach.d.ts +23 -23
- package/dist/src/core/mach.js +36 -36
- package/dist/src/core/marionette-port.d.ts +15 -13
- package/dist/src/core/marionette-port.js +34 -31
- package/dist/src/core/marionette-preflight.d.ts +6 -6
- package/dist/src/core/marionette-preflight.js +23 -23
- package/dist/src/core/markdown-table.d.ts +9 -9
- package/dist/src/core/markdown-table.js +14 -14
- package/dist/src/core/mochitest-server-port.d.ts +8 -8
- package/dist/src/core/mochitest-server-port.js +14 -14
- package/dist/src/core/module-resolution-preflight.d.ts +8 -8
- package/dist/src/core/module-resolution-preflight.js +11 -11
- package/dist/src/core/moz-manifest-helpers.d.ts +7 -7
- package/dist/src/core/moz-manifest-helpers.js +7 -7
- package/dist/src/core/moz-manifest-register.d.ts +1 -1
- package/dist/src/core/moz-manifest-register.js +2 -2
- package/dist/src/core/moz-manifest-rules.js +11 -11
- package/dist/src/core/moz-manifest-tokenizers.js +1 -1
- package/dist/src/core/ownership-table.d.ts +5 -5
- package/dist/src/core/ownership-table.js +7 -7
- package/dist/src/core/parser-fallback.d.ts +3 -3
- package/dist/src/core/parser-fallback.js +3 -3
- package/dist/src/core/patch-apply-fuzz.d.ts +5 -5
- package/dist/src/core/patch-apply-fuzz.js +9 -9
- package/dist/src/core/patch-apply.d.ts +9 -9
- package/dist/src/core/patch-apply.js +30 -30
- package/dist/src/core/patch-export-update.d.ts +4 -4
- package/dist/src/core/patch-export-update.js +3 -3
- package/dist/src/core/patch-export.d.ts +10 -10
- package/dist/src/core/patch-export.js +13 -13
- package/dist/src/core/patch-identifier-suggest.d.ts +1 -1
- package/dist/src/core/patch-identifier-suggest.js +4 -4
- package/dist/src/core/patch-lint-binary.d.ts +7 -7
- package/dist/src/core/patch-lint-cache.d.ts +2 -2
- package/dist/src/core/patch-lint-cache.js +13 -13
- package/dist/src/core/patch-lint-checkjs.d.ts +26 -26
- package/dist/src/core/patch-lint-checkjs.js +42 -41
- package/dist/src/core/patch-lint-chrome-jsdoc.d.ts +8 -9
- package/dist/src/core/patch-lint-chrome-jsdoc.js +10 -11
- package/dist/src/core/patch-lint-creators.d.ts +3 -3
- package/dist/src/core/patch-lint-creators.js +3 -3
- package/dist/src/core/patch-lint-cross.d.ts +13 -13
- package/dist/src/core/patch-lint-cross.js +21 -21
- package/dist/src/core/patch-lint-css.d.ts +1 -1
- package/dist/src/core/patch-lint-css.js +5 -5
- package/dist/src/core/patch-lint-diff-tag.d.ts +5 -5
- package/dist/src/core/patch-lint-diff-tag.js +5 -5
- package/dist/src/core/patch-lint-diff.d.ts +4 -4
- package/dist/src/core/patch-lint-diff.js +4 -4
- package/dist/src/core/patch-lint-file-size.d.ts +3 -3
- package/dist/src/core/patch-lint-file-size.js +3 -3
- package/dist/src/core/patch-lint-forward-registration.d.ts +4 -4
- package/dist/src/core/patch-lint-forward-registration.js +12 -12
- package/dist/src/core/patch-lint-jsdoc.d.ts +2 -2
- package/dist/src/core/patch-lint-jsdoc.js +11 -11
- package/dist/src/core/patch-lint-module-registration.d.ts +1 -1
- package/dist/src/core/patch-lint-module-registration.js +1 -1
- package/dist/src/core/patch-lint-mozbuild.d.ts +1 -1
- package/dist/src/core/patch-lint-mozbuild.js +10 -10
- package/dist/src/core/patch-lint-observer.d.ts +3 -3
- package/dist/src/core/patch-lint-observer.js +7 -7
- package/dist/src/core/patch-lint-ownership.d.ts +6 -6
- package/dist/src/core/patch-lint-ownership.js +6 -6
- package/dist/src/core/patch-lint-prettier.d.ts +6 -6
- package/dist/src/core/patch-lint-prettier.js +6 -6
- package/dist/src/core/patch-lint-queue-types.d.ts +1 -1
- package/dist/src/core/patch-lint-queue-types.js +1 -1
- package/dist/src/core/patch-lint-staged-registration.d.ts +2 -2
- package/dist/src/core/patch-lint-staged-registration.js +6 -6
- package/dist/src/core/patch-lint-unmanaged-companion.d.ts +23 -23
- package/dist/src/core/patch-lint-unmanaged-companion.js +26 -26
- package/dist/src/core/patch-lint.d.ts +27 -26
- package/dist/src/core/patch-lint.js +48 -46
- package/dist/src/core/patch-lock.d.ts +1 -1
- package/dist/src/core/patch-lock.js +8 -8
- package/dist/src/core/patch-manifest-consistency.d.ts +7 -7
- package/dist/src/core/patch-manifest-consistency.js +16 -17
- package/dist/src/core/patch-manifest-files-affected.d.ts +1 -1
- package/dist/src/core/patch-manifest-files-affected.js +3 -3
- package/dist/src/core/patch-manifest-io.d.ts +14 -14
- package/dist/src/core/patch-manifest-io.js +27 -27
- package/dist/src/core/patch-manifest-query.d.ts +1 -1
- package/dist/src/core/patch-manifest-query.js +4 -4
- package/dist/src/core/patch-manifest-resolve.d.ts +5 -5
- package/dist/src/core/patch-manifest-resolve.js +7 -7
- package/dist/src/core/patch-manifest-validate.js +3 -3
- package/dist/src/core/patch-manifest.d.ts +2 -2
- package/dist/src/core/patch-manifest.js +2 -2
- package/dist/src/core/patch-parse.d.ts +14 -14
- package/dist/src/core/patch-parse.js +16 -16
- package/dist/src/core/patch-registration-refs.d.ts +4 -4
- package/dist/src/core/patch-registration-refs.js +7 -7
- package/dist/src/core/patch-transform.d.ts +8 -8
- package/dist/src/core/patch-transform.js +13 -13
- package/dist/src/core/process-cpu-time.d.ts +1 -1
- package/dist/src/core/process-cpu-time.js +5 -5
- package/dist/src/core/rebase-session.d.ts +7 -7
- package/dist/src/core/rebase-session.js +8 -8
- package/dist/src/core/register-result.d.ts +1 -1
- package/dist/src/core/register-result.js +1 -1
- package/dist/src/core/register-scaffold.d.ts +2 -2
- package/dist/src/core/register-scaffold.js +3 -3
- package/dist/src/core/register-shared-css.d.ts +3 -3
- package/dist/src/core/register-shared-css.js +4 -4
- package/dist/src/core/register-xpcshell-test.d.ts +2 -2
- package/dist/src/core/register-xpcshell-test.js +2 -2
- package/dist/src/core/run-log-redact.d.ts +12 -12
- package/dist/src/core/run-log-redact.js +16 -16
- package/dist/src/core/run-log.d.ts +9 -9
- package/dist/src/core/run-log.js +14 -14
- package/dist/src/core/shared-ftl.d.ts +2 -2
- package/dist/src/core/shared-ftl.js +6 -6
- package/dist/src/core/signal-critical.d.ts +2 -2
- package/dist/src/core/signal-critical.js +2 -2
- package/dist/src/core/smoke-patterns.d.ts +5 -5
- package/dist/src/core/smoke-patterns.js +9 -9
- package/dist/src/core/state-file.d.ts +3 -3
- package/dist/src/core/status-binary.d.ts +8 -8
- package/dist/src/core/status-binary.js +12 -12
- package/dist/src/core/status-classify.d.ts +17 -17
- package/dist/src/core/status-classify.js +11 -11
- package/dist/src/core/test-changed-prefs.d.ts +12 -12
- package/dist/src/core/test-changed-prefs.js +15 -15
- package/dist/src/core/test-harness-crash.d.ts +39 -39
- package/dist/src/core/test-harness-crash.js +67 -67
- package/dist/src/core/test-harness-output.d.ts +7 -7
- package/dist/src/core/test-harness-output.js +7 -7
- package/dist/src/core/test-harness-verdict-notes.d.ts +13 -14
- package/dist/src/core/test-harness-verdict-notes.js +4 -4
- package/dist/src/core/test-path-scope.d.ts +8 -8
- package/dist/src/core/test-path-scope.js +11 -11
- package/dist/src/core/test-stale-check.d.ts +22 -21
- package/dist/src/core/test-stale-check.js +29 -28
- package/dist/src/core/test-stale-symlink.d.ts +1 -1
- package/dist/src/core/test-stale-symlink.js +1 -1
- package/dist/src/core/test-stall-triage.d.ts +9 -9
- package/dist/src/core/test-stall-triage.js +22 -22
- package/dist/src/core/token-category.d.ts +4 -4
- package/dist/src/core/token-category.js +13 -12
- package/dist/src/core/token-coverage.js +4 -5
- package/dist/src/core/token-dark-mode.d.ts +17 -9
- package/dist/src/core/token-dark-mode.js +41 -28
- package/dist/src/core/token-docs.d.ts +1 -1
- package/dist/src/core/token-inventory.d.ts +6 -6
- package/dist/src/core/token-inventory.js +7 -7
- package/dist/src/core/token-manager.d.ts +3 -3
- package/dist/src/core/token-manager.js +21 -21
- package/dist/src/core/token-scaffold.d.ts +4 -4
- package/dist/src/core/token-scaffold.js +4 -4
- package/dist/src/core/token-variant.d.ts +14 -14
- package/dist/src/core/token-variant.js +32 -32
- package/dist/src/core/toolchain-preflight.d.ts +15 -15
- package/dist/src/core/toolchain-preflight.js +22 -22
- package/dist/src/core/tree-cow.d.ts +3 -3
- package/dist/src/core/tree-cow.js +6 -6
- package/dist/src/core/tree-guard.d.ts +3 -3
- package/dist/src/core/tree-guard.js +23 -23
- package/dist/src/core/tree-store.d.ts +15 -15
- package/dist/src/core/tree-store.js +35 -33
- package/dist/src/core/typecheck-shim.d.ts +16 -15
- package/dist/src/core/typecheck-shim.js +26 -25
- package/dist/src/core/typecheck.d.ts +12 -12
- package/dist/src/core/typecheck.js +31 -31
- package/dist/src/core/wire-destroy.d.ts +2 -2
- package/dist/src/core/wire-destroy.js +5 -5
- package/dist/src/core/wire-dom-fragment.d.ts +3 -3
- package/dist/src/core/wire-dom-fragment.js +6 -6
- package/dist/src/core/wire-init.d.ts +2 -2
- package/dist/src/core/wire-init.js +7 -7
- package/dist/src/core/wire-subscript.d.ts +1 -1
- package/dist/src/core/wire-subscript.js +3 -3
- package/dist/src/core/wire-utils.d.ts +9 -9
- package/dist/src/core/wire-utils.js +11 -11
- package/dist/src/core/xpcshell-appdir.d.ts +20 -20
- package/dist/src/core/xpcshell-appdir.js +26 -26
- package/dist/src/core/xpcshell-profile-dir.d.ts +3 -3
- package/dist/src/core/xpcshell-profile-dir.js +7 -7
- package/dist/src/errors/base.d.ts +22 -21
- package/dist/src/errors/base.js +22 -21
- package/dist/src/errors/build.d.ts +6 -6
- package/dist/src/errors/build.js +6 -6
- package/dist/src/errors/codes.d.ts +10 -10
- package/dist/src/errors/codes.js +10 -10
- package/dist/src/errors/furnace.d.ts +2 -2
- package/dist/src/errors/git.d.ts +1 -1
- package/dist/src/errors/git.js +1 -1
- package/dist/src/errors/patch.d.ts +3 -3
- package/dist/src/errors/patch.js +3 -3
- package/dist/src/errors/rebase.d.ts +1 -1
- package/dist/src/errors/rebase.js +1 -1
- package/dist/src/errors/run.d.ts +1 -1
- package/dist/src/errors/run.js +1 -1
- package/dist/src/index.d.ts +4 -4
- package/dist/src/index.js +4 -4
- package/dist/src/types/commands/options.d.ts +86 -85
- package/dist/src/types/commands/patches.d.ts +19 -19
- package/dist/src/types/commands/project.d.ts +3 -3
- package/dist/src/types/config.d.ts +24 -23
- package/dist/src/types/furnace.d.ts +17 -17
- package/dist/src/types/json.d.ts +3 -3
- package/dist/src/types/json.js +2 -2
- package/dist/src/types/typecheck.d.ts +3 -3
- package/dist/src/utils/assert.d.ts +1 -1
- package/dist/src/utils/assert.js +6 -6
- package/dist/src/utils/build-info.d.ts +5 -5
- package/dist/src/utils/build-info.js +6 -6
- package/dist/src/utils/child-env.d.ts +5 -5
- package/dist/src/utils/child-env.js +5 -5
- package/dist/src/utils/concurrency.d.ts +2 -2
- package/dist/src/utils/concurrency.js +2 -2
- package/dist/src/utils/elapsed.js +1 -1
- package/dist/src/utils/errors.d.ts +8 -8
- package/dist/src/utils/errors.js +8 -8
- package/dist/src/utils/fs.d.ts +1 -1
- package/dist/src/utils/fs.js +8 -8
- package/dist/src/utils/line-dispatch.d.ts +3 -3
- package/dist/src/utils/line-dispatch.js +5 -5
- package/dist/src/utils/logger.d.ts +4 -4
- package/dist/src/utils/logger.js +11 -11
- package/dist/src/utils/machine-output.js +2 -2
- package/dist/src/utils/options.d.ts +13 -13
- package/dist/src/utils/options.js +20 -20
- package/dist/src/utils/package-root.js +2 -2
- package/dist/src/utils/paths.d.ts +4 -4
- package/dist/src/utils/paths.js +4 -4
- package/dist/src/utils/process-group.d.ts +8 -8
- package/dist/src/utils/process-group.js +19 -19
- package/dist/src/utils/process.d.ts +34 -33
- package/dist/src/utils/process.js +20 -19
- package/dist/src/utils/ps-duration.d.ts +4 -4
- package/dist/src/utils/ps-duration.js +6 -6
- package/dist/src/utils/regex.d.ts +4 -4
- package/dist/src/utils/regex.js +7 -7
- package/dist/src/utils/sleep.d.ts +7 -7
- package/dist/src/utils/sleep.js +7 -7
- package/dist/src/utils/stdio-drain.d.ts +7 -7
- package/dist/src/utils/stdio-drain.js +8 -8
- package/dist/src/utils/validation.d.ts +11 -12
- package/dist/src/utils/validation.js +20 -21
- package/docs/README.md +2 -2
- package/docs/configuration.md +120 -114
- package/docs/exit-codes.md +63 -58
- package/docs/furnace.md +20 -19
- package/docs/lifecycle-invariants.md +412 -251
- package/docs/machine-output.md +33 -32
- package/docs/patch-workflow.md +48 -45
- package/docs/run-logs.md +62 -58
- package/docs/testing.md +101 -101
- package/docs/verification-trees.md +23 -22
- package/package.json +2 -2
|
@@ -7,9 +7,9 @@ import type { PatchCategory } from './patches.js';
|
|
|
7
7
|
* `--dry-run`: print the planned change and exit without writing anything.
|
|
8
8
|
*
|
|
9
9
|
* Twenty-four option types spelled this field with five different doc
|
|
10
|
-
* comments for one behaviour. The contract is uniform and load-bearing
|
|
11
|
-
* dry run must perform every check the real run does and then write
|
|
12
|
-
* so it is stated once.
|
|
10
|
+
* comments for one behaviour. The contract is uniform and load-bearing (a
|
|
11
|
+
* dry run must perform every check the real run does and then write
|
|
12
|
+
* nothing), so it is stated once.
|
|
13
13
|
*/
|
|
14
14
|
export interface DryRunnable {
|
|
15
15
|
/** Print the planned change without writing anything. */
|
|
@@ -19,11 +19,11 @@ export interface DryRunnable {
|
|
|
19
19
|
* `--yes`: answer the confirmation prompt non-interactively.
|
|
20
20
|
*
|
|
21
21
|
* Required for non-TTY runs, where there is no prompt to answer. It waives
|
|
22
|
-
* the prompt only
|
|
22
|
+
* the prompt only, never a safety gate. Flags that waive a refusal are
|
|
23
23
|
* spelled `--force*` and live on their own types.
|
|
24
24
|
*/
|
|
25
25
|
export interface Confirmable {
|
|
26
|
-
/** Skip the confirmation prompt
|
|
26
|
+
/** Skip the confirmation prompt. Required for non-TTY runs. */
|
|
27
27
|
yes?: boolean;
|
|
28
28
|
}
|
|
29
29
|
/**
|
|
@@ -40,17 +40,17 @@ export interface UnsafeOverridable {
|
|
|
40
40
|
* `--wait-lock [seconds]` for commands that take the ENGINE SESSION lock.
|
|
41
41
|
*
|
|
42
42
|
* Parsed at the CLI layer (`true` for the bare flag, meaning 60 seconds) and
|
|
43
|
-
* consumed there to bound the wait
|
|
43
|
+
* consumed there to bound the wait. The command implementation ignores it.
|
|
44
44
|
*/
|
|
45
45
|
export interface EngineLockWaitable {
|
|
46
|
-
/** Parsed `--wait-lock [seconds]` value
|
|
46
|
+
/** Parsed `--wait-lock [seconds]` value. `true` means the 60-second default. */
|
|
47
47
|
waitLock?: number | boolean;
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
50
|
* `--wait-lock [seconds]` for commands that mutate patch metadata under the
|
|
51
51
|
* PATCH DIRECTORY lock.
|
|
52
52
|
*
|
|
53
|
-
*
|
|
53
|
+
* Separate from {@link EngineLockWaitable}: the two flags share a
|
|
54
54
|
* spelling but bound different locks, and a reader needs to know which one a
|
|
55
55
|
* command contends for.
|
|
56
56
|
*/
|
|
@@ -125,7 +125,7 @@ export interface BuildOptions extends EngineLockWaitable {
|
|
|
125
125
|
* Refuse the build (rather than warn) when it would overwrite engine
|
|
126
126
|
* content recorded in neither a patch body nor the pristine baseline.
|
|
127
127
|
* The default is a loud warning, because an interactive
|
|
128
|
-
* operator often means to discard the drift
|
|
128
|
+
* operator often means to discard the drift. A scripted gate on a
|
|
129
129
|
* multi-session checkout wants the hard stop.
|
|
130
130
|
*/
|
|
131
131
|
refuseUnexportedDrift?: boolean;
|
|
@@ -181,7 +181,7 @@ export interface ExportOptions extends EngineLockWaitable {
|
|
|
181
181
|
allowOverlap?: boolean;
|
|
182
182
|
/**
|
|
183
183
|
* Force a tier override on the new patch's `PatchMetadata.tier`. Only
|
|
184
|
-
* `"branding"` is currently recognised
|
|
184
|
+
* `"branding"` is currently recognised. Commander rejects other values
|
|
185
185
|
* before the handler runs. Use when a branding patch legitimately
|
|
186
186
|
* touches a non-allowlisted sibling that `isBrandingOnlyPatch` cannot
|
|
187
187
|
* reach (a fork-specific theme override under `browser/themes/<name>/`,
|
|
@@ -190,7 +190,7 @@ export interface ExportOptions extends EngineLockWaitable {
|
|
|
190
190
|
tier?: 'branding';
|
|
191
191
|
/**
|
|
192
192
|
* Lint check IDs to suppress on this patch. Writes to
|
|
193
|
-
* `PatchMetadata.lintIgnore`. Repeatable on the CLI
|
|
193
|
+
* `PatchMetadata.lintIgnore`. Repeatable on the CLI, and each occurrence
|
|
194
194
|
* appends to the list. Useful when a patch is advisory-noisy by nature
|
|
195
195
|
* (a cohesive branding bundle, an auto-generated manifest) and a
|
|
196
196
|
* specific check does not apply, but `--skip-lint` is too coarse a
|
|
@@ -230,7 +230,7 @@ export interface PackageOptions {
|
|
|
230
230
|
export interface ImportOptions {
|
|
231
231
|
/**
|
|
232
232
|
* Answer the engine-drift prompt non-interactively. Unlike `force`,
|
|
233
|
-
* this does
|
|
233
|
+
* this does not waive the patch-integrity gate.
|
|
234
234
|
*/
|
|
235
235
|
yes?: boolean;
|
|
236
236
|
/** Specific patches to apply (by name) */
|
|
@@ -265,15 +265,15 @@ export interface ReExportOptions extends EngineLockWaitable {
|
|
|
265
265
|
/**
|
|
266
266
|
* Path to a JSON manifest containing bulk scan assignments:
|
|
267
267
|
* `{ "assignments": [{ "patch": "<patch>", "files": ["path"] }] }`.
|
|
268
|
-
* Requires `--scan
|
|
268
|
+
* Requires `--scan`. Mutually exclusive with positional patches, `--all`,
|
|
269
269
|
* `--scan-file`, and `--files`.
|
|
270
270
|
*/
|
|
271
271
|
scanFilesManifest?: string;
|
|
272
272
|
/**
|
|
273
273
|
* Restrict the re-exported patch's filesAffected to this explicit list.
|
|
274
|
-
* Files currently in the patch but not in this list are dropped (shrink)
|
|
275
|
-
*
|
|
276
|
-
* exclusive with `--scan` and `--all
|
|
274
|
+
* Files currently in the patch but not in this list are dropped (shrink).
|
|
275
|
+
* Files in this list but not currently in the patch are added. Mutually
|
|
276
|
+
* exclusive with `--scan` and `--all`. Applies to a single target patch
|
|
277
277
|
* at a time.
|
|
278
278
|
*/
|
|
279
279
|
files?: string[];
|
|
@@ -301,21 +301,21 @@ export interface ReExportOptions extends EngineLockWaitable {
|
|
|
301
301
|
* After every selected patch re-exports cleanly, stamp each re-exported
|
|
302
302
|
* patch's `sourceEsrVersion` in `patches.json` to the current
|
|
303
303
|
* `firefox.version` from `fireforge.json`. Opt-in because the default
|
|
304
|
-
* contract of `re-export` is "refresh the patch body and filesAffected"
|
|
305
|
-
*
|
|
304
|
+
* contract of `re-export` is "refresh the patch body and filesAffected".
|
|
305
|
+
* Version stamping is normally a `rebase` responsibility. Use this when
|
|
306
306
|
* re-exporting after a manual Firefox bump that did not go through
|
|
307
307
|
* `rebase`.
|
|
308
308
|
*/
|
|
309
309
|
stamp?: boolean;
|
|
310
310
|
/**
|
|
311
311
|
* Force a tier override on the selected patch(es). Only `"branding"` is
|
|
312
|
-
* currently recognised. Mutually exclusive with `--all
|
|
313
|
-
* changes are virtually always footguns
|
|
312
|
+
* currently recognised. Mutually exclusive with `--all`, since mass
|
|
313
|
+
* tier changes are virtually always footguns: different patches in
|
|
314
314
|
* the queue have different shapes.
|
|
315
315
|
*/
|
|
316
316
|
tier?: 'branding';
|
|
317
317
|
/**
|
|
318
|
-
* Lint check IDs to suppress,
|
|
318
|
+
* Lint check IDs to suppress, appended (union) to the patch's existing
|
|
319
319
|
* `lintIgnore` list. De-duplicated. Mutually exclusive with `--all`. To
|
|
320
320
|
* remove an entry or clear the list, use `fireforge patch lint-ignore`,
|
|
321
321
|
* which has explicit `--add` / `--remove` / `--clear` modes.
|
|
@@ -326,29 +326,29 @@ export interface ReExportOptions extends EngineLockWaitable {
|
|
|
326
326
|
* unmanaged files exist adjacent to the patch's ownership, instead of
|
|
327
327
|
* warning. Gate-driven workflows use this so a freshly created file
|
|
328
328
|
* beside a patch's owned files cannot be silently left out of the
|
|
329
|
-
* refreshed body. Only meaningful on the plain path
|
|
329
|
+
* refreshed body. Only meaningful on the plain path, and mutually
|
|
330
330
|
* exclusive with `--scan` and `--files`, which set filesAffected
|
|
331
331
|
* explicitly.
|
|
332
332
|
*/
|
|
333
333
|
refuseAdjacentUnmanaged?: boolean;
|
|
334
334
|
/**
|
|
335
|
-
* Bypass per-patch lint result cache reads
|
|
335
|
+
* Bypass per-patch lint result cache reads and writes for this invocation
|
|
336
336
|
* (`--no-cache`). The cache is what lets a repeat re-export of an unchanged
|
|
337
337
|
* patch skip the checkJs program build entirely.
|
|
338
338
|
*/
|
|
339
339
|
noCache?: boolean;
|
|
340
340
|
/**
|
|
341
341
|
* Refuse (non-zero exit, patch not written) a re-export whose refreshed
|
|
342
|
-
* body would absorb engine lines not present in the old patch body
|
|
343
|
-
* the multi-session guard against silently capturing another
|
|
344
|
-
* uncommitted edits in files the patch already owns. The drift preview
|
|
345
|
-
* always prints
|
|
342
|
+
* body would absorb engine lines not present in the old patch body.
|
|
343
|
+
* This is the multi-session guard against silently capturing another
|
|
344
|
+
* session's uncommitted edits in files the patch already owns. The drift preview
|
|
345
|
+
* always prints. This flag turns it into a hard stop. Mutually
|
|
346
346
|
* exclusive with `--scan` and `--files`.
|
|
347
347
|
*/
|
|
348
348
|
refuseForeignDrift?: boolean;
|
|
349
349
|
/**
|
|
350
|
-
* Engine-relative files whose drift is
|
|
351
|
-
*
|
|
350
|
+
* Engine-relative files whose drift is expected (`--expect`, repeatable).
|
|
351
|
+
* Requires `--refuse-foreign-drift`. The content-based drift detector
|
|
352
352
|
* cannot tell the exporting session's own slice edits from another
|
|
353
353
|
* session's, so a slice export under the refusal flag names its intended
|
|
354
354
|
* files here: drift confined to expected files proceeds, drift anywhere
|
|
@@ -356,20 +356,21 @@ export interface ReExportOptions extends EngineLockWaitable {
|
|
|
356
356
|
*/
|
|
357
357
|
expect?: string[];
|
|
358
358
|
/**
|
|
359
|
-
* Engine-relative files that are an
|
|
360
|
-
* (`--expect-unmanaged`, repeatable
|
|
361
|
-
* `--refuse-adjacent-unmanaged
|
|
362
|
-
* without it: a project with a reviewed,
|
|
363
|
-
* a patch's ownership has to drop the flag entirely and hand-read
|
|
364
|
-
* notice, which is a weaker belt than the one being disarmed.
|
|
365
|
-
* paths are still
|
|
359
|
+
* Engine-relative files that are an approved unmanaged exception
|
|
360
|
+
* (`--expect-unmanaged`, repeatable). Requires
|
|
361
|
+
* `--refuse-adjacent-unmanaged`. The adjacency refusal is all-or-nothing
|
|
362
|
+
* without it: a project with a reviewed, intentionally unmanaged path
|
|
363
|
+
* beside a patch's ownership has to drop the flag entirely and hand-read
|
|
364
|
+
* the notice, which is a weaker belt than the one being disarmed.
|
|
365
|
+
* Approved paths are still listed. They are carved out of the refusal
|
|
366
|
+
* rather than hidden.
|
|
366
367
|
*/
|
|
367
368
|
expectUnmanaged?: string[];
|
|
368
369
|
}
|
|
369
370
|
/**
|
|
370
371
|
* Options for the `fireforge patch tier` subcommand. Sets or clears the
|
|
371
372
|
* `PatchMetadata.tier` field on a single patch without rewriting the
|
|
372
|
-
* `.patch` file body
|
|
373
|
+
* `.patch` file body. The manifest is the only thing that changes.
|
|
373
374
|
*/
|
|
374
375
|
export interface PatchTierOptions extends Confirmable, DryRunnable, PatchLockWaitable {
|
|
375
376
|
/** Force the named tier on the patch. Only `"branding"` is recognised. */
|
|
@@ -379,7 +380,7 @@ export interface PatchTierOptions extends Confirmable, DryRunnable, PatchLockWai
|
|
|
379
380
|
}
|
|
380
381
|
/**
|
|
381
382
|
* Options for the `fireforge patch lint-ignore` subcommand. Modes are
|
|
382
|
-
* mutually exclusive
|
|
383
|
+
* mutually exclusive: exactly one of `add`, `remove`, or `clear` must
|
|
383
384
|
* be set per invocation.
|
|
384
385
|
*/
|
|
385
386
|
export interface PatchLintIgnoreOptions extends Confirmable, DryRunnable, PatchLockWaitable {
|
|
@@ -432,7 +433,7 @@ export interface PatchSplitOptions extends Confirmable, PatchLockWaitable, Unsaf
|
|
|
432
433
|
files: string[];
|
|
433
434
|
/** Name for the new patch (used in its filename slug). */
|
|
434
435
|
name: string;
|
|
435
|
-
/** Category for the new patch
|
|
436
|
+
/** Category for the new patch. Defaults to the source patch's category. */
|
|
436
437
|
category?: string;
|
|
437
438
|
/** Description for the new patch. */
|
|
438
439
|
description?: string;
|
|
@@ -461,7 +462,7 @@ export interface PatchMoveFilesOptions extends Confirmable, PatchLockWaitable, U
|
|
|
461
462
|
create?: boolean;
|
|
462
463
|
/** Exact sparse order for the created patch. Only valid with `create`. */
|
|
463
464
|
order?: number;
|
|
464
|
-
/** Category for the created patch
|
|
465
|
+
/** Category for the created patch. Defaults to the source patch's. */
|
|
465
466
|
category?: string;
|
|
466
467
|
/** Description for the created patch. */
|
|
467
468
|
description?: string;
|
|
@@ -500,15 +501,15 @@ export interface RunOptions {
|
|
|
500
501
|
* Enable smoke-run mode. Launches the browser, streams the console,
|
|
501
502
|
* sends SIGTERM to the whole process group after `smokeExit` seconds,
|
|
502
503
|
* and applies the smoke exit contract:
|
|
503
|
-
* - `0
|
|
504
|
-
* - `ExitCode.SMOKE_EXIT_FAILURE` (12)
|
|
504
|
+
* - `0`: clean window (no unallowed error lines).
|
|
505
|
+
* - `ExitCode.SMOKE_EXIT_FAILURE` (12): one or more console lines
|
|
505
506
|
* matched the error heuristic and were not covered by the allowlist.
|
|
506
|
-
* - `ExitCode.SMOKE_LAUNCH_FAILURE` (13)
|
|
507
|
-
* non-clean status before the smoke window elapsed (launch-side
|
|
508
|
-
* failure we cannot observe as a console line
|
|
509
|
-
* wiring, missing profile
|
|
507
|
+
* - `ExitCode.SMOKE_LAUNCH_FAILURE` (13): the browser exited with a
|
|
508
|
+
* non-clean status before the smoke window elapsed (a launch-side
|
|
509
|
+
* failure we cannot observe as a console line, such as a crash
|
|
510
|
+
* before console wiring, or a missing profile).
|
|
510
511
|
*
|
|
511
|
-
* POSIX only (process-group semantics do not map cleanly onto Windows)
|
|
512
|
+
* POSIX only (process-group semantics do not map cleanly onto Windows).
|
|
512
513
|
* `runSmokeExit` rejects the flag up front on `win32`.
|
|
513
514
|
*/
|
|
514
515
|
smokeExit?: number;
|
|
@@ -520,7 +521,7 @@ export interface RunOptions {
|
|
|
520
521
|
consoleAllow?: string[];
|
|
521
522
|
/**
|
|
522
523
|
* Path to a newline-delimited allowlist regex file. Blank lines and
|
|
523
|
-
* `#` comments are ignored
|
|
524
|
+
* `#` comments are ignored. Each remaining line is compiled as a
|
|
524
525
|
* regex and appended to the active allowlist.
|
|
525
526
|
*/
|
|
526
527
|
consoleAllowFile?: string;
|
|
@@ -555,7 +556,7 @@ export interface TestOptions extends EngineLockWaitable {
|
|
|
555
556
|
* Run the scoped pre-test build (packaging exactly the requested paths,
|
|
556
557
|
* MIXED harnesses allowed) and exit without dispatching tests. One
|
|
557
558
|
* ~10-minute build then covers both an xpcshell and a browser-chrome
|
|
558
|
-
* half of a slice
|
|
559
|
+
* half of a slice. Run each harness afterwards without `--build`.
|
|
559
560
|
* Emits `FIREFORGE-VERDICT: PASS` on success.
|
|
560
561
|
*/
|
|
561
562
|
buildOnly?: boolean;
|
|
@@ -573,7 +574,7 @@ export interface TestOptions extends EngineLockWaitable {
|
|
|
573
574
|
* Forwarded to the PRE-TEST build: refuse (rather than warn) when that
|
|
574
575
|
* build would overwrite engine content recorded in neither a patch body
|
|
575
576
|
* nor the pristine baseline. Same meaning as `fireforge build`'s flag of
|
|
576
|
-
* the same name
|
|
577
|
+
* the same name. A scripted `test --build` is exactly the shape the
|
|
577
578
|
* multi-session hazard shows up in, and until now it was the one shape
|
|
578
579
|
* that could not arm the refusal. Valid only with `--build`/`--build-only`.
|
|
579
580
|
*/
|
|
@@ -589,8 +590,8 @@ export interface TestOptions extends EngineLockWaitable {
|
|
|
589
590
|
/**
|
|
590
591
|
* Extra arguments forwarded verbatim to `mach test` (repeatable). Escape
|
|
591
592
|
* valve for upstream xpcshell/mochitest flags that FireForge does not
|
|
592
|
-
* model directly. Order relative to other flags is preserved
|
|
593
|
-
* values appear after `--headless` if both are set.
|
|
593
|
+
* model directly. Order relative to other flags is preserved, and
|
|
594
|
+
* passthrough values appear after `--headless` if both are set.
|
|
594
595
|
*/
|
|
595
596
|
machArg?: string[];
|
|
596
597
|
/**
|
|
@@ -608,8 +609,8 @@ export interface TestOptions extends EngineLockWaitable {
|
|
|
608
609
|
/**
|
|
609
610
|
* Terminate harness helper processes (`xpcshell` httpd, `pywebsocket`,
|
|
610
611
|
* `ssltunnel`, `moz-http2`) that survived an earlier run in this
|
|
611
|
-
* project's objdir. The census itself runs on
|
|
612
|
-
* report-only
|
|
612
|
+
* project's objdir. The census itself runs on every test dispatch and is
|
|
613
|
+
* report-only. This flag opts into the kill. Survivors slow later runs
|
|
613
614
|
* without appearing in their output, so the visibility is the default and
|
|
614
615
|
* the termination is the choice.
|
|
615
616
|
*/
|
|
@@ -618,9 +619,9 @@ export interface TestOptions extends EngineLockWaitable {
|
|
|
618
619
|
allowStaleBuild?: boolean;
|
|
619
620
|
/**
|
|
620
621
|
* Permit tests despite `components.conf` changes that only a full
|
|
621
|
-
* `fireforge build` compiles into the StaticComponents table
|
|
622
|
-
* packaged child process will resolve the
|
|
623
|
-
* rebuilt out-of-band and accept the risk
|
|
622
|
+
* `fireforge build` compiles into the StaticComponents table. The
|
|
623
|
+
* packaged child process will resolve the old table. For operators who
|
|
624
|
+
* rebuilt out-of-band and accept the risk. Distinct from
|
|
624
625
|
* `allowStaleBuild`, which only accepts stale packaged content.
|
|
625
626
|
*/
|
|
626
627
|
allowStaleComponents?: boolean;
|
|
@@ -637,14 +638,14 @@ export interface TestOptions extends EngineLockWaitable {
|
|
|
637
638
|
* Force dispatch through the generic `mach test` command instead of the
|
|
638
639
|
* suite-specific `mach xpcshell-test` / `mach mochitest` commands a
|
|
639
640
|
* single-suite run auto-selects. Escape hatch for the rare case where a
|
|
640
|
-
* suite-specific command misbehaves
|
|
641
|
+
* suite-specific command misbehaves. On a healthy host the generic command
|
|
641
642
|
* is equivalent. The default (auto suite dispatch) skips the mozlog
|
|
642
643
|
* resource monitor that crashes `mach test` on a broken host.
|
|
643
644
|
*/
|
|
644
645
|
genericMachTest?: boolean;
|
|
645
646
|
/**
|
|
646
647
|
* Commander negation flag for `--no-shard`. When false, multiple test
|
|
647
|
-
* paths run in one combined mach invocation
|
|
648
|
+
* paths run in one combined mach invocation. By default they shard into
|
|
648
649
|
* sequential single-file harness runs with an aggregate report.
|
|
649
650
|
*/
|
|
650
651
|
shard?: boolean;
|
|
@@ -773,15 +774,15 @@ export interface FurnaceCreateOptions {
|
|
|
773
774
|
* Test harness style to scaffold when `--with-tests` is set.
|
|
774
775
|
*
|
|
775
776
|
* - `browser-chrome` (default when `--with-tests` is set without
|
|
776
|
-
* `--test-style`)
|
|
777
|
+
* `--test-style`): browser mochitest scaffold. Requires a working
|
|
777
778
|
* `tabbrowser`. Prefer this for interactive chrome/widget coverage
|
|
778
779
|
* (including on macOS).
|
|
779
|
-
* - `mochikit
|
|
780
|
+
* - `mochikit`: opt-in MochiKit test at
|
|
780
781
|
* `engine/toolkit/content/tests/widgets/test_<tag>.html` that loads
|
|
781
782
|
* the component via `chrome://global/`. Use when the top-level chrome
|
|
782
|
-
* document lacks a `tabbrowser
|
|
783
|
+
* document lacks a `tabbrowser`. On macOS the toolkit mochitest-chrome
|
|
783
784
|
* flavor can be unreliable (long idle timeout).
|
|
784
|
-
* - `xpcshell
|
|
785
|
+
* - `xpcshell`: equivalent to setting `--xpcshell`. Headless, storage-only.
|
|
785
786
|
*/
|
|
786
787
|
testStyle?: 'mochikit' | 'browser-chrome' | 'xpcshell';
|
|
787
788
|
/** Stock component tag names composed internally by this component */
|
|
@@ -807,7 +808,7 @@ export interface FurnaceCreateOptions {
|
|
|
807
808
|
* Without this flag, a name that does not start with the prefix is
|
|
808
809
|
* rejected before any files are written, so a prefix-mismatched
|
|
809
810
|
* component cannot leave behind a half-scaffolded state. Pass this
|
|
810
|
-
* flag only when you know the prefix mismatch is intentional
|
|
811
|
+
* flag only when you know the prefix mismatch is intentional, e.g.
|
|
811
812
|
* creating an experimental component whose name intentionally breaks
|
|
812
813
|
* the fork's convention.
|
|
813
814
|
*/
|
|
@@ -859,25 +860,25 @@ export interface PatchRenameOptions extends Confirmable, DryRunnable, PatchLockW
|
|
|
859
860
|
* New human-readable name. Sanitised the same way `export --name`
|
|
860
861
|
* sanitises into the filename slug (lowercase, non-alphanumerics
|
|
861
862
|
* collapsed to `-`, length-capped). The patch's `name` field stores
|
|
862
|
-
* the raw value
|
|
863
|
+
* the raw value. The filename uses the sanitised slug. Optional when
|
|
863
864
|
* `--category`/`--order`/`--description` carry the change.
|
|
864
865
|
*/
|
|
865
866
|
to?: string;
|
|
866
867
|
/**
|
|
867
868
|
* New category (validated against configured categories). Rewrites
|
|
868
|
-
* the filename prefix and the manifest row in one transaction
|
|
869
|
+
* the filename prefix and the manifest row in one transaction, so
|
|
869
870
|
* recategorising no longer requires `patch delete` + fresh export.
|
|
870
871
|
*/
|
|
871
872
|
category?: string;
|
|
872
873
|
/**
|
|
873
|
-
* Move the patch to this exact
|
|
874
|
-
* with a pointer to `patch reorder` (which renumbers siblings)
|
|
874
|
+
* Move the patch to this exact unused sparse order. Collisions refuse
|
|
875
|
+
* with a pointer to `patch reorder` (which renumbers siblings). An
|
|
875
876
|
* order change is projected through cross-patch lint first.
|
|
876
877
|
*/
|
|
877
878
|
order?: number;
|
|
878
879
|
/**
|
|
879
880
|
* Replacement description. Omit to leave the description unchanged
|
|
880
|
-
* (intentional
|
|
881
|
+
* (intentional: operators frequently want to relabel the slug
|
|
881
882
|
* without touching the description).
|
|
882
883
|
*/
|
|
883
884
|
description?: string;
|
|
@@ -906,9 +907,9 @@ export interface StatusOptions {
|
|
|
906
907
|
/**
|
|
907
908
|
* Report the engine-session lock instead of file status:
|
|
908
909
|
* holder pid, the command it is running, how long it has held the lock,
|
|
909
|
-
* and how many waiters are queued behind it. Read-only
|
|
910
|
+
* and how many waiters are queued behind it. Read-only: it never
|
|
910
911
|
* acquires the lock, so it is safe to run while a build or test holds
|
|
911
|
-
* it, which is
|
|
912
|
+
* it, which is when an operator usually asks.
|
|
912
913
|
*/
|
|
913
914
|
lock?: boolean;
|
|
914
915
|
unmanaged?: boolean;
|
|
@@ -921,7 +922,7 @@ export interface StatusOptions {
|
|
|
921
922
|
ownership?: boolean;
|
|
922
923
|
/**
|
|
923
924
|
* Print the recorded test-packaging coverage of the last build baseline
|
|
924
|
-
* (scope, timestamp, recording invocation) and exit. Read-only
|
|
925
|
+
* (scope, timestamp, recording invocation) and exit. Read-only, and the
|
|
925
926
|
* counterpart to the out-of-coverage test refusal.
|
|
926
927
|
*/
|
|
927
928
|
testCoverage?: boolean;
|
|
@@ -936,18 +937,18 @@ export interface StatusOptions {
|
|
|
936
937
|
summary?: boolean;
|
|
937
938
|
/**
|
|
938
939
|
* With `--json` (and composing with `--summary`), append an additive
|
|
939
|
-
* `ownership` block
|
|
940
|
-
* managed/unmanaged/conflict counts
|
|
941
|
-
* classification, and the check verdict from
|
|
942
|
-
* back-to-back `status` invocations.
|
|
943
|
-
* semantics are unchanged, so ownership conflicts still fail
|
|
944
|
-
* human `--ownership` mode. Refused without `--json`.
|
|
940
|
+
* `ownership` block (the flat path→owning-patch rows plus
|
|
941
|
+
* managed/unmanaged/conflict counts) so a gate reads ownership,
|
|
942
|
+
* classification, and the check verdict from one scan instead of three
|
|
943
|
+
* back-to-back `status` invocations. This is a modifier rather than a
|
|
944
|
+
* mode: exit semantics are unchanged, so ownership conflicts still fail
|
|
945
|
+
* only the human `--ownership` mode. Refused without `--json`.
|
|
945
946
|
*/
|
|
946
947
|
includeOwnership?: boolean;
|
|
947
948
|
/**
|
|
948
949
|
* Exit non-zero when any classification in the fail policy is
|
|
949
950
|
* non-empty (default policy: unmanaged, patch-owned-drift, conflict).
|
|
950
|
-
* Composes with the default view and `--json
|
|
951
|
+
* Composes with the default view and `--json`. Refused alongside
|
|
951
952
|
* `--raw`/`--unmanaged`/`--ownership`/`--test-coverage`.
|
|
952
953
|
*/
|
|
953
954
|
check?: boolean;
|
|
@@ -963,7 +964,7 @@ export interface StatusOptions {
|
|
|
963
964
|
*/
|
|
964
965
|
export interface TokenAddOptions {
|
|
965
966
|
/**
|
|
966
|
-
* Required for a base declaration
|
|
967
|
+
* Required for a base declaration. Optional under
|
|
967
968
|
* {@link TokenAddOptions.variant}, which routes into a `:root<selector>`
|
|
968
969
|
* block where no category applies.
|
|
969
970
|
*/
|
|
@@ -1038,8 +1039,8 @@ export interface LintCommandOptions {
|
|
|
1038
1039
|
/**
|
|
1039
1040
|
* When set, tag each issue as `introduced` or `cumulative` based on
|
|
1040
1041
|
* whether its file changed since this git revision (e.g. `HEAD`, a
|
|
1041
|
-
* branch name, or a SHA). Issues are not filtered
|
|
1042
|
-
* prints
|
|
1042
|
+
* branch name, or a SHA). Issues are not filtered and the full set
|
|
1043
|
+
* still prints, but a diff-scoped summary makes it easy to see which
|
|
1043
1044
|
* errors the current task introduced.
|
|
1044
1045
|
*/
|
|
1045
1046
|
since?: string;
|
|
@@ -1062,8 +1063,8 @@ export interface LintCommandOptions {
|
|
|
1062
1063
|
* On a repo where `import` or `rebase` has just applied the full queue,
|
|
1063
1064
|
* the aggregate diff sums every patch's changes, and the patch-size
|
|
1064
1065
|
* advisory rules (`large-patch-lines`, `large-patch-files`) fire against
|
|
1065
|
-
* that sum
|
|
1066
|
-
* patches. `--per-patch` rescopes the diff to each patch's own
|
|
1066
|
+
* that sum, reporting "Patch is 37529 lines" for a queue of
|
|
1067
|
+
* individually-fine patches. `--per-patch` rescopes the diff to each patch's own
|
|
1067
1068
|
* `filesAffected`, honours the patch's own `lintIgnore`, and runs the
|
|
1068
1069
|
* cross-patch rules once over the whole queue so queue-level findings
|
|
1069
1070
|
* still surface.
|
|
@@ -1076,7 +1077,7 @@ export interface LintCommandOptions {
|
|
|
1076
1077
|
* Restrict `--per-patch` to a named subset of the queue (by filename,
|
|
1077
1078
|
* filename ± `.patch`, or manifest `name`). Lets a change that touches a
|
|
1078
1079
|
* handful of patches run the per-patch gate over just those instead of
|
|
1079
|
-
* the full ~90-patch queue. Only valid with {@link perPatch}
|
|
1080
|
+
* the full ~90-patch queue. Only valid with {@link perPatch}. Queue-level
|
|
1080
1081
|
* findings (policy, cross-patch) are scoped to files the subset touches.
|
|
1081
1082
|
*/
|
|
1082
1083
|
patches?: string[];
|
|
@@ -32,21 +32,21 @@ export interface PatchResult {
|
|
|
32
32
|
/** Whether the patch was auto-resolved (new file vs existing file conflict) */
|
|
33
33
|
autoResolved?: boolean;
|
|
34
34
|
/**
|
|
35
|
-
* Pre-existing
|
|
36
|
-
* new file, removed), keyed by engine-relative path. Kept for the
|
|
37
|
-
* duration
|
|
35
|
+
* Pre-existing bytes of files the auto-resolve overwrote (or, for a
|
|
36
|
+
* binary new file, removed), keyed by engine-relative path. Kept for the
|
|
37
|
+
* whole run's duration, not just the retry: if a later patch fails and
|
|
38
38
|
* `rollbackPatches` reverse-applies this one, reversing a new-file patch
|
|
39
|
-
*
|
|
40
|
-
* there before the auto-resolve.
|
|
39
|
+
* deletes the file, and these snapshots are the only way to restore what
|
|
40
|
+
* was there before the auto-resolve.
|
|
41
41
|
*
|
|
42
42
|
* Raw bytes rather than decoded text, because the same snapshot has to
|
|
43
43
|
* restore a binary target byte-for-byte.
|
|
44
44
|
*
|
|
45
|
-
* Typed `Uint8Array
|
|
46
|
-
* emitted `.d.ts` naming a Node global made a consumer without
|
|
45
|
+
* Typed `Uint8Array` rather than `Buffer`: this interface is published,
|
|
46
|
+
* and the emitted `.d.ts` naming a Node global made a consumer without
|
|
47
47
|
* `@types/node` fail to compile against the package (`TS2591` in the
|
|
48
|
-
* pack smoke test). Every `Buffer` assigns to it
|
|
49
|
-
* `Uint8Array
|
|
48
|
+
* pack smoke test). Every `Buffer` assigns to it, since `Buffer` extends
|
|
49
|
+
* `Uint8Array`, and `fs.writeFile` accepts it, so nothing at the call
|
|
50
50
|
* sites changes.
|
|
51
51
|
*/
|
|
52
52
|
autoResolvedOriginals?: Map<string, Uint8Array>;
|
|
@@ -81,15 +81,15 @@ export interface PatchMetadata {
|
|
|
81
81
|
/**
|
|
82
82
|
* Optional per-patch list of lint check IDs to suppress when this patch is
|
|
83
83
|
* the target of `export`, `export-all`, or `re-export`. Exists for the
|
|
84
|
-
* class of patch that is advisory-noisy by nature
|
|
85
|
-
* bundle, a localised-resource pack, an auto-generated manifest
|
|
84
|
+
* class of patch that is advisory-noisy by nature (a cohesive branding
|
|
85
|
+
* bundle, a localised-resource pack, an auto-generated manifest) where
|
|
86
86
|
* the generic `large-patch-lines` / `large-patch-files` thresholds do not
|
|
87
87
|
* apply but `--skip-lint`, which silences every error rather than the one
|
|
88
88
|
* that does not apply, is too coarse.
|
|
89
89
|
*
|
|
90
90
|
* Values are free-form check IDs (e.g. `"large-patch-lines"`). Checks not
|
|
91
91
|
* listed here still run normally. An entry for an unknown check ID is a
|
|
92
|
-
* no-op
|
|
92
|
+
* no-op: the metadata documents the intent to suppress even if the check
|
|
93
93
|
* is later renamed or removed.
|
|
94
94
|
*/
|
|
95
95
|
lintIgnore?: string[];
|
|
@@ -99,14 +99,14 @@ export interface PatchMetadata {
|
|
|
99
99
|
* cross-cutting registration files alongside `browser/branding/<name>/`
|
|
100
100
|
* (notably `browser/moz.configure`, which registers the new branding
|
|
101
101
|
* flavor with the top-level configure). The narrow auto-detect allowlist
|
|
102
|
-
* in `isBrandingOnlyPatch` covers the canonical shape
|
|
102
|
+
* in `isBrandingOnlyPatch` covers the canonical shape. A fork whose
|
|
103
103
|
* branding patch also touches an unlisted sibling falls through to the
|
|
104
104
|
* general tier and trips the hard limit on what is legitimately one
|
|
105
105
|
* branding diff.
|
|
106
106
|
*
|
|
107
107
|
* Declaring `tier: "branding"` forces the branding thresholds (notice
|
|
108
108
|
* 8000 / warning 18000 / error 30000 lines, ≤60 files) regardless of
|
|
109
|
-
* `filesAffected`. It is
|
|
109
|
+
* `filesAffected`. It is a weaker claim than test: an all-tests patch
|
|
110
110
|
* stays in the test tier even with this set, because those thresholds are
|
|
111
111
|
* already more permissive.
|
|
112
112
|
*
|
|
@@ -130,11 +130,11 @@ export interface PatchStagedDependencies {
|
|
|
130
130
|
forwardImports?: PatchStagedForwardImport[];
|
|
131
131
|
/**
|
|
132
132
|
* Registration-shaped forward dependencies: packaging or registration
|
|
133
|
-
*
|
|
133
|
+
* lines (a jar.mn entry, a customElements registration, an actor
|
|
134
134
|
* registration) this patch adds that reference a file a later patch
|
|
135
135
|
* creates. Unlike `forwardImports`, these are validated by matching the
|
|
136
|
-
* declared line against the patch's added content
|
|
137
|
-
* import specifier
|
|
136
|
+
* declared line against the patch's added content rather than by finding
|
|
137
|
+
* an import specifier, since packaging lines have no import to match.
|
|
138
138
|
*/
|
|
139
139
|
registrations?: PatchStagedRegistration[];
|
|
140
140
|
}
|
|
@@ -227,8 +227,8 @@ export interface PatchLintIssue {
|
|
|
227
227
|
* Diff-scoping tag populated by `lint --since <rev>`. Absent when the
|
|
228
228
|
* caller did not request diff-scoping.
|
|
229
229
|
*
|
|
230
|
-
* - `introduced
|
|
231
|
-
* - `cumulative
|
|
230
|
+
* - `introduced`: the issue's file was touched in the diff since `<rev>`.
|
|
231
|
+
* - `cumulative`: the issue is pre-existing patch-state drift not
|
|
232
232
|
* introduced by the current task.
|
|
233
233
|
*/
|
|
234
234
|
tag?: 'introduced' | 'cumulative';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Result of a doctor check.
|
|
6
6
|
*
|
|
7
|
-
* `severity` is the single source of truth
|
|
7
|
+
* `severity` is the single source of truth. Consumers that want a boolean
|
|
8
8
|
* derive it as `severity !== 'error'`.
|
|
9
9
|
*/
|
|
10
10
|
export interface DoctorCheck {
|
|
@@ -23,7 +23,7 @@ export interface DoctorCheck {
|
|
|
23
23
|
export interface TokenCoverageFileEntry {
|
|
24
24
|
/** File path (relative to engine root) */
|
|
25
25
|
file: string;
|
|
26
|
-
/** var(--{prefix}*) usages
|
|
26
|
+
/** var(--{prefix}*) usages, fully tokenized */
|
|
27
27
|
tokenUsages: number;
|
|
28
28
|
/** var(--*) usages referencing allowlisted tokens */
|
|
29
29
|
allowlisted: number;
|
|
@@ -38,7 +38,7 @@ export interface TokenCoverageFileEntry {
|
|
|
38
38
|
export interface TokenCoverageReport {
|
|
39
39
|
/** Total CSS files scanned */
|
|
40
40
|
filesScanned: number;
|
|
41
|
-
/** var(--{prefix}*) usages
|
|
41
|
+
/** var(--{prefix}*) usages, fully tokenized */
|
|
42
42
|
tokenUsages: number;
|
|
43
43
|
/** var(--*) usages referencing allowlisted tokens */
|
|
44
44
|
allowlistedUsages: number;
|