Skip to content

fix(session): aggregate status across child directories#30155

Open
noobezlol wants to merge 3 commits into
anomalyco:devfrom
noobezlol:fix-session-status-child-directories
Open

fix(session): aggregate status across child directories#30155
noobezlol wants to merge 3 commits into
anomalyco:devfrom
noobezlol:fix-session-status-child-directories

Conversation

@noobezlol
Copy link
Copy Markdown

@noobezlol noobezlol commented Jun 1, 2026

Issue for this PR

Closes #30094

Type of change

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

What does this PR do?

GET /session/status only returned status for the selected instance, so sessions running in child project directories were missing when querying from a parent directory. This keeps child-directory status maps available for recursive listing and updates the status handler to include them.

How did you verify your code works?

  • reproduced the issue locally
  • verified the regression test fails before the fix and passes after the fix
  • bun run lint
  • bun run --cwd packages/opencode typecheck
  • bun test --timeout 30000 test/server/httpapi-sdk.test.ts
  • bun run --cwd packages/opencode script/httpapi-exercise.ts --mode effect --include session.status --fail-on-missing --fail-on-skip
  • git diff --check
  • git diff --cached --check

Screenshots / recordings

Not applicable.

Checklist

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

@github-actions github-actions Bot added needs:compliance This means the issue will auto-close after 2 hours. and removed needs:compliance This means the issue will auto-close after 2 hours. labels Jun 1, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 1, 2026

Thanks for updating your PR! It now meets our contributing guidelines. 👍

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.

GET /session/status no longer aggregates across all directories

1 participant