Skip to content

feat: add createApnsBroadcast (RSH1d) and liveActivity methods in PushAdmin#500

Open
ttypic wants to merge 1 commit into
mainfrom
AIT-794/live-activity
Open

feat: add createApnsBroadcast (RSH1d) and liveActivity methods in PushAdmin#500
ttypic wants to merge 1 commit into
mainfrom
AIT-794/live-activity

Conversation

@ttypic

@ttypic ttypic commented Jul 1, 2026

Copy link
Copy Markdown
Contributor
  • Include tests for start, update, and end methods with various scenarios and error propagation.
  • Update related specifications and documentation to reflect test coverage and implementation.

…SH1e1–RSH1e3) in PushAdmin

- Include tests for `start`, `update`, and `end` methods with various scenarios and error propagation.
- Update related specifications and documentation to reflect test coverage and implementation.

@paddybyers paddybyers left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but a couple of comments. I think we could be grouping more assertions into a single test


---

## RSH1d — createApnsBroadcast returns id and apnsChannelId

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we combine several of these tests? They're doing the same thing, just with different assertions


request = captured_requests[0]
ASSERT request.method == "POST"
ASSERT request.url.path == "/push/apnsBroadcastChannels/broadcast-1/start"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want this broadcast id to be randomised to prevent test runs from conflicting?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants