Skip to content

fix(app): restore queued follow-up (Queue/Steer) setting - #52428

Open
Chunai-Bboy wants to merge 1 commit into
anomalyco:devfrom
Chunai-Bboy:fix/restore-queued-followups-v2
Open

Chunai-Bboy wants to merge 1 commit into
anomalyco:devfrom
Chunai-Bboy:fix/restore-queued-followups-v2

Conversation

@Chunai-Bboy

@Chunai-Bboy Chunai-Bboy commented Oct 1, 2026 •

Copy link
Copy Markdown

Issue for this PR

Closes #44108

Type of change

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

What does this PR do?

Sending a message while the agent is busy always steers into the running turn. There has been no way to pick "queue" since ae7e2eb (Apr 3).

The cause is in packages/app/src/context/settings.tsx: a createEffect rewrote a stored "queue" to "steer", the getter mapped queue -> steer, and setFollowup did the same on write. The settings row was also deleted from both settings dialogs.

Nothing was actually removed though. The queue store, the flush-when-idle effect, the queued-messages dock (the session.followupDock.* strings are still in every locale), and shouldQueue/onQueue in pages/session.tsx are all still there. They just never see "queue".

This drops the coercion and puts the row back. Default stays "steer", so nothing changes unless you pick Queue.

How did you verify your code works?

I did not run the app build. I confirmed the coercion against the shipped bundle, and lifted the settings row markup verbatim from a32ffab (the commit right before ae7e2eb). Happy to test properly if you tell me how you want it run.

Screenshots / recordings

None - the queue/steer behavior is not easy to capture in a still.

Checklist

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

Since ae7e2eb ('chore(app): remove queued follow-ups for now'), the web app hard-wires follow-up delivery to steer: a migration effect coerces a stored 'queue' to 'steer', the getter maps 'queue' to 'steer', and setFollowup maps 'queue' to 'steer' on write. The Queue/Steer settings row was deleted from both the legacy and v2 settings dialogs, so there is no way to pick a mode at all.

The queue machinery itself was never removed: the per-session persisted queue store, the flush-when-idle effect, the queued-messages dock (session.followupDock.* strings are still present in every locale), and the composer shouldQueue/onQueue wiring in pages/session.tsx all still work as soon as the stored value can be 'queue' again.

This reverts the coercion to its pre-ae7e2eb shape and restores the settings row in both settings UIs, reusing the existing i18n keys. Default stays 'steer', so behavior is unchanged for users who never touch the setting.

Refs anomalyco#44108, anomalyco#48203
@github-actions github-actions Bot added needs:compliance This means the issue will auto-close after 2 hours. needs:issue labels Oct 1, 2026
@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

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

@github-actions github-actions Bot removed needs:issue needs:compliance This means the issue will auto-close after 2 hours. labels Oct 2, 2026
@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

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

@Chunai-Bboy

Copy link
Copy Markdown
Author

One thing I could not determine from the issue threads: ae7e2eb is titled "remove queued follow-ups for now", and I did not want to assume it was simply an oversight.

Was there a specific problem with the queue that motivated disabling it (a bug in the dock, a conflict with the v2 work, something else)? If so I would rather address that than just reopen the door — happy to adjust the PR, or close it if the reasoning still holds.

If it really was just temporary cleanup, this should restore things as they were.

This branch has not been deployed

No deployments
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.

[FEATURE]: Web UI has no way to queue follow-up messages — steer-only since queue setting was removed

1 participant