Repository navigation
fix(scripts): format the APK signature verifier import - #7262
XiaoBinGan wants to merge 1 commit into
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
[Low impact] This formatting-only change appears safe to merge. SummaryReformats one import in
Reviews (3) · Last reviewed commit: "fix(scripts): format the APK signature v..." · Reviewed by Greptile |
|
The failing checks here are not caused by this diff, which only adds one firmware test file. Three separate
Locally this PR's own test passes: The commit status for |
662ec2e (fix(verifiers): preserve source Evidence through shared admission) widened the mcp-verifier-results.mjs import across four lines, but oxfmt fits that specifier list on one line. npm run format:check therefore fails on main itself: scripts/verify-apk-signature.mjs Format issues found in above 1 files. Static checks runs format:check first, so every pull request opened against this main fails there regardless of its own content. This runs the formatter on that one file and nothing else.
4d10b63 to
81fa99c
Compare
|
Landed on
For the record, this was a real Nothing else in this PR needs follow-up. |
Summary
npm run format:checkfails onmainat624ebb2a1, so theStatic checksjob fails for every pull request opened against it. This restores the formatted state of the one file responsible.Problem and expected behavior
662ec2e45(fix(verifiers): preserve source Evidence through shared admission) widened one import inscripts/verify-apk-signature.mjs:oxfmtfits that specifier list on one line, so the committed form is unformatted.format:checkruns first inStatic checksand exits 1, which is why unrelated PRs fail there:Expected:
npm run format:checkexits 0 onmain. Actual: it exits 1.Change and scope
Ran the repository formatter on that one file. The whole diff is the import returning to one line, 1 insertion and 4 deletions. No behavior changes, no other file touched.
Intentionally not included: any reformatting beyond this file, and any edit to the
max-lineswarningoxlintalready reports for this script (pre-existing, present onmain, and not an error).Contract and boundary impact
docs/public/product-catalog.json), package, or installation impact: none.Expected effects (check known effects; use documentation-only on its own).
Unchecked items do not establish absence; leave uncertainties visible.
Evidence and regression coverage
format:checkis the regression check, and it is part ofStatic checks.upstream/mainat624ebb2a1, with no local changes,npm run format:checkexits 1 and names onlyscripts/verify-apk-signature.mjs. After this change it exits 0 over the same 6089 files.Independent confirmation that this is a
mainbreak rather than a per-PR problem: two unrelated open PRs also reportStatic checksfailed on this same base — #7261 (ArjenS-LA, run started 17:30:39Z) and #7258 (BeqaKs, run started 16:50:25Z).For boundary fixes: not applicable. No boundary or lifecycle behavior changes.
For evidence-bearing changes: not applicable. This change adds or alters no observed, derived, or inferred claim.
Validation performed
npm run format:check(onupstream/main@624ebb2a1, unmodified) — exit 1,scripts/verify-apk-signature.mjsreportednpm run format:check(with this change) — exit 0, "All matched files use the correct format.", 6089 filesnpx oxfmt --check scripts/verify-apk-signature.mjs— exit 0npx oxlint scripts/verify-apk-signature.mjs— exit 0, "Found 1 warning and 0 errors." (themax-lineswarning is present onmaintoo)Compatibility, safety, and release
Author readiness
Human owner: @XiaoBinGan
Before merge
type(scope): outcome.