gunk-dev/the-valley
the-valley:oc-598afd8outcomeopen

Dependency bumps run as valley jobs, one change per input

State
blocked
Created
2026-10-17 by contributor
Source
2026-10-12, plan.md dependency-bump automation and Status (valley jobs)
Blocked by

Body

Dependency bumps run as valley jobs, one change per input, instead of GitHub workflows that force-push one shared branch. The first customers are the deployment project's bumps of the-valley and klaus.

Once klaus, the-valley and the deployment's other dependencies land through approval-gated integration, a bump of one of them is a consequence of changes already approved, so it can land on checks alone (autonomy ladder step 4). It still ships through a release.

Done when a bump of the-valley in the deployment project is filed by a job and lands without a coordinator run.

Source: `plan.md`, "Things to keep in view" (dependency-bump automation), "Autonomy ladder" step 4, and Status 2026-10-12 ("Valley jobs").

Comments

  1. contributor2026-11-08 22:24 UTC
    Measured: about 25 deployment bumps of the-valley and klaus were coordinator runs, each needing an approval and a converge; a two-line lock bump took 49 min end to end. Between bumps, the host ran a valley version 19 landings behind main for four days, so landed features were not live (oc-a8b43db).
  2. contributor2026-11-10 00:41 UTC
    A second use case: updating a project's other inputs on a schedule, such as its package set, which are not valley projects and whose releases raise no event the valley sees.
    
    A deployment project used to update every flake input daily through a forge workflow. When its checks moved to the valley, the workflow went with them, and its inputs went a month without updates. Until valley jobs exist, it runs a weekly host timer that updates every input and uploads one ready change under the job's own key. That timer is a stopgap for this outcome.
    
    What the outcome should cover, beyond bumps of valley-hosted dependencies:
    - a schedule, for inputs that raise no event;
    - one change per input, or one change for all of them, as the project's policy says;
    - a new version of the open update change, rather than a second change, when the last one has not landed.
  3. contributor2026-11-10 03:11 UTC
    Found on the first scheduled update: when a job's update fails its checks, an agent can't add a fix version to it. Only the change's owner or an approve-grant holder may add a version. So the fix goes in as a separate change carrying the same lock file, and the job's change is withdrawn by hand once that lands.
    
    This outcome should say how a fix reaches a job's change. Some options:
    - named principals may add versions to it;
    - a fix stacked on the update lands with it, as one unit;
    - the job takes the fixed state on its next run.