Skip to content

hosted agents: decode trigger pause reason and waiting execution fields (MARSOHS-2624) - #1206

Merged
SSharma-10 merged 2 commits into
digitalocean:mainfrom
sdharavath:sdharavath/MARSOHS-2624/trigger-pause-and-waiting-fields
Nov 17, 2026
Merged

SSharma-10 merged 2 commits into
digitalocean:mainfrom
sdharavath:sdharavath/MARSOHS-2624/trigger-pause-and-waiting-fields

Conversation

@sdharavath

Copy link
Copy Markdown
Contributor

Summary

  • Decode pause_reason=trigger on a hosted agent session. Unknown reasons still pass through unchanged.
  • Decode status_reason and status_message on a trigger execution. A reuse firing that is waiting keeps status=running and sets status_reason=waiting_for_bound_session.

Do not merge until MARSOHS-2618 and MARSOHS-2620 are merged. Do not cut a release tag in this pull request; the changelog line lands with that tag.

Test plan

  • go test -count=1 -run 'TestHostedAgentSession_DecodesTriggerPauseReason|TestHostedAgentSession_KeepsUnknownPauseReasonVerbatim|TestHostedAgentTriggerExecution_DecodesWaitingDetail'
  • Confirm MARSOHS-2618 and MARSOHS-2620 are merged before this merges

Made with Cursor

@sdharavath
sdharavath marked this pull request as ready for review November 4, 2026 18:09
@sdharavath
sdharavath force-pushed the sdharavath/MARSOHS-2624/trigger-pause-and-waiting-fields branch from f017f23 to b171fc4 Compare November 10, 2026 10:09
…ds (MARSOHS-2624)

Co-authored-by: Cursor <cursoragent@cursor.com>
@sdharavath
sdharavath force-pushed the sdharavath/MARSOHS-2624/trigger-pause-and-waiting-fields branch from b171fc4 to aa20d94 Compare November 16, 2026 14:52
@SSharma-10
SSharma-10 merged commit f0c213c into digitalocean:main Nov 17, 2026
8 checks passed
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.

3 participants