Repository navigation
Conversation
A failed run takes its retry action from Platform's failure.retryable; a known reason only narrows the wording and removes skip where skipping cannot help. Unknown reasons use the generic wording; runs without failure (older Platform) keep today's failureReason reading. The run reader is rebuilt from the schema shape so a refined upstream schema still loads. Draft fixtures gain the lists the newer api-schema requires.
Skip and the typed change instruction are taken away only for the proposal reasons Platform refuses at run start (pending, closed); skip alone stays hidden for an exhausted quota. A non-retryable failure names who must act and then the way on: write what to change, or skip the task. With Platform's decision a reply typed after a stopped run is sent as a change run.
Platform dropped the run schema's refinement (platform #6976), so the run reader extends ApplicationDraftImplementationRun like the task and execution readers instead of rebuilding its shape.
…124) The preview card states that it is a pre-publish check that only the builder can see and that others cannot reach the app until it is published. Verified on appthrust.ink: the workspace preview admits only its owner, and before publishing the app URL sends other users to request access. The line is not shown once the app is published.
PO lead decision: the line claims only what was verified on the screen path. Members with Cluster Access Gateway access to the Project namespace are outside it.
0.1.7 carries Platform's implementation failure contract (platform #6976).
…ion for the preview line (APT-1158, APT-1124) Review follow-ups for 0.5.12: - The pre-publish preview line follows publication (stage publish), not a live release, so it is shown until the app is published and hidden after. - The sentence after a blocked run names only what the current screen offers: change and skip, change only, skip only (new), or nothing. The build page derives change from the same condition it uses to send a change run; the console build page and the improve page do not send change runs. - A pending or closed proposal offers no new run, retry included. - The proposal-pending and proposal-closed bodies match Platform: request changes reopens a pending proposal; a closed one (including expiry) is continued from Improve with AI. - The no-internal-terms test covers every reason identifier and every follow-up sentence.
…APT-1124) Review follow-up: access granted at publication is not taken back, so a later run's release can reach those people once it is live. The line now follows draft.publishedAt instead of the publish stage. The web README describes the per-screen follow-up sentence and the proposal rule.
Review follow-up: the prop follows draft.publishedAt since 35069d0.
…1207) On appthrust.ink a plan generation failed during an operator rollout and a later generation for the same draft succeeded, but the build page kept the plan failure until reload. Two causes: the session's failure state is only cleared by retry or a reply, and nothing re-reads a draft whose jobs are all settled, so a generation made elsewhere was never seen. A plan failure that a newer plan can supersede (not quota, policy, the generation limit, the repository destination or an unconfirmed write) now records the draft's latest generation. When a different generation is pending, running or succeeded, the failure clears, the tab does not ask for another plan, and the conversation keeps the notice as history without its retry (also after a reload). While such a failure is shown the draft is read at the normal interval while the page is visible.
… the same input (APT-1207) Review follow-up: - The failure marker is the generation the request started from (the value in the plan idempotency key), so a newer generation read while the POST was outstanding cannot become the marker. - Clearing the failure display is separate from meeting the request: the notice becomes history as soon as a newer plan is live; the request is treated as met only when that plan succeeded, no reply is running or waiting, and it was made for the intent this tab would send (lastPlannedIntent adopted, no second generation). Otherwise the request stays and the normal flow plans with the newer input.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What (APT-1207)
After a plan generation failed, a later generation for the same draft that succeeded did not clear the plan failure on the build page until reload (appthrust.ink, Console 0.5.11: a generation failed during an operator rollout at 04:35Z, another succeeded at 04:52Z).
Causes (confirmed in source and reproduced with the mock):
useBuildSession'sfailureis cleared only by retry or a reply, never by a newer generation.draftPollInterval(web/src/api/queries/build.ts) stops polling when all jobs are settled, so a generation made elsewhere (another tab, Platform, or the user) was never read.Change
lastPlannedIntentis adopted and no second generation is made (prepareRequestedkept, so 「計画を更新して作る」 continues). Otherwise the request stays and the normal flow plans with the newer input.Verification (local, committed tree
cce0f10)e2e/stories/build-plan-superseded.mock.spec.ts.bun test src2124/0, check:response-boundaries 0, check:console-schema, mock e2e build-plan-superseded + build-run-failure + app-build-ai 11 passed.cce0f10merge OK, no findings, no judgment points.Builds on Console 0.5.12 (main
26814c2, merged in). Not in 0.5.12.