Skip to content

foundry-nightly: init at nightly-2026-02-16#921

Open
aldoborrero wants to merge 1 commit intomainfrom
foundry-nightly
Open

foundry-nightly: init at nightly-2026-02-16#921
aldoborrero wants to merge 1 commit intomainfrom
foundry-nightly

Conversation

@aldoborrero
Copy link
Copy Markdown
Collaborator

@aldoborrero aldoborrero commented Feb 16, 2026

Summary

  • Add foundry-nightly package tracking the nightly release channel
  • Based on nightly-f8e3dfaf9a6eb88481c095bf7bf5286b3c5d0b4a (2026-02-16)
  • Includes fully automated update.py script for CI updates

Differences from stable foundry

  • Tracks nightly releases instead of stable tags
  • Uses VERGEN_GIT_SHA and VERGEN_IDEMPOTENT env vars to provide version info (no .git directory in source)
  • Custom update.py that automatically computes hashes

Update workflow

The update.py script is fully automated and CI-compatible:

./packages/foundry-nightly/update.py

It will:

  1. Check for new nightly release via GitHub API
  2. Update svm-lists (solc binary lists)
  3. Automatically compute source hash
  4. Automatically compute cargo hash
  5. Update package.nix with all values

Test plan

  • Build completes: nix build .#foundry-nightly
  • Binaries work: forge --version, cast --version, anvil --version
  • Update script tested: downgraded to older nightly, ran script, hashes auto-computed
  • CI verification

@aldoborrero aldoborrero force-pushed the foundry-nightly branch 3 times, most recently from 9fa6b47 to 41b56e6 Compare February 16, 2026 17:02
Copy link
Copy Markdown
Collaborator

@bbjubjub2494 bbjubjub2494 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a consideration: given that foundry takes a long time to build, are we adding significant daily load on buildbot? If so is it proportional to the benefit?

asl20
mit
];
maintainers = with maintainers; [ mitchmindtree ];
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this intentional?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No at all (claude hallucination and a oversight on my part)!

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not at all then, it was just copied from the original foundry recipe, which contains that author :)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe better to remove the author field

Comment thread packages/foundry-nightly/update-svm-lists.sh
@aldoborrero
Copy link
Copy Markdown
Collaborator Author

a consideration: given that foundry takes a long time to build, are we adding significant daily load on buildbot? If so is it proportional to the benefit?

Good question. I've occasionally needed nightly builds myself. That alone doesn't justify this, but I was also thinking about the foundry.nix repo — with this option, we'd also eliminate the need for users to use that as well, concentrating it on ethereum.nix.

@bbjubjub2494 bbjubjub2494 mentioned this pull request Feb 18, 2026
@aldoborrero
Copy link
Copy Markdown
Collaborator Author

Once #936 is merged I'll rebase it and I'll use it on this PR.

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.

2 participants