Repository navigation
Conversation
…nges A changed *.release.*.spec.ts runs in full on the pull request, with the release check's spec-test contract runner (4-core-ubuntu), workers and Playwright config; a failing spec fails the job. Pull requests that change no release spec skip it.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
A release spec judges timing, and the release check runs its timing specs alone on one worker; the pull request run matches.
PR Analysis Report
Generated by PR Enrichment workflow | View current CI run |
There was a problem hiding this comment.
Recommend closing this fixture once its CI result is recorded on #11044; it should not merge.
Blocking findings:
- The fixture's only test asserts
expect(1).toBe(2)and matches the release suite's spec glob, so merging it would fail every release check ofmain. - Carried from #11044:
release-specs (changed)is not in thetestjoin'sneeds, so it blocks a merge only if merge-guard waits for its own name, while AST-030 FR11 asks new coverage in an existing surface to join the existing owner without a required context of its own; adding it totestaspr-component-a11y-contractsis would fix this. - Carried from #11044: the release check runs its contract legs with four workers on four cores, so running a release spec alone with
--workers=1does not match the release check's timing conditions, and the comment and contract test that say it does should say the pull-request run has no contention.
This pull request is still a draft, so every CI job skipped at this head, release-specs (changed) included; mark it ready for review to get the red run it is meant to show.
[Automated review]
| import {expect, test} from '@playwright/test'; | ||
|
|
||
| test('a changed release spec runs on the pull request, and this one fails', () => { | ||
| expect(1).toBe(2); |
There was a problem hiding this comment.
This assertion always fails, and the file matches the release suite's packages/*/src/**/*.a11y.chromium.spec.ts glob, so this pull request should close after its CI run rather than merge.
| # its timing specs: a changed spec always runs | ||
| # (spec:AST-030 FR26, FR31). The touched check above caps its run at eight | ||
| # minutes and reports a release spec that does not fit as not run; this job | ||
| # has no budget, and a failing spec fails it. merge-guard waits for it by |
There was a problem hiding this comment.
Carried from #11044: this job is not in the test join's needs, so it blocks a merge only if merge-guard waits for its own name, which makes it a required context of its own. AST-030 FR11 asks new coverage in an existing surface to join the existing owner; adding release-specs to test's needs and outcome check, as pr-component-a11y-contracts is, keeps test the one required name.
| ' "${SPECS[@]}" | ||
| # One worker: a release spec judges timing, and the release check runs | ||
| # it alone on its runner, so the pull request does too. | ||
| pnpm exec playwright test "${SPECS[@]}" --config playwright.config.ts --project chromium --workers=1 |
There was a problem hiding this comment.
Carried from #11044: the release check's contract legs run with A11Y_CONTRACT_WORKERS: 4 on four cores, so a release spec there shares the runner with three other files. Run alone here, a spec that fits its timing budget only without contention passes and still fails at release. Suggest the comment above and ci-release-specs.test.mjs say this run has no contention and the release check stays the timing authority.
Throwaway fixture for #11044. Do not merge.
It carries #11044 plus one failing release spec, so
release-specs (changed)runs it and goes red. The pull request is closed once that result is recorded on #11044.