Skip to content

GEN-2156: Preserve pending mutation UI and reliably reconcile server state - #203

Merged
exe-dev-github-integration[bot] merged 1 commit into
mainfrom
fix/gen-2156-mutations
Oct 9, 2026
Merged

exe-dev-github-integration[bot] merged 1 commit into
mainfrom
fix/gen-2156-mutations

Conversation

@asselstine

Copy link
Copy Markdown
Collaborator

Job and settings mutations now show immediate progress, retain pending state across polling rerenders, and block duplicate submissions. Both Run paths share a retained idempotency key, preserve failed prompt drafts, show an explicitly unaccepted pending request, and navigate only after receiving the canonical run ID.

Enable and stop acknowledge their mutation responses immediately. Generation guards discard older reads, and polling queues reconciliation requested while busy. Irreversible settings actions retain items until confirmation; token creation retains server-issued secrets when follow-up reads fail. Kill is available only for starting/running/blocked, matching the existing API, and retains run history without claiming immediate termination.

Scheduler wake remains awaited. No API operations or contracts were added. Rebased on current main, preserving #201 split Run and #202 trace activity changes.

Validation: npm run check --workspace=factorize passed (333 tests passed, 38 skipped; generated OpenAPI, API boundaries, auth-email checks, TypeScript, Wrangler dry run). Delayed browser tests cover rerenders, older reads, uncertain responses, idempotent retry, stop states, deletion, token/client/integration actions, and confirmed connection tests. Controlled enable timings: feedback 800→0 ms and confirmation 800→600 ms; injected request/wake delays remain 600/400 ms in both versions. These are synthetic timings, not production latency claims. Details: docs/gen-2156-validation.md.

Linear: https://linear.app/generation/issue/GEN-2156/improve-mutation-responsiveness-with-persistent-pending-ui-idempotent

@linear

linear Bot commented Oct 9, 2026

Copy link
Copy Markdown

GEN-2156

@exe-dev-github-integration
exe-dev-github-integration Bot added this pull request to the merge queue Oct 9, 2026
Merged via the queue into main with commit daf766e Oct 9, 2026
1 check 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