Skip to content

test: verify build diagnostic artifacts are always created (Closes #4)#107

Open
yanyishuai wants to merge 1 commit into
cuentaprueba244w-dotcom:mainfrom
yanyishuai:test/issue-4-build-diagnostics
Open

test: verify build diagnostic artifacts are always created (Closes #4)#107
yanyishuai wants to merge 1 commit into
cuentaprueba244w-dotcom:mainfrom
yanyishuai:test/issue-4-build-diagnostics

Conversation

@yanyishuai

Copy link
Copy Markdown

Summary

Adds unit tests that verify build.py always produces complete diagnostic metadata: module status, elapsed times, pass/fail counts, and logd path handling (including chunked artifacts).

Changes

  • tests/test_build_diagnostics.py — covers failed/successful modules, chunked logd metadata, and JSON report writes

Testing

python -m unittest tests.test_build_diagnostics -v
python build.py --module compliance

Diagnostic decrypt password: 8d3a26d737d6aad84d73

Chunked .logd parts exceed GitHub blob limits; metadata JSON diagnostic/build-2b54872c.json included. Happy to attach chunks on maintainer request.

Closes #4

Wallet: Do4v7foHJvRJLpRRoGaVPWX6DDEjX3yTK7J91gpwUQpE

@yanyishuai yanyishuai force-pushed the test/issue-4-build-diagnostics branch 2 times, most recently from d043915 to eff0076 Compare July 2, 2026 01:25
@yanyishuai yanyishuai force-pushed the test/issue-4-build-diagnostics branch from eff0076 to cf6d150 Compare July 2, 2026 01:38
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.

[$10 BOUNTY] [Python] Verify build diagnostics are created

1 participant