Skip to content

treewide: mark as broken on darwin (last successful Hydra build 2024) - #563346

Merged
pbsds merged 1 commit into
NixOS:masterfrom
iedame:broken/darwin-2024
Sep 17, 2026
Merged

pbsds merged 1 commit into
NixOS:masterfrom
iedame:broken/darwin-2024

Conversation

@iedame

@iedame iedame commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Hydra error logs:

Things done

@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 9.needs: reviewer This PR currently has no reviewers requested and needs attention. labels Sep 14, 2026
@pbsds

pbsds commented Sep 16, 2026

Copy link
Copy Markdown
Member

zitadel shows up in the eval as removed, but shouldn't: https://hydra.nixos.org/build/345442165

any ideas why?

@iedame

iedame commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor Author

zitadel shows up in the eval as removed, but shouldn't: https://hydra.nixos.org/build/345442165

any ideas why?

That is really weird indeed.
zitadel itself is not in the diff, but it depends on its zitadel-console build, which pulls in protoc-gen-js.

I did some quick testing on Darwin. Locally, the build succeeds because Nix relies on the FOD hash and pulls the result from the binary cache, bypassing the need to build the dependencies. However, if I remove the hash from zitadel console.nix to force a rebuild, zitadel fails due to protoc-gen-js.

So I assume that's why zitadel shows up as removed. But I'm not sure why zitadel is not failing on Hydra...
https://hydra.nixos.org/build/345442165#tabs-build-deps

Edit: Looks like both protoc-gen-js and zitadel packages are severely outdated... https://repology.org/project/zitadel/versions (including a screenshot due to repology domain issues)
Screenshot_20260916_203738

@pbsds

pbsds commented Sep 17, 2026

Copy link
Copy Markdown
Member

if it is outdated it is likely also unused, i'll accept the breakage and hope someone pops by with a PR otherwise

@pbsds
pbsds added this pull request to the merge queue Sep 17, 2026
@pbsds

pbsds commented Sep 17, 2026

Copy link
Copy Markdown
Member

how did you find these cases? manually or by scripting?

Merged via the queue into NixOS:master with commit 2ad3449 Sep 17, 2026
29 checks passed
@iedame

iedame commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor Author

how did you find these cases? manually or by scripting?

I found these mostly manually by looking through the https://zh.fail/ logs. I gathered all the Darwin failures, sorted them by the highest probability of a long-term failure (darwin-only failures, or darwin + aarch64-linux) to double check, and then sorted by the last successful build.

I actually did this last year when I was more active. Now that I'm getting back into it, I just picked up where I left off and checked which ones were still failing (which turned out to be almost all of them).

I still have these similar PRs in need of review/merge and a tracking issue:

And these have already been merged:

I probably should look into automating this check, but I need to get more familiar with Hydra first before hammering it. I was actually talking with @Sigmanificient about this on Matrix, but I believe we will only need to deal with relatively recent darwin failures after this batch. I do wonder if aarch64-linux have similar cases.

Thank you! :)

@iedame
iedame deleted the broken/darwin-2024 branch September 17, 2026 22:10
@Sigmanificient

Sigmanificient commented Sep 17, 2026 •

Copy link
Copy Markdown
Member

You could probably use nixpkgs-failure-notify to get the list of failures, fetching the breakage date will requires the id to get the page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

9.needs: reviewer This PR currently has no reviewers requested and needs attention. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants