Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WPB-4928] Stop using Servant client to enqueue federation notifications #3647

Merged
merged 10 commits into from
Oct 20, 2023

Conversation

mdimjasevic
Copy link
Contributor

@mdimjasevic mdimjasevic commented Oct 12, 2023

This stops using the Servant client to enqueue federation notifications. It also reorganises the federation API notification endpoints such that they are separated more from the synchronous endpoints. The notification endpoints rely on a type alias that always has EmptyResponse as the response type.

Tracked by https://wearezeta.atlassian.net/browse/WPB-4928.

Checklist

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

@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label Oct 12, 2023
@mdimjasevic mdimjasevic marked this pull request as draft October 17, 2023 12:16
@mdimjasevic mdimjasevic force-pushed the wpb-4928/notification-endpoints branch 4 times, most recently from 808050d to 9aadc6e Compare October 19, 2023 14:45
@mdimjasevic mdimjasevic force-pushed the wpb-4928/notification-endpoints branch 2 times, most recently from 9e7288d to 210d643 Compare October 20, 2023 09:30
@mdimjasevic mdimjasevic force-pushed the wpb-4928/notification-endpoints branch from 210d643 to 0ee2a6d Compare October 20, 2023 09:32
@mdimjasevic mdimjasevic force-pushed the wpb-4928/notification-endpoints branch from 0ee2a6d to fbc0ea1 Compare October 20, 2023 09:33
@mdimjasevic mdimjasevic changed the title [WPB-4928] Reorganise federation API notification endpoints [WPB-4928] Stop using Servant client to enqueue federation notifications Oct 20, 2023
@mdimjasevic mdimjasevic marked this pull request as ready for review October 20, 2023 09:48
m ~ FedQueueClient comp
forall tag api.
( HasNotificationEndpoint tag,
-- api ~ NotificationAPI tag (NotificationComponent tag),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

When I include this constraint, I get an error about the non-injectivity of a type family and I don't know how to fix it.

Copy link
Contributor

@battermann battermann left a comment

Choose a reason for hiding this comment

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

LGTM overall, but I don't know about the non-injectivity error either.

@mdimjasevic mdimjasevic merged commit 4b765e5 into develop Oct 20, 2023
2 checks passed
@mdimjasevic mdimjasevic deleted the wpb-4928/notification-endpoints branch October 20, 2023 11:25
@echoes-hq echoes-hq bot added the echoes: technical-roadmap/technical-debt More specific category, to highlight Technical Debt being tackled. label Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
echoes: technical-roadmap/technical-debt More specific category, to highlight Technical Debt being tackled. 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.

3 participants