Bounty: $40 (LT)
Area: build.py, diagnostic/, tests/
Current state: build.py generates diagnostic metadata and encrypted .logd artifacts, but there is no focused regression coverage that protects the redaction and path-normalization contract across Windows and Unix-like hosts.
What's needed: Add deterministic tests or helpers that validate diagnostic redaction, artifact pairing, and repository-relative path reporting without relying on live services.
Acceptance criteria:
- Validate that diagnostic metadata reports artifact paths as repository-relative
/ paths.
- Assert local home, repo, temp paths, machine names, and usernames are not leaked in diagnostic metadata.
- Confirm the
.logd reference in JSON matches a generated encrypted artifact in diagnostic/.
- Fail clearly when the JSON is missing, the
.logd artifact is missing, or the pair is mismatched.
- Keep the coverage 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
Tracker note: This issue is opened for the upstream LT bounty tracker; bounty eligibility and payout are determined by upstream review, merge, and tracker rules.
Bounty: $40 (LT)
Area:
build.py,diagnostic/,tests/Current state:
build.pygenerates diagnostic metadata and encrypted.logdartifacts, but there is no focused regression coverage that protects the redaction and path-normalization contract across Windows and Unix-like hosts.What's needed: Add deterministic tests or helpers that validate diagnostic redaction, artifact pairing, and repository-relative path reporting without relying on live services.
Acceptance criteria:
/paths..logdreference in JSON matches a generated encrypted artifact indiagnostic/..logdartifact 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 submissionTracker note: This issue is opened for the upstream LT bounty tracker; bounty eligibility and payout are determined by upstream review, merge, and tracker rules.