Skip to content

fix(ci): refresh Android SDK and stale Nixpkgs inputs - #251

Merged
dpc merged 1 commit into
rustshop:masterfrom
dpc:dpc/jj-vvsmpkmstrmu
Nov 12, 2026
Merged

dpc merged 1 commit into
rustshop:masterfrom
dpc:dpc/jj-vvsmpkmstrmu

Conversation

@dpc

@dpc dpc commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Posted by Tau

Summary

Fix the pre-existing macOS Android SDK download failure, stale-Nixpkgs self-check, and inherited lint failures exposed after rebasing onto updated upstream.

Details

Flakebox builds its Android cross-compilation environment from pinned SDK metadata. The old pin expects a different SHA-1 for Google's macOS platform-tools 37.0.0 archive than Google currently serves, so CI fails before compiling the project. The reason the historical archive differs is unknown; this change does not override its hash.

Pin the November 10 Android snapshot instead. It retains the upstream emulator build fix and selects stable platform-tools 37.0.1, whose Darwin and Linux checksums match Google's stable-channel metadata. Avoid the November 11 snapshot because it selects canary 37.0.3.

Refresh Nixpkgs within nixos-26.05 so the self-check no longer rejects its age. Preserve the newer November 8 pin when rebasing over upstream's September 5 pin. The Android input's devshell dependency updates with it; other inputs remain pinned.

Updated upstream also exposes inherited lint failures. Replace an unused shell-hook root assignment with an equivalent Git-root check, then regenerate the shell hook, root identity, and Just file; the Just file's Bash path follows the updated Nixpkgs input. Add legitimate systems terms to Vale's vocabulary, sentence-case “Dev”, and wrap a timer comment. No checks are disabled or documentation meaning changed.

The exact GitHub lint command, nix develop --ignore-environment .#lint --command ./misc/git-hooks/pre-commit, and the full local check, nix develop -c selfci check -c vvsmpkms, passed. A second regeneration made no changes. Independent review passed all phases with no findings or required spec changes. The original PR head passed Linux and macOS CI; the updated head is awaiting CI.

@dpc
dpc enabled auto-merge November 11, 2026 18:32
auto-merge was automatically disabled November 11, 2026 18:57

Merge commits are not allowed on this repository

@dpc
dpc enabled auto-merge (rebase) November 12, 2026 05:52
@dpc
dpc force-pushed the dpc/jj-vvsmpkmstrmu branch from 080b2a2 to cdbc53c Compare November 12, 2026 05:59
### Motivation

The macOS build in rustshop#250 repeatedly failed because the pinned Android SDK metadata expected a different SHA-1 for `platform-tools_r37.0.0-darwin.zip` than Google currently serves. This failure predates rustshop#250. The flake self-check also rejects the old Nixpkgs input.

### Changes

Update Android metadata to the November 10 stable snapshot, retaining the upstream emulator build fix and selecting stable platform-tools 37.0.1. Its Darwin and Linux checksums match Google's stable-channel metadata and independently fetched archives. Do not override the historical 37.0.0 hash: the reason its bytes changed remains unknown. Avoid the November 11 snapshot because it selects canary 37.0.3.

Refresh Nixpkgs within `nixos-26.05` to the November 8 revision. Preserve that newer pin when rebasing over upstream's September 5 pin. The Android input's devshell dependency updates with it; other inputs remain pinned.

Updated upstream adds hook and prose checks that expose additional inherited lint failures. Replace an unused `root` assignment in the shell-hook generator with the same Git-root check, discarding its output. Regenerate the shell hook, root identity, and Just file; the latter's Bash path follows the updated Nixpkgs input. Extend Vale's project vocabulary for existing systems terms and sentence-case “Dev”. Also wrap an existing timer comment as treefmt requires. These fixes preserve hook behavior and keep all lint checks enabled; the implicated source and prose matched upstream before the fixes.

### Validation

The exact GitHub Commit Check command now passes: `nix develop --ignore-environment .#lint --command ./misc/git-hooks/pre-commit`. It previously reproduced the unused-variable and fifteen Vale errors. `nix develop -c selfci check -c vvsmpkms` also passes, including the Linux flake checks and hook integration coverage. Regenerating again leaves the candidate unchanged.

The official flake checker passes locally. The original PR head passed Linux and macOS CI; the updated head is awaiting CI.

### Review

Independent review passed for the dependency repair, rebase, and inherited lint repairs, with no findings or required spec changes. Review confirmed preservation of upstream changes and pins, equivalent shell-guard behavior, synchronized generated files, and narrowly scoped vocabulary additions.
@dpc
dpc force-pushed the dpc/jj-vvsmpkmstrmu branch from cdbc53c to fd3f7c4 Compare November 12, 2026 06:15
@dpc
dpc merged commit 35d966d into rustshop:master Nov 12, 2026
4 checks passed
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.

1 participant