Repository navigation
refactor(ui): observe question resource operation errors - #180630
Conversation
Keep admitted upload and preview failures in a scoped Solid outcome instead of a copied error signal. Preserve retry feedback, accepted previews, selections, and cancellation authority.
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ce1b8cf8b4
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
…0630) Keep admitted upload and preview failures in a scoped Solid outcome instead of a copied error signal. Preserve retry feedback, accepted previews, selections, and cancellation authority.
What Problem This Solves
Question-resource uploads and previews copied rejected operation errors into a local string signal. This completes the Solid 2 action-outcome recipe while preserving the existing UI and the Gateway-owned grants.
User Impact
Upload and preview errors remain visible beside the same controls. Retry clears the old error, keeps the accepted preview and uploaded selections, and shows the existing loading state. A retired request cannot publish a late failure into its successor.
Why This Change Was Made
The admitted operation now retains its rejected promise for a narrow
Erroredslot. Its optimistic busy flag still presents progress, and the synchronous admission, abort, target and connection checks remain unchanged. Event callers consume rejection even when the slot retires. A successful outcome maps tonull, the JSX-renderable empty result.Evidence
nulltools/solid-linteslint dependency; no new findings or ignoresProduction LOC: 359 → 368 (+9); test LOC: 256 → 282 (+26). Local async error signals: 1 → 0; memos: 1 → 2;
Errored: 0 → 1. The action, optimistic flag, lazy preview and loading boundary remain unchanged. There are no effects, direct listeners, queries, production flushes or owner captures in the changed component.Before / after
Synthetic Chromium captures use the real component and production CSS. Each pair is byte-identical. The failed preview and the held retry retain the accepted preview without recreating the control.
Inherited CI failures
The completed exact-head run has two failed root jobs.
check-test-types-core-4reports TS2353 insessions-patch.test.tsat lines 500, 507 and 513 (the fixture does not acceptpatch). The same command fails with identical diagnostics on the exact tested main baseb90f49b11fc; its chat E2E type graph passes.checks-ui-e2e (5/9)fails onlyControl UI Workboard routing > routes, pins, persists, and normalizes Workboard boardsat line 156: the test waits forWorkboard, while the page now rendersAll boards. That case also fails on protected maind5ce64b7; both the test and page are byte-identical on this run’s main base. The aggregate CI gate reflects these two failures. All other selected jobs passed or were skipped, including security-fast.The scoped tests, typecheck, production build, performance checks, and synthetic captures remain valid. Two additional unchanged-head probes confirmed that disabling the resource or changing its request identity clears a previous failure while retaining the control. The hosted review concern did not reproduce. This PR uses the authorized inherited-failure landing route; the failed CI is not reported as green.