Skip to content

Conversation

@karencfv
Copy link
Contributor

@karencfv karencfv commented Nov 5, 2025

Closes: #8862

@karencfv karencfv requested a review from davepacheco November 5, 2025 02:03
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.

Cool! That was fast. It'd be good to get a +1 from @bnaecker or @andrewjstone because I don't know what other files might need to be locked down.

#[tokio::test]
async fn test_schemas_are_not_modified() -> anyhow::Result<()> {
let cur_dir = PathBuf::from(env!("CARGO_MANIFEST_DIR"));
let single_node_schema_checksum =
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why checksums here instead of expectorate? Is it to make it harder to override?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yup!

@karencfv karencfv enabled auto-merge (squash) November 5, 2025 21:10
Similarly, there must be only a single instance of this program at a time.

_NB: Schema changes for the `oximeter` database are currently disabled due to
ongoing self-service update work. More information about this restriction can
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is alright but this work is not ongoing and not planned. The plan of record is to do nothing until we have a need to change the schema and then figure out how we would automate that kind of change.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

argh, sorry! I misread the suggestion and thought it was just a syntax change 🤦‍♀️ I'll open up another PR with the text change!

@karencfv karencfv merged commit 199c27a into oxidecomputer:main Nov 5, 2025
17 checks passed
@karencfv karencfv deleted the oximeter-schema-check branch November 6, 2025 03:28
karencfv added a commit that referenced this pull request Nov 7, 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.

restrict Clickhouse schema changes

3 participants