Repository navigation
web: add list-page bundle budget, Stryker mutation config, flaky-test quarantine - #189
Closed
oly-agents[bot] wants to merge 2 commits into
Closed
oly-agents[bot] wants to merge 2 commits into
oly-agents[bot] wants to merge 2 commits into
Conversation
…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>
|
👀 Reviewing |
There was a problem hiding this comment.
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 buildwrote.next/diagnostics/route-bundle-stats.json.check-bundle-size.mjsgave 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 throughbuild.sh --ui. It also runs in the Dockerweb-builderstage. - Stryker (item 31): The
mutateglobs coversrc/common/**and the threesrc/modules/*/Helper.tsxfiles, and leave out the tests.break: nullkeeps a low score from failing the run. The reports go to the git-ignoredreports/. The scheduled workflow is not on the branch (see the inline comment). - Flaky convention (item 32): Vitest 5.1.1 supports
test.tags,strictTagsand--tags-filter, and theskiptoggle based onVITEST_QUARANTINEis consistent. The rootAGENTS.mdrouting row is updated. - Scope: No files from #172 are touched except shared
web/AGENTS.md,package.jsonand 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>
There was a problem hiding this comment.
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") andweb/AGENTS.mdnow 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.ymlexists. 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 matchestest:quarantineinweb/package.jsonexactly, 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.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.