Skip to content

chore(audit): fix stale home-sell-surface test - #2568

Closed
kk-agent wants to merge 1 commit into
mainfrom
cursor/fix-stale-home-sell-surface-6116
Closed

kk-agent wants to merge 1 commit into
mainfrom
cursor/fix-stale-home-sell-surface-6116

Conversation

@kk-agent

@kk-agent kk-agent commented Nov 3, 2026 •

Copy link
Copy Markdown
Collaborator

Outcome

test-frontend on main (cd7e1998f, Actions run 41659258955) failed two assertions in apps/web/src/lib/__tests__/home-sell-surface.test.ts. Both expected the old hero sentence prepares proposed work and build rails for you to review in Studio.

git log -S on that string points at b05aae6f6 (Align landing hero promise with Studio review capability, #2549). That commit intentionally rewrote the hero to:

Studio prepares proposed work and build rails for you to review.

The same commit updated landing-style-safety.test.ts to the new sentence and did not touch home-sell-surface.test.ts. The page copy is current. The test was stale.

This PR updates those two assertions to the current sentence. No page copy and no other files change.

Scope

  • Included: the two toContain assertions in home-sell-surface.test.ts (lines 25 and 39).
  • Explicitly excluded: restoring the old hero copy, any other test or product change, opening a GitHub issue.

Risk

  • Risk level: low
  • Failure mode: the assertions drift again if the hero sentence changes without this test.
  • Rollback: revert this commit. The landing page is unchanged.

Verification

Local, on bba5f1d78:

npm --workspace=apps/web test

Result: 176 files passed, 1535 tests passed, 28 skipped (1563). The skips are the Redis-gated suite; that local run did not set ORIGIN_GATE_REDIS_TESTS=1.

PR test-frontend passed on the same head: CI run 41672446320, job 126044083739. The Unit tests (apps/web) step succeeded. That job installs Redis and sets ORIGIN_GATE_REDIS_TESTS=1.

Closing keyword check

Closing keyword to open issue (.github/workflows/require-issue-closer.yml) is expected to stay red. This audit fix has no open issue, and the task forbids creating one, so this body does not add a closing keyword. Leave that check alone. Do not merge.

Production evidence

Not applicable. Test-only assertion update; no runtime or deployment change.

Open in Web Open in Cursor 

#2549 rewrote the landing hero and left home-sell-surface
asserting the previous sentence.

Co-authored-by: KK <kk-agent@users.noreply.github.com>
@vercel

vercel Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
v0-uvai Ready Ready Preview, v0 Nov 3, 2026 4:17pm UTC

@coderabbitai

coderabbitai Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.

@github-actions github-actions Bot added javascript Pull requests that update javascript code tests labels Nov 3, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-03T16:17:39.671603Z bba5f1d PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

⚠️ Repository reconciliation: this PR does not reference exactly one canonical issue.

Please add a Closes #<issue> reference in the PR description so it can be tracked against the delivery plan.

See governance: #898

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

✅ E2E Test Results: ALL TESTS PASSED

Metric Value
Status 🟢 GREEN
Total Tests
Passed 16
Failed
Deployment https://v0-uvai-disi3k8dj-garv1.vercel.app
Test Output
s on every request without persisting it�[32m 1�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mTemplate Gallery�[2m > �[22mhomepage returns 200 with HTML�[32m 130�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mTemplate Gallery�[2m > �[22mfeatures page contains template/workflow markup�[32m 134�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mTemplate Gallery�[2m > �[22mfeatures page surfaces at least 5 workflow/template indicators�[32m 119�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mVideo Pack Pipeline�[2m > �[22mPOST /api/video/pack accepts a YouTube URL without hanging�[33m 1651�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mVideo Pack Pipeline�[2m > �[22mGET /api/video/pack resolves to a ready pack with evidence lineage�[33m 582�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mError Handling�[2m > �[22mmissing URL returns 400, not a hang�[32m 76�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mError Handling�[2m > �[22minvalid URL returns 400 quickly, not a hang�[32m 72�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mError Handling�[2m > �[22mPOST /api/video/pack with no body returns 400�[32m 72�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mDashboard�[2m > �[22m/dashboard returns 200�[32m 120�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mDashboard�[2m > �[22m/dashboard contains agent or pipeline visualization markup�[32m 100�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mAPI Health�[2m > �[22mGET /api returns a response (not 404)�[32m 209�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mAPI Health�[2m > �[22mretired /api/pipeline routes are gone (no pipeline served)�[32m 41�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mStatic Assets�[2m > �[22mhomepage has proper meta tags�[32m 73�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mStatic Assets�[2m > �[22m/features page returns 200�[32m 79�[2mms�[22m�[39m

�[2m Test Files �[22m �[1m�[32m1 passed�[39m�[22m�[90m (1)�[39m
�[2m      Tests �[22m �[1m�[32m16 passed�[39m�[22m�[90m (16)�[39m
�[2m   Start at �[22m 16:18:26
�[2m   Duration �[22m 4.94s�[2m (transform 53ms, setup 0ms, import 67ms, tests 4.74s, environment 0ms)�[22m


Copy link
Copy Markdown
Owner

Closing as superseded. The same two assertion updates landed on main in #2546 (squash 6975815), where they were the only thing keeping that PR's test-frontend red. With main now carrying them, this branch has no remaining diff. This PR could not merge on its own because no open issue fits a stale-test fix, and the required "Closing keyword to open issue" check needs one.

This branch was successfully deployed

1 active deployment
Preview — bba5f1d7 Deployed Nov 3, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

javascript Pull requests that update javascript code tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants