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

fix: Synthetic monitoring UIDs are wrong #189

Merged
merged 1 commit into from
Oct 28, 2021

Conversation

julienduchesne
Copy link
Member

The UID computed from the jsonnet definition uses a . as a separator while the one computed from the remote checks uses - as a separator
This means that they never match and Grizzly always tries to create checks even if they already exists
This fails with a 409 Conflict error

@julienduchesne julienduchesne requested review from malcolmholmes and a team October 27, 2021 16:32
Copy link
Collaborator

@malcolmholmes malcolmholmes left a comment

Choose a reason for hiding this comment

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

Thanks for spotting this. I avoided dots because I mistakenly assumed they were a special character in globs (mistaking them with regexes).

@julienduchesne julienduchesne force-pushed the julienduchesne/add-debug-logging branch 4 times, most recently from 210b972 to 8590375 Compare October 28, 2021 12:56
@julienduchesne julienduchesne force-pushed the julienduchesne/fix-uid branch 2 times, most recently from 9355109 to 51523dc Compare October 28, 2021 14:13
The UID computed from the jsonnet definition uses a `.` as a separator while the one computed from the remote checks uses `-` as a separator
This means that they never match and Grizzly always tries to create checks even if they already exists
This fails with a `409 Conflict` error
@julienduchesne julienduchesne changed the base branch from julienduchesne/add-debug-logging to master October 28, 2021 14:14
@julienduchesne julienduchesne merged commit fc8bdd0 into master Oct 28, 2021
@julienduchesne julienduchesne deleted the julienduchesne/fix-uid branch October 28, 2021 14:17
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.

None yet

3 participants