Skip to content

CI - rust smoketests lib expansion#4269

Draft
bfops wants to merge 27 commits intomasterfrom
bfops/rust-smoketests-lib
Draft

CI - rust smoketests lib expansion#4269
bfops wants to merge 27 commits intomasterfrom
bfops/rust-smoketests-lib

Conversation

@bfops
Copy link
Copy Markdown
Collaborator

@bfops bfops commented Feb 11, 2026

Description of Changes

A variety of small expansions/fixes to the smoketests lib.

Also, several of the tests were not working when --server was passed, due to name collisions. Each test runs with its own identity, but if it tried to publish over an existing database, it would get an auth error. I have fixed the name collisions. However, the original python smoketests simply used random strings, where we currently use hardcoded names and/or hardcoded names with PID suffixes. This seems less robust and should potentially be changed.

API and ABI breaking changes

None. Testing only.

Expected complexity level and risk

2

Testing

  • CI passes

pub organization: Option<String>,
pub force: bool,
pub stdin_input: Option<&str>,
}
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

started refactoring to the builder pattern so we stop having a billion different versions of the publish function.

I would like to do this for several other parts of this lib as well, but it's not an imminent priority.

Signed-off-by: Zeke Foppa <196249+bfops@users.noreply.github.com>

#[test]
fn test_http_redirect_to_disallowed_ip_is_blocked() {
require_local_server!();
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I don't really understand how this test works, but it seems like given that we're spawning an extra server, this must only work for local servers

@bfops bfops requested a review from jdetter April 13, 2026 19:18
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.

1 participant