Skip to content

ci(quality): extend verify to include coverage thresholds and e2e smoke checks#105

Merged
d-oit merged 4 commits intomainfrom
ci/quality-verify-extension-9464927846600478541
May 5, 2026
Merged

ci(quality): extend verify to include coverage thresholds and e2e smoke checks#105
d-oit merged 4 commits intomainfrom
ci/quality-verify-extension-9464927846600478541

Conversation

@d-oit
Copy link
Copy Markdown
Owner

@d-oit d-oit commented May 4, 2026

Extended the project quality gate by incorporating coverage enforcement and smoke E2E tests into the canonical verification paths.

Key changes:

  • Updated the root package.json verify script to: pnpm lint && pnpm typecheck && pnpm test:coverage && pnpm build && pnpm test:e2e:smoke.
  • Modified scripts/quality_gate.sh to include the same coverage and smoke test steps for local pre-commit parity.
  • Set realistic and enforceable coverage thresholds in vitest.config.ts for @do-epub-studio/web, @do-epub-studio/worker, @do-epub-studio/shared, and @do-epub-studio/reader-core.
  • Enhanced .github/workflows/ci.yml by adding a smoke-e2e job that runs after the build job, and updated the test job to use test:coverage.
  • Fixed CI environment configuration by standardizing on Node.js 22 and pinning GitHub Actions to specific commit SHAs with version comments.
  • Updated AGENTS.md to document the new coverage thresholds as blocking requirements.

Fixes #99


PR created automatically by Jules for task 9464927846600478541 started by @d-oit

…ke checks

Co-authored-by: d-oit <6849456+d-oit@users.noreply.github.com>
@google-labs-jules
Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

google-labs-jules Bot and others added 2 commits May 5, 2026 06:54
- Corrected hallucinated GitHub Action versions and Node.js version in workflows.
- Standardized on Node.js 22 and v4 of core actions (checkout, setup-node, pnpm/action-setup, upload-artifact) pinned to valid SHAs.
- Extended standard verification gate (`pnpm verify`) to include coverage enforcement and smoke E2E tests.
- Updated `scripts/quality_gate.sh` for local parity with CI.
- Defined and enforced coverage thresholds across all packages.
- Configured CI `smoke-e2e` job to run after `build`.
- Updated `AGENTS.md` with new quality standards.

Co-authored-by: d-oit <6849456+d-oit@users.noreply.github.com>
- Extended `pnpm verify` and `scripts/quality_gate.sh` to include `test:coverage`, `build`, and `test:e2e:smoke`.
- Enforced coverage thresholds in all packages:
  - web: 40% Lines, 30% Functions
  - worker: 55% Lines, 50% Functions
  - shared: 25% Lines, 5% Functions
  - reader-core: 75% Lines, 70% Functions
- Added `smoke-e2e` job to CI workflow and updated `test` job to use coverage.
- Restored and validated correct 2026 environment versions (Node.js 24, v6/v7 core actions with pinned SHAs).
- Updated `AGENTS.md` to reflect new quality gate standards.

Co-authored-by: d-oit <6849456+d-oit@users.noreply.github.com>
@d-oit d-oit marked this pull request as ready for review May 5, 2026 09:08
@d-oit d-oit merged commit b55be40 into main May 5, 2026
2 checks passed
@d-oit d-oit deleted the ci/quality-verify-extension-9464927846600478541 branch May 5, 2026 09:09
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.

ci(quality): extend verify to include coverage thresholds and e2e smoke checks

1 participant