Skip to content

web: add list-page bundle budget, Stryker mutation config, flaky-test quarantine - #189

Closed
oly-agents[bot] wants to merge 2 commits into
mainfrom
web/bundle-budget-mutation-flaky
Closed

oly-agents[bot] wants to merge 2 commits into
mainfrom
web/bundle-budget-mutation-flaky

Conversation

@oly-agents

@oly-agents oly-agents Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

No description provided.

…t quarantine

- pnpm build now runs check:bundle-size after next build. It reads
  .next/diagnostics/route-bundle-stats.json and fails when /, /jobs,
  /commands or /clusters is over the gzip budget in bundle-budgets.json.
- Add StrykerJS (vitest runner) config for src/common and
  src/modules/*/Helper.tsx, and pnpm test:mutation.
- Add a `flaky` Vitest tag that skips quarantined tests unless
  VITEST_QUARANTINE=1, pnpm test:quarantine, and the convention in
  web/AGENTS.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Gaurav Warale <gaurav.warale@pattern.com>
@argus-pattern

argus-pattern Bot commented Nov 30, 2026

Copy link
Copy Markdown

👀 Reviewing 7bd6316.

Comment thread web/README.md Resolved
Comment thread web/AGENTS.md Resolved

@argus-pattern argus-pattern Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Argus review of 7bd6316: 2 inline findings (1 Medium, 1 Low).

Checked:

  • Bundle budget (item 30): I ran pnpm install --frozen-lockfile && pnpm build (Node 26.13.1, pnpm 12.15.0). next build wrote .next/diagnostics/route-bundle-stats.json. check-bundle-size.mjs gave the same sizes as the PR table: first load 220.6 kB, and 498.6 to 500.8 kB with the page module. The chunk-reference regex matches every Turbopack chunk name in .next/static/chunks. The check runs in the required Build and Test job through build.sh --ui. It also runs in the Docker web-builder stage.
  • Stryker (item 31): The mutate globs cover src/common/** and the three src/modules/*/Helper.tsx files, and leave out the tests. break: null keeps a low score from failing the run. The reports go to the git-ignored reports/. The scheduled workflow is not on the branch (see the inline comment).
  • Flaky convention (item 32): Vitest 5.1.1 supports test.tags, strictTags and --tags-filter, and the skip toggle based on VITEST_QUARANTINE is consistent. The root AGENTS.md routing row is updated.
  • Scope: No files from #172 are touched except shared web/AGENTS.md, package.json and the lockfile, as the PR description notes.

…ommand

- README and AGENTS.md now say that the Mutation Testing workflow is
  pending and link #190, which holds the workflow file.
- The documented test:quarantine command now matches package.json
  (adds --passWithNoTests).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Gaurav Warale <gaurav.warale@pattern.com>

@argus-pattern argus-pattern Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Argus follow-up review of d2f6f71 (the commits after 7bd6316).

Earlier comments:

  • ✅ addressed: Scheduled mutation workflow is missing, but the docs describe it as present (web/README.md). web/README.md ("Mutation testing") and web/AGENTS.md now say the workflow is pending, tell readers to run Stryker locally, and link #190. Issue #190 is open and contains the workflow YAML. No other file still says that .github/workflows/mutation.yml exists. Acceptance criterion 2 (a scheduled run that uploads an artifact) is met only after a maintainer commits that file, as #190 tracks.
  • ✅ addressed: Documented quarantine command differs from the package script (web/AGENTS.md). The command shown in the docs now matches test:quarantine in web/package.json exactly, including --passWithNoTests.

New commits: d2f6f71 changes only documentation (web/AGENTS.md and web/README.md) and does not change the PR's design. I found no new issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant