Skip to content

Conversation

iliana
Copy link
Contributor

@iliana iliana commented Sep 17, 2025

Part of #8902. Stacked on #8983.

@iliana iliana force-pushed the iliana/nexus-debug-continued branch 2 times, most recently from 55291f4 to a68433d Compare September 19, 2025 21:21
Copy link
Collaborator

@davepacheco davepacheco left a comment

Choose a reason for hiding this comment

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

Thank you for grinding through this! I love how many packages no longer have a dependency on nexus-client. I just had one note here.

mock.assert_calls_async(1).await;

// Deleting a subscription that doesn't exist should 404.
dbg!(
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm surprised this got deleted instead of converted.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I meant to write a note here. This test was calling an endpoint that does not exist on the internal APIs, only the external ones (DELETE /v1/alert-receivers/{receiver}/subscriptions/{subscription}). Because it does not exist, the API returns 404, and the test here "succeeds".

But now that I look at this again, I should be able to swap it for ctx.external_client and it should be testing the correct thing.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Replacing it for the external client doesn't work as the delete endpoint returns 204 No Content even after the subscription was deleted.

@iliana iliana force-pushed the iliana/nexus-debug-continued branch from a68433d to 6255457 Compare September 23, 2025 00:01
Base automatically changed from iliana/nexus-internal-debug to main September 23, 2025 22:56
@iliana iliana force-pushed the iliana/nexus-debug-continued branch from 6255457 to 8e3d4f5 Compare September 24, 2025 00:15
@iliana iliana merged commit f53eb00 into main Sep 24, 2025
18 checks passed
@iliana iliana deleted the iliana/nexus-debug-continued branch September 24, 2025 05:17
leftwo pushed a commit that referenced this pull request Sep 26, 2025
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.

2 participants