Skip to content

fix(discord-bot): make steernow resilient to empty/lagging server queue - #112

Merged
omegent-app[bot] merged 1 commit into
fork/discordfrom
t3-discord/0da738da-steernow-fix
Jul 27, 2026
Merged

fix(discord-bot): make steernow resilient to empty/lagging server queue#112
omegent-app[bot] merged 1 commit into
fork/discordfrom
t3-discord/0da738da-steernow-fix

Conversation

@omegent-app

@omegent-app omegent-app Bot commented Jul 27, 2026

Copy link
Copy Markdown

Summary

  • /agent steernow no longer treats a missing/lagging HTTP thread snapshot as an empty queue; it falls back to the in-memory Discord queued-prompt registry so just-parked 📥 follow-ups still flush.
  • Failed mid-turn steers are registered + badged so steernow can recover them later.
  • Empty-queue replies point users at /agent steer for immediate mid-turn injection.

Context

steernow was only reading fetchThreadDetail().queuedMessages. That path soft-fails to empty when the snapshot is unavailable, which surfaced as "Nothing is queued on this thread" even when follow-ups were parked (or after a steer race left work on the server queue).

Test plan

  • vp test run src/features/DiscordQueuedPromptRegistry.test.ts (8 tests)
  • Related slash/channel-info pin tests
  • Deploy / smoke: mid-turn @Omegent parks with 📥, then /agent steernow injects
  • /agent steernow with nothing parked shows clearer guidance including /agent steer

