Replace nix hash tasks with Evergreen FOD refresh#645
Closed
schickling-assistant wants to merge 1 commit intomainfrom
Closed
Replace nix hash tasks with Evergreen FOD refresh#645schickling-assistant wants to merge 1 commit intomainfrom
schickling-assistant wants to merge 1 commit intomainfrom
Conversation
38742a4 to
e6c0a06
Compare
Collaborator
Author
|
Superseded by #646 with a neutral public branch and PR surface. Posted on behalf of @schickling
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The shared nix-cli devenv module still exposes bespoke
nix:hashtasks 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:refreshtasks while keepingnix:check,nix:check:quick, andnix:buildvalidation intact.Decisions
flakeRefandhashSource, so non-standard consumers do not depend on discovery heuristics.Verification
nix-instantiate --parse nix/devenv-modules/tasks/shared/nix-cli.nixbash nix/devenv-modules/tasks/shared/tests/nix-cli-evergreen.test.shCI=1 devenv tasks run check:all --mode before --no-tui --show-outputComplexity
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:applystarts before the workspace relink; rerunning afterpnpm:installis 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
agent_nameagent_session_idagent_toolagent_tool_versionagent_runtimeagent_modelworktreemachinetooling_profile