feat(fire): --send-at flag (hosted PR #618 port)#37
Open
mikemolinet wants to merge 1 commit intomainfrom
Open
Conversation
Adds `--send-at` to `cueapi fire` for per-fire scheduling. Server-side FireRequest gained `send_at: Optional[datetime]` in #618; the dispatcher gates on dispatch_outbox.scheduled_at. Past timestamps are forgiving (server treats as 'fire now', idempotent). Tests: 4 new (133 → 137 total). Pinned: --send-at omitted from body when unset, combines correctly with --payload-override + --merge-strategy. Depends on cueapi/cueapi#618 merging to staging then prod for user-visible behavior. PR can merge independently — sending an unknown `send_at` field against an old server is silently ignored (Pydantic extra='ignore' default on FireRequest). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Parity port for hosted cueapi/cueapi#618 (per-fire
send_atscheduling onPOST /v1/cues/{id}/fire).Behavior
dispatch_outbox.scheduled_at <= now(). Pastsend_attimestamps are forgiving (server treats as 'fire now' — idempotent, no error).FireRequest.send_atisOptional[datetime]; Pydantic parses ISO strings cleanly.Tests
4 new (133 → 137 total). Pinned:
--send-atsend_atlands in JSON body unchangednullleakage)--payload-override+--merge-strategyDepends on
cueapi/cueapi#618 merging to staging → prod for user-visible behavior. PR can merge independently — sending an unknown
send_atfield against an old server is silently ignored (FireRequest's Pydantic extra defaults to ignore).Companion
cueapi-python parity PR ships the same surface as
client.cues.fire(send_at="...").🤖 Generated with Claude Code