Skip to content

fix(main): repair red main (contributors JSON comma, auto_port test after #1452/#1487) - #1506

Open
xerj-org wants to merge 1 commit into
mainfrom
fix/main-red-contributors-autoport
Open

xerj-org wants to merge 1 commit into
mainfrom
fix/main-red-contributors-autoport

Conversation

@xerj-org

Copy link
Copy Markdown
Owner

main (ea1263a) fails two required checks on every PR. Neither comes from
the PR that hit them first (#1505):

  1. CLA gate config: .contributors is not valid JSON. The merge of
    chore/prepare-cla-jarvis636431 (b7dc713) left "Jarvis636431"
    without a trailing comma, so jq fails with "Expected separator between
    values at line 25, column 14". Fix: add the comma back.

  2. Format + Clippy (and every job that compiles xerj-server tests): fix(cli): refuse a missing or non-numeric flag value in xerj and xerj index #1452 made
    parse_args_from return Result<CliArgs, String>, and feat(server): support multi-instance execution with dynamic port and data-dir allocation #1487 (b0b41b9..
    ec6ef06) added auto_port_tests::auto_port_is_off_unless_asked_for, which
    passes its result straight to load_config(&CliArgs). Each PR was green
    alone; together they give E0308 at main.rs:3682/3685. Fix: .unwrap() the
    parse, as the other parse_args_from tests already do.

Checks: jq passes both CLA-gate assertions, and cargo fmt --check passes on
xerj-server. cargo test -p xerj-server --bin xerj auto_port runs locally.

🤖 Generated with Claude Code

… test)

main (ea1263a) fails two required checks on every PR. Neither comes from
the PR that hit them first (#1505):

1. CLA gate config: `.contributors` is not valid JSON. The merge of
   chore/prepare-cla-jarvis636431 (b7dc713) left `"Jarvis636431"`
   without a trailing comma, so `jq` fails with "Expected separator between
   values at line 25, column 14". Fix: add the comma back.

2. Format + Clippy (and every job that compiles xerj-server tests): #1452 made
   `parse_args_from` return `Result<CliArgs, String>`, and #1487 (b0b41b9..
   ec6ef06) added `auto_port_tests::auto_port_is_off_unless_asked_for`, which
   passes its result straight to `load_config(&CliArgs)`. Each PR was green
   alone; together they give E0308 at main.rs:3682/3685. Fix: `.unwrap()` the
   parse, as the other parse_args_from tests already do.

Checks: jq passes both CLA-gate assertions, and cargo fmt --check passes on
xerj-server. `cargo test -p xerj-server --bin xerj auto_port` runs locally.

This branch has not been deployed

No deployments
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