Commit Graph
4 Commits
Author SHA1 Message Date
morluto 53e892d43e fix(ci): retry transient release-host failures when fetching pinned fixtures (#15426)
* fix(ci): retry transient release-host failures when fetching pinned fixtures

The scheduled CI sweep on 0b7f2229b5 failed android_metadata because
GitHub's release host answered one ApiDemos APK request with HTTP 618;
the Android and Harmony fixture fetchers gave up on the first response.

Both now fetch through one helper that retries network errors, HTTP 429
and HTTP 5xx-or-above up to three attempts with a short backoff, and
fails at once on any other status. Size and SHA-256 verification are
unchanged, so a retry cannot admit different bytes.

* fix(ci): retry fixture downloads interrupted while reading the body

The retry covered only the response headers: a reset or timeout while
streaming the body surfaced from each caller's read loop and failed after
one request. downloadFixture now owns the whole download. Each attempt
streams into a fresh partial file and hash, and network errors before or
during the body are retried. A permanent HTTP status, a size or SHA-256
mismatch, and local file errors still fail at once. Both fetchers drop
their duplicated existing-file check, streaming, hashing and size checks.
2026-12-01 05:45:07 +00:00
Vincent Koc 60af9ef6b3 refactor(verifiers): share whole-file SHA-256 hashing (#14475)
* refactor(verifiers): share whole-file SHA-256 hashing

* fix(verifiers): type the streamed digest input
2026-11-25 10:01:22 +00:00
Xiangfang Chen 3ca89d8272 feat(android): pin jadx-headless-mcp 0.8.0
Move the audited engine release and its submodule gitlink from v0.7.1 to
v0.8.0 (commit 2b2a560e, sha256 4b9a01c2...). Upstream only changed
source-window paging and metadata-only field reads, so the six tools REA
consumes and the bridge identity stay unchanged.

Hand-copied version numbers now derive from JADX_RELEASE: the fixture
download name, the metadata-bridge workflow path and the fake MCP
server's reported engine version. The composition fallback availability
text no longer names a release, because the Android boundary owns the
versioned remediation.

Validation: build:cached, check:fast, docs:check, test:focused over the
16 Android test files (296 tests), and verify:android against the real
0.8.0 JAR and ApiDemos 6.0.18.
2026-11-22 16:01:00 +08:00
ysopwnable 8e8921d40c refactor(android): group layered source and verification (#873) 2026-10-07 14:09:57 +08:00