Bounty: $25 (LT)
Area: build.py, diagnostic/, tests/
Current state: build.py generates encrypted diagnostic bundles for PR review, but there is no focused regression coverage that validates the generated JSON/logd contract, redacted metadata, and failure behavior.
What's needed: Add deterministic tests or helpers that validate diagnostic metadata and encrypted bundle references without relying on live services.
Acceptance criteria:
- Validate that a build run produces a matching
diagnostic/build-*.json and diagnostic/build-*.logd reference.
- Assert diagnostic metadata uses repository-relative
/ paths where artifact paths are reported.
- Assert local home/repo/temp paths and usernames are redacted from diagnostic metadata.
- Fail clearly when the JSON is missing, the
.logd reference is missing, or the pair is mismatched.
- Keep validation deterministic on Windows and Unix-like hosts.
Required validation:
- Run
python3 build.py
- Include the generated diagnostic
.logd artifact from diagnostic/build-XXX.logd; also include diagnostic/build-XXX.json if present
- Use
.github/pull_request_template.md for your submission
Bounty: $25 (LT)
Area:
build.py,diagnostic/,tests/Current state:
build.pygenerates encrypted diagnostic bundles for PR review, but there is no focused regression coverage that validates the generated JSON/logd contract, redacted metadata, and failure behavior.What's needed: Add deterministic tests or helpers that validate diagnostic metadata and encrypted bundle references without relying on live services.
Acceptance criteria:
diagnostic/build-*.jsonanddiagnostic/build-*.logdreference./paths where artifact paths are reported..logdreference is missing, or the pair is mismatched.Required validation:
python3 build.py.logdartifact fromdiagnostic/build-XXX.logd; also includediagnostic/build-XXX.jsonif present.github/pull_request_template.mdfor your submission