fix: retry final graph metadata before declaring the workspace ready by rudycelekli · Pull Request #919 · 666ghj/MiroFish · GitHub
Skip to content

fix: retry final graph metadata before declaring the workspace ready - #919

Open
rudycelekli wants to merge 1 commit into
666ghj:mainfrom
rudycelekli:fix/graph-completion-metadata-retry-20261021
Open

rudycelekli wants to merge 1 commit into
666ghj:mainfrom
rudycelekli:fix/graph-completion-metadata-retry-20261021

Conversation

@rudycelekli

Copy link
Copy Markdown

A completed graph task clears polling and marks the project Ready before fetching its final metadata. If that GET fails transiently, the view stays Ready with no graph ID; clicking Enter Environment Setup cannot proceed. Keep the existing task poll running until a successful project response contains the graph ID, then stop polling and show Ready.

Validation: 6 actual-handler tests pass (baseline: 4 failures, 2 controls pass), including transient errors, missing graph IDs, pending metadata, successful recovery, and existing task-failure behavior. In Chrome, the actual MainView/Step1/GraphPanel and VueRouter recover after one locally simulated GET failure and allow the next step; the baseline leaves a nonfunctional Ready page. All API calls use an isolated in-memory adapter. Full Vite production build and git diff --check pass; no new timer or retry loop is introduced.

Reviewed actual #870/#494 patches, #125, and exact #857 MainView head source; none fixes this completion order. AI assistance was used for implementation and tests.

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