Repository navigation
Run page generation in the background and show run status in the page list - #58
Conversation
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: b9e3aa5048
ℹ️ 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".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e21a45d4d5
ℹ️ 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".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b971378dea
ℹ️ 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".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9199792171
ℹ️ 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".
|
@codex review |
1 similar comment
|
@codex review |
|
Codex Review: Didn't find any major issues. Bravo. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
Summary
Page generation no longer traps the user in the editor. Runs already execute on the server, so
the Console now treats them that way: creating a page can start generation and return to the
list, the list shows live run status with a stop action, and leaving the editor mid-run no
longer cancels the work.
Changes
Server
GET /pages/chat/runs(listActivePageChatRuns) returning the active runs from thecoordinator: page name, session id, run id, status, start time and pending question.
POST /pages/{name}/chat/runs(startPageChatRun) to start a run without an SSEsubscriber. It responds
204only after the run is admitted, so the client can navigateaway immediately and the run is already durably reserved.
PageRun#summaryandPageRunCoordinator#snapshot.Console
list; if the run cannot be started it falls back to the editor with the prompt preserved.
an answer / saving), with the pending question as its tooltip. Destructive card actions are
disabled while a page is generating, and the action menu offers "Stop generation".
title, slug and thumbnail show up without a manual reload.
only until the server has reserved it, and leaving then reports that the assistant keeps
generating in the background.
generateApiClientfor the new models and methods.Notes
another replica, the list is empty; checkpoint recovery still resumes the run when the page
is reopened.
refreshes the card.
Validation
bash gradlew test -x processUiResources: all backend tests pass.pnpm --dir ui test:unit --run: 323 frontend tests pass, including new coverage for liststop, run badges, server-side start, admission retries and the post-run list refresh.
pnpm --dir ui type-check: passes.CI=true bash gradlew build: BUILD SUCCESSFUL, plugin JAR packaged.background, two parallel runs, waiting-for-user, stop from the list, answer then leave,
reopen mid-run with live tool steps, badge persists across a full reload, commit updates
title/slug/thumbnail, and the list refreshes automatically when the run finishes.
pnpm --dir ui lintstill reports pre-existing oxlint errors in spec files not touched bythis change.