Skip to content

fix(main): auto_port tests after #1452, and the .contributors comma #1499 dropped - #1507

Open
xerj-org wants to merge 3 commits into
mainfrom
fix/auto-port-test-after-1452
Open

xerj-org wants to merge 3 commits into
mainfrom
fix/auto-port-test-after-1452

Conversation

@xerj-org

@xerj-org xerj-org commented Oct 16, 2026 •

Copy link
Copy Markdown
Owner

Main is red in two places, both merge skews. Each one breaks CI on every PR (first seen on the rc.96 release PR #1493):

  1. Format + Clippy / Build + Test. fix(cli): refuse a missing or non-numeric flag value in xerj and xerj index #1452 changed parse_args_from to return Result<CliArgs, String>. feat(server): support multi-instance execution with dynamic port and data-dir allocation #1487's auto_port_is_off_unless_asked_for passes that Result straight to load_config (E0308 at main.rs:3682/3685). Fixed with two .unwrap() calls, as every other caller in the module does.
  2. CLA gate config. The merge of CLA: add Jarvis636431 to .contributors #1499 left "Jarvis636431" with no comma before "leninworld", so .contributors is invalid JSON (jq: Expected separator … line 25). Comma restored. No entry is added or removed, and it parses (28 entries).
  • cargo test --release -p xerj-server --bin xerj: 86 passed
  • cargo fmt --all --check: clean

🤖 Generated with Claude Code

… after #1452 + #1487)

#1452 made parse_args_from return Result<CliArgs, String> (a missing flag
value is refused); #1487's auto_port_is_off_unless_asked_for, written
against the old signature, passes the Result straight to load_config. Each
PR was green alone; the merged tree fails to compile the xerj-server bin
tests (E0308 at main.rs:3682/3685), so Format + Clippy and Build + Test are
red for main and every PR. Unwrap, as every other parse_args_from caller in
the test module does.

cargo test --release -p xerj-server --bin xerj: all pass; fmt clean.
The merge of #1499 (Jarvis636431) after #1495 left "Jarvis636431" with no
trailing comma before "leninworld", so .contributors is invalid JSON and
the CLA gate config job fails on main and every PR (jq: Expected separator
between values at line 25). No entry added or removed.
@xerj-org xerj-org changed the title test(server): unwrap parse_args_from in the auto_port tests (main red after #1452 + #1487) fix(main): auto_port tests after #1452, and the .contributors comma #1499 dropped Oct 16, 2026
xerj-org added a commit that referenced this pull request Oct 16, 2026
xerj-org added a commit that referenced this pull request Oct 16, 2026

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