Skip to content

refactor(app): align child store working state#273

Draft
nicko-ai wants to merge 1 commit into
devfrom
codex/child-store-working-state-cleanup
Draft

refactor(app): align child store working state#273
nicko-ai wants to merge 1 commit into
devfrom
codex/child-store-working-state-cleanup

Conversation

@nicko-ai

Copy link
Copy Markdown
Collaborator

Issue for this PR

N/A - upstream-alignment refactor.

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Removes a fork-only child-store fallback that treated unfinished assistant messages as session working state before session_status loaded. The behavior is not listed in FORK_CHANGELOG.md or USER_FLOWS.md, and the matching upstream session_working logic treats missing status as idle.

This restores the upstream hunk and removes the tests that only covered the fallback.

How did you verify your code works?

  • npx --yes bun@1.3.13 x prettier --write packages/app/src/context/global-sync/child-store.ts packages/app/src/context/global-sync/child-store.test.ts
  • npx --yes bun@1.3.13 test --preload ./happydom.ts ./src/context/global-sync/child-store.test.ts from packages/app
  • npx --yes bun@1.3.13 run typecheck from packages/app
  • Pre-push hook ran bun turbo typecheck successfully with Bun 1.3.13 on PATH

Screenshots / recordings

Not applicable; no visual layout change.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

- Restore upstream session_working behavior for sessions without loaded status

- Remove tests that locked in the unfinished-assistant fallback
@github-actions

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

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