@bensandee/tooling 0.111.0 → 0.112.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/dist/bin.mjs +259 -212
- package/package.json +1 -1
- package/tooling.schema.json +40 -0
package/package.json
CHANGED
package/tooling.schema.json
CHANGED
|
@@ -729,6 +729,42 @@
|
|
|
729
729
|
"runOnVersionPr": {
|
|
730
730
|
"description": "Run the CI check job on the changesets version PR (changeset-release/<defaultBranch>). Default false: the generated check job is skipped there, because that branch is regenerated on every push to the default branch and that branch's own run gates the release. Has no effect unless releaseStrategy is changesets.",
|
|
731
731
|
"type": "boolean"
|
|
732
|
+
},
|
|
733
|
+
"selectiveTests": {
|
|
734
|
+
"description": "Run only the tests a branch reaches through imports, on an in-run gate (`checks:run --changed`). `false` disables the setting for the repo; the object tunes the selection. Omit to use bst's defaults. A full suite is always what CI, the host backstop and `pnpm check` run -- this only ever narrows the test step of a step that opted in.",
|
|
735
|
+
"anyOf": [
|
|
736
|
+
{
|
|
737
|
+
"type": "boolean",
|
|
738
|
+
"const": false
|
|
739
|
+
},
|
|
740
|
+
{
|
|
741
|
+
"type": "object",
|
|
742
|
+
"properties": {
|
|
743
|
+
"ignore": {
|
|
744
|
+
"description": "Globs of changed paths that cannot affect any test, dropped from the selection. Unions with bst's defaults (docs/**, .changeset/**, .agent/findings/**), which it never replaces.",
|
|
745
|
+
"type": "array",
|
|
746
|
+
"items": {
|
|
747
|
+
"type": "string"
|
|
748
|
+
}
|
|
749
|
+
},
|
|
750
|
+
"fullSuite": {
|
|
751
|
+
"description": "Globs of changed paths that force the full suite instead of a selection, e.g. a package whose source is injected into every test at build time.",
|
|
752
|
+
"type": "array",
|
|
753
|
+
"items": {
|
|
754
|
+
"type": "string"
|
|
755
|
+
}
|
|
756
|
+
},
|
|
757
|
+
"alwaysRun": {
|
|
758
|
+
"description": "Test files run on every selective step, whatever the change. For a test that reads the tree, dist/, or starts a built bin: the import graph cannot see those edges.",
|
|
759
|
+
"type": "array",
|
|
760
|
+
"items": {
|
|
761
|
+
"type": "string"
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
},
|
|
765
|
+
"additionalProperties": false
|
|
766
|
+
}
|
|
767
|
+
]
|
|
732
768
|
}
|
|
733
769
|
},
|
|
734
770
|
"additionalProperties": false
|
|
@@ -858,6 +894,10 @@
|
|
|
858
894
|
"pattern": "^[\\w:*?.\\-[\\]{}!,]+$"
|
|
859
895
|
}
|
|
860
896
|
},
|
|
897
|
+
"selectiveTestGate": {
|
|
898
|
+
"description": "Whether an agent run's check gate passes its containers a ref so the test step runs only the tests the branch reaches, plus the always-run list (`checks.selectiveTests`). Off when the key is absent: the host backstop has to measure the selection for a couple of weeks before a run may rely on it. Read from the repo's DEFAULT BRANCH only, like `localVerify`. Has no effect unless `agent.enabled` is true.",
|
|
899
|
+
"type": "boolean"
|
|
900
|
+
},
|
|
861
901
|
"localVerify": {
|
|
862
902
|
"description": "Keep an agent run's check gate in the agent's own sandboxed verify container instead of measuring it on this repo's forge CI. `true` is the local verify; leaving the key out is the other answer, so the agent waits for the CI run of the commit it pushed and reads its `checks:run` job log, falling back to the local verify whenever CI cannot stand in. Read from the repo's DEFAULT BRANCH only, never off the pull request's own tree, so a pull request cannot choose the gate that measures it. Like every other `agent.*` key, this has no effect unless `agent.enabled` is true.",
|
|
863
903
|
"type": "boolean"
|