feat(planning): follow the indicative wait in calculation progress #304
Open
nessar
wants to merge 3 commits from
feature/calculation-progress into develop
pull from: feature/calculation-progress
merge into: nessar:develop
nessar:develop
nessar:feature/gitignore-claude-local
nessar:feature/obligation-solution-ranking
nessar:renovate/node-24.x
nessar:renovate/https-gitea.com-actions-checkout-7.x
nessar:feature/bun-migration
nessar:feature/planning-architecture
nessar:feature/incremental-exact-scoring
nessar:feature/benchmark-performance
nessar:feature/verify-trace-free-planning
nessar:feature/remove-decision-trace
nessar:feature/gitea-actions
nessar:feature/gitflow-ci
nessar:main
nessar:select-duration
nessar:dependabot/npm_and_yarn/typescript-6.0.3
nessar:dependabot/github_actions/docker/build-push-action-7
nessar:dependabot/github_actions/docker/login-action-4
nessar:dependabot/github_actions/docker/metadata-action-6
nessar:dependabot/github_actions/docker/setup-buildx-action-4
nessar:dependabot/github_actions/actions/upload-artifact-7
nessar:copilot/sub-pr-61-another-one
nessar:copilot/sub-pr-61-again
nessar:copilot/sub-pr-61
nessar:copilot/sub-pr-49
nessar:copilot/sub-pr-37
nessar:copilot/update-ci-cd-pipeline
nessar:copilot/refactor-duplicated-code
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Closes #300.
Summary
e(captured at Calculate, including local refinement, timed from the calibration'srequestedAt), held at 95%, and 100% only when the planner reports completion.Applying "<rule name>"for optimization/preference stages), and a second line showsAbout N s leftwhene≥ 3 s, orTaking longer than expectedonce elapsed reachese(announced once through the existing live status).PlanningCalculationServicenow exposespending(stage + submitted request) and dropsstageProgress; stage reports after Cancel are ignored so a latecompletecannot show 100%.PlanningDurationServiceownswaiton a 250 ms tick.docs/planning-duration.mdgains a "During a calculation" section.Decisions to confirm
e, the centre of the pre-Calculate range (e.g. at 20 s for "10–60 s"), as the issue specifies; once calibrated, roughly half of runs will show it.Testing
eacross form/calibration changes, monotonic progress on repeated stages, no 100% after cancel, incomplete outcomes or errors.bun run typecheck, eslint and the full suite (768 tests) pass. Not checked in a real browser.🤖 Generated with Claude Code
Pushed
f128af6. The three decisions listed under "Decisions to confirm" are now confirmed, with one change: "Taking longer than expected" appears only past the top of the range shown before Calculate, not at e. Between e and that top, the ring holds at 95% with no remaining-time line. Tests and docs/planning-duration.md are updated. Typecheck, lint and the full suite (771 tests) pass. The issue comment on #300 records the changed acceptance criterion.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.