You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Correction to #812 (plans/149). That PR scoped the full-viewport sweep with event_name != 'pull_request' — which silently included pushes to main. Every frontend merge then paid the four-project cost; the E2E job on the merge that landed #813 ran well past 10 minutes instead of ~3.
A push to main is a merge the PR already validated. The sweep belongs to the nightly, which exists for exactly that gap.
Change
Event
Browsers installed
Projects run
pull_request
chromium
--project=chromium
push to main
chromium
--project=chromium
schedule (nightly, main)
chromium + webkit
all four
workflow_dispatch
chromium + webkit
all four
Both run: blocks now branch on event_name == 'schedule' || event_name == 'workflow_dispatch' instead of negating pull_request.
Verification
Check
Result
shellcheck on the new block
clean
Both blocks executed for all four event values
pull_request/push → chromium-only, schedule/workflow_dispatch → all projects
yamllint -c .yamllint.yml, YAML parses
clean
src/lib/__tests__/workflows.test.ts
63/63 — the sweep case now asserts the schedule/dispatch gate and that the sweep branch does not mention pull_request
Mutation: revert to != 'pull_request'
test fails
./scripts/quality_gate.sh, pnpm run build
✓ green
The nightly path itself was already proven end-to-end by dispatch run 35986156948 (Running 596 tests, 4 projects, 8.5 m) — this PR only narrows which events select it.
This appears to be a CI and end-to-end test workflow change, documented alongside workflow test coverage. It has no graph-traced dependents or affected flows, but the workflow configuration itself carries a high review risk.
🟠 HIGH blast radius. A CI and end-to-end test change centered on .github/workflows/ci-and-labels.yml, with no detected dependents.
The change spans the CI workflow, src/lib/__tests__/workflows.test.ts, and the planning document plans/149-nightly-full-viewport-e2e-2026-09-24.md. The named plan and section indicate the change is focused on keeping the full-viewport E2E sweep on the nightly schedule.
Review .github/workflows/ci-and-labels.yml first because it is the sole HIGH risk file. Then verify that src/lib/__tests__/workflows.test.ts covers the intended workflow behavior and remains aligned with the documented Plan 149. Nightly E2E Sweep Covers Every Viewport (2026-09-24) and 2. Change sections.
Added by GitNexus for PR #814. Edit freely — this block is replaced on the next review, everything above it is left untouched.
This appears to be a CI and end-to-end test workflow change, documented alongside workflow test coverage. It has no graph-traced dependents or affected flows, but the workflow configuration itself carries a high review risk.
🟠 HIGH blast radius. A CI and end-to-end test change centered on .github/workflows/ci-and-labels.yml, with no detected dependents.
The change spans the CI workflow, src/lib/__tests__/workflows.test.ts, and the planning document plans/149-nightly-full-viewport-e2e-2026-09-24.md. The named plan and section indicate the change is focused on keeping the full-viewport E2E sweep on the nightly schedule.
Review .github/workflows/ci-and-labels.yml first because it is the sole HIGH risk file. Then verify that src/lib/__tests__/workflows.test.ts covers the intended workflow behavior and remains aligned with the documented Plan 149. Nightly E2E Sweep Covers Every Viewport (2026-09-24) and 2. Change sections.
🟠 HIGH blast radius — no downstream dependents were found in the code graph; review the dependent list before merging.
Blast Level
Dependents
Modules
Files
🟠 HIGH
0
0
3
What changed
Symbol Changes (2)
Kind
Symbol
Location
Section
Plan 149 — Nightly E2E Sweep Covers Every Viewport (2026-09-24)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="src/lib/__tests__/workflows.test.ts">
<violation number="1" location="src/lib/__tests__/workflows.test.ts:170">
P2: The event assertions do not exclude pushes from the sweep — The comment says the sweep is limited to scheduled and manual events, but lines 170–172 only require that both event names occur and that 'pull_request' does not. A predicate such as 'event_name == "schedule" || event_name == "workflow_dispatch" || event_name == "push"' passes all three assertions while selecting the full E2E suite on pushes. The documented contract explicitly assigns pushes to the Chromium-only/default branch (plans/149-nightly-full-viewport-e2e-2026-09-24.md lines 54–72).
</violation>
<violation number="2" location="src/lib/__tests__/workflows.test.ts:157">
P2: Assert the install block's event gate as well as the test-run block's — The new assertions only prove that the install branches contain the two commands (lines 157–160); unlike the run block, they never assert which events select the WebKit branch. Consequently, changing the install condition back to an 'event_name != pull_request' check would still satisfy this test while causing every push to main to install WebKit. That violates the documented event table in plans/149-nightly-full-viewport-e2e-2026-09-24.md lines 54–72, which specifies Chromium-only browser installation on pushes and says the contract test pins the sweep to schedule/dispatch.
</violation>
</file>
Full detail lives in the GitNexus check run for this commit.
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer TIP This summary will be updated as you push new changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Correction to #812 (plans/149). That PR scoped the full-viewport sweep with
event_name != 'pull_request'— which silently included pushes tomain. Every frontend merge then paid the four-project cost; the E2E job on the merge that landed #813 ran well past 10 minutes instead of ~3.A push to
mainis a merge the PR already validated. The sweep belongs to the nightly, which exists for exactly that gap.Change
pull_request--project=chromiummain--project=chromiumschedule(nightly, main)workflow_dispatchBoth
run:blocks now branch onevent_name == 'schedule' || event_name == 'workflow_dispatch'instead of negatingpull_request.Verification
shellcheckon the new blockpull_request/push→ chromium-only,schedule/workflow_dispatch→ all projectsyamllint -c .yamllint.yml, YAML parsessrc/lib/__tests__/workflows.test.tspull_request!= 'pull_request'./scripts/quality_gate.sh,pnpm run buildThe nightly path itself was already proven end-to-end by dispatch run 35986156948 (
Running 596 tests, 4 projects, 8.5 m) — this PR only narrows which events select it.Plan:
plans/149-nightly-full-viewport-e2e-2026-09-24.md§2.📝 Summary by GitNexus
Summary
This appears to be a CI and end-to-end test workflow change, documented alongside workflow test coverage. It has no graph-traced dependents or affected flows, but the workflow configuration itself carries a high review risk.
🟠 HIGH blast radius. A CI and end-to-end test change centered on
.github/workflows/ci-and-labels.yml, with no detected dependents.The change spans the CI workflow,
src/lib/__tests__/workflows.test.ts, and the planning documentplans/149-nightly-full-viewport-e2e-2026-09-24.md. The named plan and section indicate the change is focused on keeping the full-viewport E2E sweep on the nightly schedule.Review
.github/workflows/ci-and-labels.ymlfirst because it is the sole HIGH risk file. Then verify thatsrc/lib/__tests__/workflows.test.tscovers the intended workflow behavior and remains aligned with the documentedPlan 149. Nightly E2E Sweep Covers Every Viewport (2026-09-24)and2. Changesections.Added by GitNexus for PR #814. Edit freely — this block is replaced on the next review, everything above it is left untouched.