Skip to content

Replace nix hash tasks with Evergreen FOD refresh#645

Closed
schickling-assistant wants to merge 1 commit intomainfrom
schickling/2026-05-08-evergreen-nix-hash
Closed

Replace nix hash tasks with Evergreen FOD refresh#645
schickling-assistant wants to merge 1 commit intomainfrom
schickling/2026-05-08-evergreen-nix-hash

Conversation

@schickling-assistant
Copy link
Copy Markdown
Collaborator

Problem
The shared nix-cli devenv module still exposes bespoke nix:hash tasks for refreshing fixed-output dependency hashes. Evergreen is now the preferred FOD refresh path, so keeping both surfaces makes the long-term workflow harder to standardize.

Goal
Replace the legacy hash-refresh task surface with evergreen:fod:refresh tasks while keeping nix:check, nix:check:quick, and nix:build validation intact.

Decisions

  • Removed the custom iterative hash updater instead of keeping a compatibility shim.
  • The generated devenv task invokes Evergreen with the package's declared flakeRef and hashSource, so non-standard consumers do not depend on discovery heuristics.
  • Default refresh scope is the current system; broader cross-system refreshes remain available through direct Evergreen commands.

Verification

  • nix-instantiate --parse nix/devenv-modules/tasks/shared/nix-cli.nix
  • bash nix/devenv-modules/tasks/shared/tests/nix-cli-evergreen.test.sh
  • CI=1 devenv tasks run check:all --mode before --no-tui --show-output

Complexity
Removes the bespoke updater and replaces it with a thin Evergreen wrapper.

Concerns
Repos must provide the Evergreen CLI on PATH for the new refresh task. Validation-only Nix tasks are unchanged.

Friction & bottlenecks
The first local check run can hit an existing task-ordering issue where mr:apply starts before the workspace relink; rerunning after pnpm:install is primed passes.

Follow-ups
After downstream consumers merge this stack, point temporary branch pins back at default upstream refs.

References
Stack parent for downstream consumer adoption.

Posted on behalf of @schickling
field value
agent_name 🌄 co1-vale
agent_session_id ee2f8a7b-5623-4ad7-a682-0dbe5737d042
agent_tool Codex CLI
agent_tool_version 0.125.0
agent_runtime Codex CLI 0.125.0
agent_model unknown
worktree effect-utils/schickling/2026-05-08-evergreen-nix-hash
machine dev3
tooling_profile dotfiles@unknown-dirty

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 8, 2026

Storybook Previews

Package Latest URL Last Deploy (Europe/Berlin)
megarepo https://megarepo-pr-645--overeng-utils.netlify.app 2026-05-08 14:03 CEST
tui-react https://tui-react-pr-645--overeng-utils.netlify.app 2026-05-08 14:03 CEST
notion-react https://notion-react-pr-645--overeng-utils.netlify.app 2026-05-08 14:03 CEST
effect-react https://effect-react-pr-645--overeng-utils.netlify.app 2026-05-08 14:03 CEST
tui-stories https://tui-stories-pr-645--overeng-utils.netlify.app 2026-05-08 14:03 CEST
notion-cli https://notion-cli-pr-645--overeng-utils.netlify.app 2026-05-08 14:03 CEST
effect-schema-form-aria https://effect-schema-form-aria-pr-645--overeng-utils.netlify.app 2026-05-08 14:03 CEST
genie https://genie-pr-645--overeng-utils.netlify.app 2026-05-08 14:03 CEST
react-inspector https://react-inspector-pr-645--overeng-utils.netlify.app 2026-05-08 14:04 CEST
Per-Commit Deploy History

Commit 38742a4 · 2026-05-08 14:05 CEST

Package URL
megarepo https://69fdd0f4f52b576afdb56f9b--overeng-utils.netlify.app
Alias: https://megarepo-pr-645--overeng-utils.netlify.app
tui-react https://69fdd0f9f8743e68b8075381--overeng-utils.netlify.app
Alias: https://tui-react-pr-645--overeng-utils.netlify.app
notion-react https://69fdd0f9ba6cc56a51f48840--overeng-utils.netlify.app
Alias: https://notion-react-pr-645--overeng-utils.netlify.app
effect-react https://69fdd0ff61662f738a13b489--overeng-utils.netlify.app
Alias: https://effect-react-pr-645--overeng-utils.netlify.app
tui-stories https://69fdd1046c3eef51dda7f61d--overeng-utils.netlify.app
Alias: https://tui-stories-pr-645--overeng-utils.netlify.app
notion-cli https://69fdd107f8743e6af80752d9--overeng-utils.netlify.app
Alias: https://notion-cli-pr-645--overeng-utils.netlify.app
effect-schema-form-aria https://69fdd1077450d46e90000ef4--overeng-utils.netlify.app
Alias: https://effect-schema-form-aria-pr-645--overeng-utils.netlify.app
genie https://69fdd108ced40059e8b7ccb0--overeng-utils.netlify.app
Alias: https://genie-pr-645--overeng-utils.netlify.app
react-inspector https://69fdd1476a29d06a8ae08351--overeng-utils.netlify.app
Alias: https://react-inspector-pr-645--overeng-utils.netlify.app

@schickling schickling marked this pull request as ready for review May 8, 2026 12:52
@schickling-assistant schickling-assistant force-pushed the schickling/2026-05-08-evergreen-nix-hash branch from 38742a4 to e6c0a06 Compare May 8, 2026 12:59
@schickling-assistant
Copy link
Copy Markdown
Collaborator Author

Superseded by #646 with a neutral public branch and PR surface.

Posted on behalf of @schickling
field value
agent_name 🌄 co1-vale
agent_session_id ee2f8a7b-5623-4ad7-a682-0dbe5737d042
agent_tool Codex CLI
agent_tool_version 0.125.0
agent_runtime Codex CLI 0.125.0
agent_model unknown
worktree effect-utils/schickling/2026-05-08-evergreen-nix-hash
machine dev3
tooling_profile dotfiles@unknown-dirty

@schickling-assistant schickling-assistant deleted the schickling/2026-05-08-evergreen-nix-hash branch May 8, 2026 13:15
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