Skip to content

chore: update pull request - #427

Merged
khaira777 merged 1 commit into
mainfrom
fix/release-gate-ci-regressions
Aug 20, 2026
Merged

khaira777 merged 1 commit into
mainfrom
fix/release-gate-ci-regressions

Conversation

@khaira777

Copy link
Copy Markdown
Contributor

Intent

Review all commits since release 8ad7955 for regressions, fix the release-gate and test/CI issues found, ensure browser, receipt, printer, and i18n regressions run in the canonical local and CI gates with required visual evidence and portable runner paths, verify the full suite plus build, lint, and i18n checks, and preserve the read-only audit scope except for these fixes. PR #416 is evaluated separately; do not change unrelated product behavior.

What Changed

Final changed paths and statuses:

M	.github/workflows/ci.yml
M	package.json
M	tests/browser-receipts.test.ts
M	tests/decoupled-ui-locale.test.ts
M	tests/dev-tooling-scripts.test.ts
M	tests/i18n-audit-remediations.test.ts
M	tests/i18n-ssr-timezone.test.ts
M	tests/issue-241-localized-errors.test.ts
M	tests/payment-modal-currency-adapter.test.ts
M	tests/printer-fallback-and-popup-verification.ts
M	tests/release-config.test.ts

Risk Assessment

✅ Low: All changes are CI/test-infrastructure additions: a new release-regressions aggregate, REQUIRE_VISUAL_EVIDENCE guards on existing Playwright screenshot catch blocks, CI workflow steps, and structural validation tests. No production code, business logic, or runtime behavior is modified.

Testing

Ran all 7 release regression suites individually and as the test:release-regressions aggregate — all 170+ assertions pass with Playwright screenshots captured. Verified CI workflow YAML contains the release regression step with REQUIRE_VISUAL_EVIDENCE=1 and artifact upload. Verified package.json pretest hook wires the aggregate before the canonical suite. Validated wiring assertions in dev-tooling-scripts and release-config tests. Build, lint (0 errors, 1 pre-existing warning), and i18n checks all pass. No regressions found.

  • Evidence: Persian receipt RTL rendering with Rial currency (local file: /Users/gurkiratkhaira/.no-mistakes/evidence/01M0GBQ5W43R5TF5VBC5GST681/persian-receipt-rial.png)
  • Evidence: English receipt baseline LTR rendering (local file: /Users/gurkiratkhaira/.no-mistakes/evidence/01M0GBQ5W43R5TF5VBC5GST681/english-receipt-baseline.png)
  • Evidence: Printer popup window simulation with URL allowlist (local file: /Users/gurkiratkhaira/.no-mistakes/evidence/01M0GBQ5W43R5TF5VBC5GST681/printer-popup-simulation.png)
  • Evidence: Payment modal Iran Toman currency adapter (local file: /Users/gurkiratkhaira/.no-mistakes/evidence/01M0GBQ5W43R5TF5VBC5GST681/payment-modal-iran-toman.png)
Evidence: Full test:release-regressions aggregate output
npm run test:release-regressions completed successfully — 7 suites, 170+ assertions, 0 failures. All Playwright screenshots captured.

Pipeline

Updates from git push no-mistakes

✅ **intent** - passed

✅ No issues found.

⚠️ **Rebase** - 1 warning
  • ⚠️ tests/release-config.test.ts - merge conflict rebasing onto origin/main
✅ **Review** - passed

✅ No issues found.

✅ **Test** - passed

✅ No issues found.

  • npm run test:release-config
  • npm run test:dev-tooling
  • npm run test:release-regressions
  • npm run test:browser-receipts
  • npm run test:decoupled-ui-locale
  • npm run test:i18n-audit-remediations
  • npm run test:i18n-ssr-timezone
  • npm run test:issue-241-localized-errors
  • npm run test:payment-modal-currency-adapter
  • npm run test:printer-fallback-and-popup-verification
  • npm run build
  • npm run lint
  • npm run i18n:check
✅ **Document** - passed

✅ No issues found.

✅ **Lint** - passed

✅ No issues found.

✅ **Push** - passed

✅ No issues found.

@greptile-apps

greptile-apps Bot commented Aug 20, 2026 •

Copy link
Copy Markdown
Contributor

Greptile Summary

The PR adds the release-regression aggregate to canonical local and CI gates, requires visual evidence in CI, uploads generated artifacts, and makes evidence paths portable.

  • Adds seven renderer, printer, browser, and i18n regression suites to a release aggregate.
  • Updates screenshot helpers to enforce evidence generation when requested.
  • Adds structural tests for package and workflow wiring.

Confidence Score: 4/5

The PR does not yet appear safe to merge because browser teardown errors can still fail the required visual-evidence CI gate after evidence has been captured.

In tests/browser-receipts.test.ts, screenshot generation and browser.close() remain in one guarded block, so a close rejection is rethrown under the CI evidence requirement and terminates the release-regression aggregate.

Files Needing Attention: tests/browser-receipts.test.ts

Important Files Changed

Filename Overview
tests/browser-receipts.test.ts The required-evidence guard still includes browser teardown, leaving the previously reported CI failure outstanding.
.github/workflows/ci.yml Runs the release-regression aggregate with required visual evidence and uploads its artifacts.
package.json Adds the release-regression scripts and invokes the aggregate from the canonical pretest hook.
tests/issue-241-localized-errors.test.ts Tracks screenshot success accurately and suppresses browser-close failures during cleanup.
tests/payment-modal-currency-adapter.test.ts Makes screenshot capture optional outside the evidence gate and handles teardown separately.

Reviews (2): Last reviewed commit: "test(ci): wire release regression suites..." | Re-trigger Greptile

Comment thread tests/browser-receipts.test.ts Resolved
@khaira777
khaira777 force-pushed the fix/release-gate-ci-regressions branch from bbfe233 to ac3cba4 Compare August 20, 2026 20:08
@khaira777
khaira777 merged commit 2759057 into main Aug 20, 2026
13 checks passed
@khaira777
khaira777 deleted the fix/release-gate-ci-regressions branch August 20, 2026 20:14
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