Skip to content

Fix mixed workout execution index regression - #8

Merged
lagrangee merged 1 commit into
mainfrom
codex/fix-mixed-endurance-execution-index
Aug 31, 2026
Merged

lagrangee merged 1 commit into
mainfrom
codex/fix-mixed-endurance-execution-index

Conversation

@lagrangee

Copy link
Copy Markdown
Owner

Summary

  • derive one endurance-filtered executable Completion Item list
  • reuse it for initial focus, rest advancement, normal completion, and reconciliation
  • add regression coverage for immediate-next navigation and end-sheet entry in mixed endurance/standard Sessions

Root cause

The UI rendered an endurance-filtered list but calculated next and fallback indexes against the unfiltered Session list. An endurance item before standard work shifted every visible index by one and remained the fallback after all visible items were complete.

Validation

  • regression tests reproduced item-2 becoming item-3 and endSheet remaining false before the fix
  • npm run release-check passed in the unrestricted local environment

Use one endurance-filtered Completion Item list for focus, rest advancement, completion, and reconciliation. This prevents raw Session indexes from skipping visible items or blocking the end sheet in mixed endurance and standard workouts.
@lagrangee
lagrangee merged commit 3d0134b into main Aug 31, 2026
1 check passed
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-08-31T15:21:40.711552Z 7fe4919 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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