steernow was reporting "Nothing is queued" whenever the HTTP thread
snapshot was missing or lagging, even when Discord still had parked
follow-ups in the in-memory registry. Prefer the server queue, fall back
to the local registry, register failed mid-turn steers for later flush,
and clarify the empty-queue reply so users know to use /agent steer.
@omegent-app
omegent-app Bot merged commit ae54e5e into fork/discord Jul 27, 2026
1 check passed
@omegent-app
omegent-app Bot deleted the t3-discord/0da738da-steernow-fix branch July 27, 2026 11:55
patroza pushed a commit that referenced this pull request Jul 27, 2026
…ue (#112)

steernow was reporting "Nothing is queued" whenever the HTTP thread
snapshot was missing or lagging, even when Discord still had parked
follow-ups in the in-memory registry. Prefer the server queue, fall back
to the local registry, register failed mid-turn steers for later flush,
and clarify the empty-queue reply so users know to use /agent steer.

Co-authored-by: omegent-app[bot] <306514130+omegent-app[bot]@users.noreply.github.com>
patroza pushed a commit that referenced this pull request Jul 27, 2026
…ue (#112)

steernow was reporting "Nothing is queued" whenever the HTTP thread
snapshot was missing or lagging, even when Discord still had parked
follow-ups in the in-memory registry. Prefer the server queue, fall back
to the local registry, register failed mid-turn steers for later flush,
and clarify the empty-queue reply so users know to use /agent steer.

Co-authored-by: omegent-app[bot] <306514130+omegent-app[bot]@users.noreply.github.com>
patroza pushed a commit that referenced this pull request Jul 27, 2026
…ue (#112)

steernow was reporting "Nothing is queued" whenever the HTTP thread
snapshot was missing or lagging, even when Discord still had parked
follow-ups in the in-memory registry. Prefer the server queue, fall back
to the local registry, register failed mid-turn steers for later flush,
and clarify the empty-queue reply so users know to use /agent steer.

Co-authored-by: omegent-app[bot] <306514130+omegent-app[bot]@users.noreply.github.com>
patroza pushed a commit that referenced this pull request Jul 27, 2026
…ue (#112)

steernow was reporting "Nothing is queued" whenever the HTTP thread
snapshot was missing or lagging, even when Discord still had parked
follow-ups in the in-memory registry. Prefer the server queue, fall back
to the local registry, register failed mid-turn steers for later flush,
and clarify the empty-queue reply so users know to use /agent steer.

Co-authored-by: omegent-app[bot] <306514130+omegent-app[bot]@users.noreply.github.com>
patroza pushed a commit that referenced this pull request Jul 27, 2026
…ue (#112)

steernow was reporting "Nothing is queued" whenever the HTTP thread
snapshot was missing or lagging, even when Discord still had parked
follow-ups in the in-memory registry. Prefer the server queue, fall back
to the local registry, register failed mid-turn steers for later flush,
and clarify the empty-queue reply so users know to use /agent steer.

Co-authored-by: omegent-app[bot] <306514130+omegent-app[bot]@users.noreply.github.com>
patroza pushed a commit that referenced this pull request Jul 27, 2026
…ue (#112)

steernow was reporting "Nothing is queued" whenever the HTTP thread
snapshot was missing or lagging, even when Discord still had parked
follow-ups in the in-memory registry. Prefer the server queue, fall back
to the local registry, register failed mid-turn steers for later flush,
and clarify the empty-queue reply so users know to use /agent steer.

Co-authored-by: omegent-app[bot] <306514130+omegent-app[bot]@users.noreply.github.com>
patroza pushed a commit that referenced this pull request Jul 27, 2026
…ue (#112)

steernow was reporting "Nothing is queued" whenever the HTTP thread
snapshot was missing or lagging, even when Discord still had parked
follow-ups in the in-memory registry. Prefer the server queue, fall back
to the local registry, register failed mid-turn steers for later flush,
and clarify the empty-queue reply so users know to use /agent steer.

Co-authored-by: omegent-app[bot] <306514130+omegent-app[bot]@users.noreply.github.com>
patroza pushed a commit that referenced this pull request Jul 27, 2026
…ue (#112)

steernow was reporting "Nothing is queued" whenever the HTTP thread
snapshot was missing or lagging, even when Discord still had parked
follow-ups in the in-memory registry. Prefer the server queue, fall back
to the local registry, register failed mid-turn steers for later flush,
and clarify the empty-queue reply so users know to use /agent steer.

Co-authored-by: omegent-app[bot] <306514130+omegent-app[bot]@users.noreply.github.com>
patroza pushed a commit that referenced this pull request Jul 27, 2026
…ue (#112)

steernow was reporting "Nothing is queued" whenever the HTTP thread
snapshot was missing or lagging, even when Discord still had parked
follow-ups in the in-memory registry. Prefer the server queue, fall back
to the local registry, register failed mid-turn steers for later flush,
and clarify the empty-queue reply so users know to use /agent steer.

Co-authored-by: omegent-app[bot] <306514130+omegent-app[bot]@users.noreply.github.com>
patroza pushed a commit that referenced this pull request Jul 27, 2026
…ue (#112)

steernow was reporting "Nothing is queued" whenever the HTTP thread
snapshot was missing or lagging, even when Discord still had parked
follow-ups in the in-memory registry. Prefer the server queue, fall back
to the local registry, register failed mid-turn steers for later flush,
and clarify the empty-queue reply so users know to use /agent steer.

Co-authored-by: omegent-app[bot] <306514130+omegent-app[bot]@users.noreply.github.com>
patroza pushed a commit that referenced this pull request Jul 27, 2026
…ue (#112)

steernow was reporting "Nothing is queued" whenever the HTTP thread
snapshot was missing or lagging, even when Discord still had parked
follow-ups in the in-memory registry. Prefer the server queue, fall back
to the local registry, register failed mid-turn steers for later flush,
and clarify the empty-queue reply so users know to use /agent steer.

Co-authored-by: omegent-app[bot] <306514130+omegent-app[bot]@users.noreply.github.com>
patroza pushed a commit that referenced this pull request Jul 27, 2026
…ue (#112)

steernow was reporting "Nothing is queued" whenever the HTTP thread
snapshot was missing or lagging, even when Discord still had parked
follow-ups in the in-memory registry. Prefer the server queue, fall back
to the local registry, register failed mid-turn steers for later flush,
and clarify the empty-queue reply so users know to use /agent steer.

Co-authored-by: omegent-app[bot] <306514130+omegent-app[bot]@users.noreply.github.com>
patroza pushed a commit that referenced this pull request Jul 27, 2026
…ue (#112)

steernow was reporting "Nothing is queued" whenever the HTTP thread
snapshot was missing or lagging, even when Discord still had parked
follow-ups in the in-memory registry. Prefer the server queue, fall back
to the local registry, register failed mid-turn steers for later flush,
and clarify the empty-queue reply so users know to use /agent steer.

Co-authored-by: omegent-app[bot] <306514130+omegent-app[bot]@users.noreply.github.com>
patroza pushed a commit that referenced this pull request Jul 27, 2026
…ue (#112)

steernow was reporting "Nothing is queued" whenever the HTTP thread
snapshot was missing or lagging, even when Discord still had parked
follow-ups in the in-memory registry. Prefer the server queue, fall back
to the local registry, register failed mid-turn steers for later flush,
and clarify the empty-queue reply so users know to use /agent steer.

Co-authored-by: omegent-app[bot] <306514130+omegent-app[bot]@users.noreply.github.com>
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.

0 participants