@mutmutco/pi-plugin 4.5.234 → 4.5.236
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/package.json
CHANGED
|
@@ -207,12 +207,24 @@ jobs:
|
|
|
207
207
|
run: |
|
|
208
208
|
python3 --version || { echo "::error title=CI runner toolchain::RUNNER NOT PROVISIONED — python3 not on PATH after setup-python. This is the runner, not your diff; no install or test ran. Re-run the job; if it persists the mmi-runner python toolchain needs attention (docs/Guides/gh-runner-runbook.md in MMI-Hub)."; exit 1; }
|
|
209
209
|
- run: {{GATE_INSTALL_CMD}}
|
|
210
|
-
if: ${{ steps.development-gate.outputs.reuse != 'true' }}
|
|
210
|
+
if: ${{ steps.development-gate.outputs.reuse != 'true' }}{{GATE_JEV_FETCH_YAML}}
|
|
211
211
|
# #3178: the check runs under the org wall-clock budget — a hung suite dies at the ceiling instead
|
|
212
212
|
# of squatting a runner lane for GitHub's 6h default. ci-audit + the release train enforce this step.
|
|
213
|
+
# #9293: PRs fail fast, merge_group and tags run everything. pytest reads PYTEST_ADDOPTS natively; a
|
|
214
|
+
# Node check script opts in with MMI_FAIL_FAST (`vitest run ${MMI_FAIL_FAST:+--bail=1}`, or
|
|
215
|
+
# `--fail-fast` on the org node runner). #9295: on PRs the Jev plan step exports JEV_PYTEST_ARGS
|
|
216
|
+
# (`--ignore=<path>` per skipped file, folded into PYTEST_ADDOPTS) and JEV_VITEST_ARGS; a Node check script
|
|
217
|
+
# opts in to the skips with `vitest run ${MMI_FAIL_FAST:+--bail=1} $MMI_JEV_SKIP_ARGS`. The merge queue
|
|
218
|
+
# never skips. The Jev fetch/plan/outcomes steps around this one (#9295) render
|
|
219
|
+
# only once bootstrap carries a blessed jev-failures pin; they are continue-on-error and never fail it. The
|
|
220
|
+
# outcomes step runs under always() (pass or fail).
|
|
213
221
|
- uses: mutmutco/MMI-Hub/.github/actions/run-with-budget@{{GATE_BUDGET_SHA}}
|
|
214
222
|
if: ${{ steps.development-gate.outputs.reuse != 'true' }}
|
|
223
|
+
env:
|
|
224
|
+
MMI_FAIL_FAST: ${{ github.event_name == 'pull_request' && '1' || '' }}
|
|
225
|
+
PYTEST_ADDOPTS: ${{ github.event_name == 'pull_request' && format('--maxfail=1 {0}', env.JEV_PYTEST_ARGS) || '' }}
|
|
226
|
+
MMI_JEV_SKIP_ARGS: ${{ github.event_name == 'pull_request' && env.JEV_VITEST_ARGS || '' }}
|
|
215
227
|
with:
|
|
216
228
|
command: {{GATE_CMD}}
|
|
217
229
|
max-seconds: {{GATE_MAX_SECONDS}}
|
|
218
|
-
working-directory: {{GATE_WORKDIR}}{{GATE_EXTRA_STEPS_YAML}}
|
|
230
|
+
working-directory: {{GATE_WORKDIR}}{{GATE_EXTRA_STEPS_YAML}}{{GATE_JEV_REPORT_YAML}}
|
|
@@ -78,10 +78,15 @@ jobs:
|
|
|
78
78
|
# Suite only: generic product gates must not load or require design-agent content.
|
|
79
79
|
- name: Check kit agent-file drift
|
|
80
80
|
if: ${{ steps.development-gate.outputs.reuse != 'true' }}
|
|
81
|
-
uses: mutmutco/MMI-Hub/.github/actions/check-kit-agent-files@{{KIT_AGENT_FILES_SHA}} # #9161: own pin — this action postdates the shared runner pin
|
|
81
|
+
uses: mutmutco/MMI-Hub/.github/actions/check-kit-agent-files@{{KIT_AGENT_FILES_SHA}} # #9161: own pin — this action postdates the shared runner pin{{GATE_JEV_FETCH_YAML}}
|
|
82
|
+
# #9293: PRs fail fast (the module check reads MMI_FAIL_FAST); merge_group and tags run everything.
|
|
83
|
+
# #9295: a module check opts in to Jev PR-only skips with `vitest run $MMI_JEV_SKIP_ARGS` (set on PRs only).
|
|
82
84
|
- uses: mutmutco/MMI-Hub/.github/actions/run-with-budget@{{GATE_BUDGET_SHA}}
|
|
83
85
|
if: ${{ steps.development-gate.outputs.reuse != 'true' }}
|
|
86
|
+
env:
|
|
87
|
+
MMI_FAIL_FAST: ${{ github.event_name == 'pull_request' && '1' || '' }}
|
|
88
|
+
MMI_JEV_SKIP_ARGS: ${{ github.event_name == 'pull_request' && env.JEV_VITEST_ARGS || '' }}
|
|
84
89
|
with:
|
|
85
90
|
command: npm run typecheck && npm run build && npm --prefix module run check
|
|
86
91
|
max-seconds: {{GATE_MAX_SECONDS}}
|
|
87
|
-
working-directory: .
|
|
92
|
+
working-directory: .{{GATE_JEV_REPORT_YAML}}
|