Skip to content

E3 — Scheduled nixpkgs-unstable lock bump workflow #817

Closed

Description

@c-vigo

Weekly scheduled workflow + workflow_dispatch: nix flake update nixpkgs-unstable → chore branch → PR to dev, full CI as merge gate. Keeps the fastMovers overlay (uv, gh, claude-code) fresh; per the ADR, no third-party claude-code flake.

Part of the home-environment epic. Design authority: docs/rfcs/ADR-home-environment-modules.md.

Refs: #814

Activity

  1. added
    chore
    area:ci
    on Jul 4, 2026
  2. c-vigo commented on Jul 4, 2026

    @c-vigo
    ContributorAuthor

    Landed via PR #832 into feature/814-home-environment-modules.

    • .github/workflows/update-nixpkgs-unstable.yml: weekly cron + workflow_dispatch; app-token commit identity; SHA-pinned actions; opens/reuses a chore/update-nixpkgs-unstable PR to dev only when the lock changed.
    • Verification: yamllint + check-action-pins hooks green at commit. NOTE: schedule only fires from the default branch — after this reaches dev, run one workflow_dispatch as the live test (morning task).
  3. c-vigo commented on Jul 4, 2026

    @c-vigo
    ContributorAuthor

    Merged to dev via the epic PRs (#833, #846). Evidence in the issue thread; epic tracking continues in #814.

  4. c-vigo commented on Jul 4, 2026

    @c-vigo
    ContributorAuthor

    Reopening note: the first workflow_dispatch live test failed on the repo's verified-signature rule (git-CLI push from the runner is unsigned). Fix in PR #851: branch ref via API + vig-os/commit-action verified commit (the renovate mechanism). Will re-dispatch after #851 merges — expect a chore/update-nixpkgs-unstable PR bumping claude-code 2.1.177 → current.

  5. reopened this on Jul 4, 2026
  6. c-vigo commented on Jul 4, 2026

    @c-vigo
    ContributorAuthor

    Second live test (run 28718889651): the verified-commit fix from #851 works — the chore/update-nixpkgs-unstable branch was created and the lock-bump commit landed via vig-os/commit-action with a verified signature. The run now fails one step later: gh pr create → "Resource not accessible by integration (createPullRequest)" — the commit GitHub App has no Pull requests permission.

    Needed (owner action, one click): in the GitHub App settings for the commit app (COMMIT_APP_CLIENT_ID), grant Pull requests: Read and write, then re-run the workflow (gh workflow run update-nixpkgs-unstable.yml --ref dev). No code change required — commit + branch steps already succeed.

    Deliberately NOT worked around with GITHUB_TOKEN: PRs created by the Actions token don't trigger CI, which would leave every chore PR unmergeable against the required checks.

    Current state: the chore branch holds the pending bump (nixpkgs-unstable 16 days stale → claude-code 2.1.177 → current); the next successful run force-resets and reuses it.

  7. 7 remaining items

  8. added a commit that references this issue on Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:cichore

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions