Skip to content

fix(ci+e2e): address Codex review findings on #9/#10#11

Merged
Lykhoyda merged 1 commit into
mainfrom
fix/codex-review-followups
Jun 14, 2026
Merged

fix(ci+e2e): address Codex review findings on #9/#10#11
Lykhoyda merged 1 commit into
mainfrom
fix/codex-review-followups

Conversation

@Lykhoyda

Copy link
Copy Markdown
Owner

Summary

Addresses the automated Codex review findings on the now-merged #9 (screenshots) and #10 (release workflow).

Finding Severity Fix
screenshots builds only the extension; on a clean checkout @testudo/core/dist is missing and the extension imports it at runtime → build fails #9 P2 screenshots now builds @testudo/core first
Blocked-page capture waited only for <body>, so it could snapshot the Analyzing… loading frame instead of the interstitial #9 P2 wait for THREAT INTERCEPTED (the resolved hard-block header) before capturing — verified: image 7.6 KB → 21.8 KB, now shows the threat page
release.yml uploaded the production-keyed bundle as a CI artifact — Actions artifacts are downloadable on a public repo, exposing the baked TESTUDO_API_KEY and bypassing the protected Environment #10 P1 upload a sha256 checksum for the audit trail instead; the bundle's only destination is the CWS draft upload

Verification

yarn screenshots re-run: 6/6 captures pass; blocked interstitial now renders correctly (THREAT INTERCEPTED · [RISK] CRITICAL · override form). release.yml: no tabs, structure intact (workflow file change, validated on push by GitHub).

🤖 Generated with Claude Code

- screenshots: build @testudo/core before the extension (clean checkouts lack
  core/dist, which the extension imports at runtime → build failed). [#9 P2]
- screenshots: blocked-page capture waits for the resolved interstitial
  ('THREAT INTERCEPTED') instead of just <body>, so it no longer snapshots the
  'Analyzing…' loading frame (verified: 7.6KB→21.8KB, shows the threat page). [#9 P2]
- release.yml: stop uploading the production-keyed bundle as a CI artifact —
  Actions artifacts are downloadable on a public repo, which would expose the
  baked TESTUDO_API_KEY and bypass the protected Environment. Upload a sha256
  checksum for the audit trail instead; the bundle's only destination is the
  CWS draft upload. [#10 P1]

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Lykhoyda Lykhoyda merged commit 5406b27 into main Jun 14, 2026
6 checks passed
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