Skip to content

Conversation

@akshaymankar
Copy link
Member

@akshaymankar akshaymankar commented Jun 24, 2025

https://wearezeta.atlassian.net/browse/WPB-18369

Checklist

  • Add a new entry in an appropriate subdirectory of changelog.d
  • Read and follow the PR guidelines

The tests now fail correctly because gundeck is not sending native pushes to
clients with consumable-notifications capability
@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label Jun 24, 2025
@akshaymankar akshaymankar marked this pull request as ready for review June 24, 2025 14:45
@akshaymankar akshaymankar requested review from a team as code owners June 24, 2025 14:45
handlePushCass Push {..} = do
forM_ _pushRecipients $ \(Recipient uid _ cids) -> do
clients <- Set.toList . Set.unions . Map.elems . (.userClientsFull) <$> mpaGetClients (Set.singleton uid)
let consumabeNotifClients = map (.clientId) $ filter supportsConsumableNotifications clients
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
let consumabeNotifClients = map (.clientId) $ filter supportsConsumableNotifications clients
let consumableNotifClients = map (.clientId) $ filter supportsConsumableNotifications clients

Typo.

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed.

Copy link
Contributor

@supersven supersven left a comment

Choose a reason for hiding this comment

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

The questions should probably be resolved before green lightening this PR. However, it's already looking pretty good.

@akshaymankar akshaymankar requested a review from supersven June 25, 2025 15:15
Copy link
Contributor

@supersven supersven left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@akshaymankar akshaymankar merged commit c25c53b into develop Jun 26, 2025
8 checks passed
@akshaymankar akshaymankar deleted the consumable-notifs-native-push branch June 26, 2025 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants