GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||
GeezerVison is showing github.com — ci: simplify nix hash updates by gigamonster256 · Pull Request #9309 · anomalyco/opencode Conversation
|
|
Hey! Your PR title Please update it to start with one of:
Where See CONTRIBUTING.md for details. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
The following comment was made by an LLM, it may be inaccurate: Found a potentially related PR: PR #8985: "feat(nix): nix-shell shebang update-hashes script" This PR appears to be related as it also deals with nix hash updates. It may address the same problem or provide complementary changes to the nix hash update process. All other results returned the current PR itself (#9309), which indicates no other closely matching open PRs exist. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
exposes the platform specific node_module derivations at the flake level so that any builder can calculate any host platform hash allows 1 builder to update all 4 supported platform hashes - turning 5 jobs and 4 artifacts into 1 job
c1700b2 to
fd4735d
Compare
|
maybe its time i write a prefetch-bun-deps to parallel prefetch-npm-deps |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
hmm @gigamonster256 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
oops, didn't catch the mismatched hypen/underscore - see #9352 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Hey @gigamonster256 - I believe this broke nix-darwin's hash calculation. While it seems like you can calculate nix-darwin hashes on a linux runner (which surprised me) it may not be recommended as it is sometimes unreliable? Obviously it did work for more than 10 days, but it stopped working now. I can't get anything to build since around v1.1.42 via the flake in Darwin, and I think there was an update to bun.lock for 1.1.43 which would have significantly changed the hashes, and may have caused the linux runner hash update to become unreliable for nix-darwin? I'm not 100% -- I've just been trying to figure out what's wrong for part of today when I had time, but codex seems pretty sure that's the issue. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
PR anomalyco#9309 simplified CI by using cross-compilation flags on a single Linux runner, but bun install --cpu=X --os=Y doesn't produce identical output to native bun install on macOS, causing hash mismatches. This restores native runners for each platform: - linux-x64: blacksmith-4vcpu-ubuntu-2404 - linux-arm64: blacksmith-4vcpu-ubuntu-2404-arm - darwin-x64: macos-15-intel - darwin-arm64: macos-latest Also simplifies flake.nix by removing cross-compilation matrix and using a single node_modules_updater per system. Fixes anomalyco#11491 Fixes anomalyco#11408
PR anomalyco#9309 simplified CI by using cross-compilation flags on a single Linux runner, but bun install --cpu=X --os=Y doesn't produce identical output to native bun install on macOS, causing hash mismatches. This restores native runners for each platform: - linux-x64: blacksmith-4vcpu-ubuntu-2404 - linux-arm64: blacksmith-4vcpu-ubuntu-2404-arm - darwin-x64: macos-15-intel - darwin-arm64: macos-latest Also simplifies flake.nix by removing cross-compilation matrix and using a single node_modules_updater per system. Fixes anomalyco#11491 Fixes anomalyco#11408
|
hmm, guess ill bisect to see where it started failing... probably something with the hash normalization step failing or something. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.