Skip to content

chore: cleanup compile flags#23

Merged
benbierens merged 15 commits intomainfrom
chore/cleanup-compile-flags
Oct 28, 2025
Merged

chore: cleanup compile flags#23
benbierens merged 15 commits intomainfrom
chore/cleanup-compile-flags

Conversation

@benbierens
Copy link
Copy Markdown
Contributor

@benbierens benbierens commented Oct 16, 2025

There three different compile flags that enable features used for testing. This PR combines them into a single flag.
It also introduces a generic system-testing-options API call by which these testing features can be controlled, replacing constants or cli-arguments, allowing for more flexible test scenarios.

@benbierens benbierens marked this pull request as ready for review October 17, 2025 07:03
@benbierens benbierens force-pushed the chore/cleanup-compile-flags branch from eebb86b to 43f5cf4 Compare October 17, 2025 13:27
Copy link
Copy Markdown
Contributor

@markspanbroek markspanbroek left a comment

Choose a reason for hiding this comment

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

Nice @benbierens, cleans up nicely! Left a comment

Comment thread tests/integration/archivistclient.nim Outdated
response = await client.post(url, headers = headers, body = "")
assert response.status == 200

proc setSto*(
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Perhaps rename to setSystemTestingOption()? And rename the rest endpoint to /debug/option/, or /debug/testing/option?

@benbierens benbierens force-pushed the chore/cleanup-compile-flags branch from 43f5cf4 to 1bfeb32 Compare October 27, 2025 12:22
@veaceslavdoina veaceslavdoina changed the title Chore/cleanup compile flags chore: cleanup compile flags Oct 27, 2025
@benbierens benbierens force-pushed the chore/cleanup-compile-flags branch from 10fd232 to ef8e95d Compare October 27, 2025 15:06
@benbierens benbierens merged commit 2c27b6e into main Oct 28, 2025
35 checks passed
@benbierens benbierens deleted the chore/cleanup-compile-flags branch October 28, 2025 07:54
@veaceslavdoina veaceslavdoina restored the chore/cleanup-compile-flags branch October 28, 2025 13:49
@veaceslavdoina veaceslavdoina deleted the chore/cleanup-compile-flags branch October 28, 2025 13:54
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