- Notifications
You must be signed in to change notification settings - Fork 0
fix: rebase design-audit regression hardening onto current main#847
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -48,7 +48,7 @@ async function expectNoPageHorizontalOverflow(page: Page) { | ||
| } | ||
| async function expectDashboardUsable(page: Page) { | ||
| await expect(page.getByRole("heading", { level: 1, name: "Clinical Guide" })).toHaveCount(1); | ||
| await expect(page.getByRole("heading", { level: 1, name: "Clinical KB" })).toHaveCount(1); | ||
Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win Align all H1 assertions with the dashboard’s rendered heading. The supplied dashboard still renders
📍 Affects 2 files
🤖 Prompt for AI Agents | ||
| await expect(page.getByRole("heading", { name: "Answer" })).toBeVisible(); | ||
| await expect(page.locator('[aria-label^="Search indexed guidelines by question or keyword"]:visible')).toBeVisible(); | ||
| await expect(page.getByRole("button", { name: "Open answer options" })).toBeVisible(); | ||
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🩺 Stability & Availability | 🟠 Major | ⚡ Quick win
Thread the new cancellation signal through every retrieval caller.
callVersionedRetrievalRpcnow acceptssignal, but the two existing callers insrc/lib/rag.ts(Lines 2837-2849 and 2945-2956) still omit it. Search cancellation therefore does not reach either the parallel hybrid RPC or the vector-fallback RPC.Proposed fix
callVersionedRetrievalRpc( supabase, "...", "...", { // existing arguments }, + args.signal, );Apply this to both call sites.
🤖 Prompt for AI Agents