merge chore/rm-orphan-files (583a6ef2fb) #28

Open
pipeline-bot wants to merge 3 commits from chore/rm-orphan-files into trunk
Collaborator
No description provided.
Remove orphan .zig files unwired into build.zig/build.zig.zon:
- src/recursor_server_e2e.zig
- bench.zig, bench_authoritative_cache.zig, bench_recursor_workers.zig
- test/fuzz_dns.zig, test/fuzz_name.zig, test/fuzz_config.zig
Remove committed compiled binary 'bench' (Mach-O arm64); ignore it in
.gitignore/.dockerignore. Remove zdist.conf.example (consolidated onto
zdist.conf).
The server-package pipeline builds with `zig build test -Dversion=<ver>`, but
build.zig never declared a 'version' option -> 'error: invalid option: -Dversion'
failed every CI build (blocking all zdns merges/releases). Declare the option
(default 'dev') and embed it into build_options so the binary can report its
version. Unblocks the dead-code-removal commit on this branch.
The zdns pipeline smoke (project-crs/zdns.yaml) requires
`recursor --version` to report `zdns-recursor <VERSION>`; recursor errored
InvalidArgs on the unknown flag, so zdns CI never went green (couldn't release).
Wire build_options into the recursor exe and handle --version, printing
'zdns-recursor ' + the baked build_options.version. Verified locally:
`zig build -Dversion=0.1.5 && recursor --version` => 'zdns-recursor 0.1.5'.
This pull request has changes conflicting with the target branch.
  • build.zig
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin chore/rm-orphan-files:chore/rm-orphan-files
git switch chore/rm-orphan-files
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
sean/zdns!28
No description provided.