@mutmutco/pi-plugin 4.5.235 → 4.5.237
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
|
@@ -212,13 +212,18 @@ jobs:
|
|
|
212
212
|
# of squatting a runner lane for GitHub's 6h default. ci-audit + the release train enforce this step.
|
|
213
213
|
# #9293: PRs fail fast, merge_group and tags run everything. pytest reads PYTEST_ADDOPTS natively; a
|
|
214
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).
|
|
216
|
-
#
|
|
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).
|
|
217
221
|
- uses: mutmutco/MMI-Hub/.github/actions/run-with-budget@{{GATE_BUDGET_SHA}}
|
|
218
222
|
if: ${{ steps.development-gate.outputs.reuse != 'true' }}
|
|
219
223
|
env:
|
|
220
224
|
MMI_FAIL_FAST: ${{ github.event_name == 'pull_request' && '1' || '' }}
|
|
221
|
-
PYTEST_ADDOPTS: ${{ github.event_name == 'pull_request' && '--maxfail=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 || '' }}
|
|
222
227
|
with:
|
|
223
228
|
command: {{GATE_CMD}}
|
|
224
229
|
max-seconds: {{GATE_MAX_SECONDS}}
|
|
@@ -80,10 +80,12 @@ jobs:
|
|
|
80
80
|
if: ${{ steps.development-gate.outputs.reuse != 'true' }}
|
|
81
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
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).
|
|
83
84
|
- uses: mutmutco/MMI-Hub/.github/actions/run-with-budget@{{GATE_BUDGET_SHA}}
|
|
84
85
|
if: ${{ steps.development-gate.outputs.reuse != 'true' }}
|
|
85
86
|
env:
|
|
86
87
|
MMI_FAIL_FAST: ${{ github.event_name == 'pull_request' && '1' || '' }}
|
|
88
|
+
MMI_JEV_SKIP_ARGS: ${{ github.event_name == 'pull_request' && env.JEV_VITEST_ARGS || '' }}
|
|
87
89
|
with:
|
|
88
90
|
command: npm run typecheck && npm run build && npm --prefix module run check
|
|
89
91
|
max-seconds: {{GATE_MAX_SECONDS}}
|