GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Renovate splits the single p2panda rev bump into per-crate PRs — #642 breaks the pkgs/id nix build (missing outputHashes) · Issue #643 · developing-today/code

Renovate splits the single p2panda rev bump into per-crate PRs — #642 breaks the pkgs/id nix build (missing outputHashes) #643

New issue
Copy link
New issue
Copy link
Closed
#776
Closed
Renovate splits the single p2panda rev bump into per-crate PRs — #642 breaks the pkgs/id nix build (missing outputHashes)#643
#776
Copy link
Assignees
dezren39
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)kind/ciCI/CD pipelines, workflows, and build automation

Description

@dezren39
dezren39
opened on Oct 23, 2026
Issue body actions

Finding

Renovate is splitting one upstream p2panda rev bump into separate per-crate PRs, and the p2panda-auth PR already breaks the pkgs/id Nix build. The p2panda crates in this repo are all pinned to the same git rev of the same upstream repo (https://github.com/p2panda/p2panda) and are meant to move together; updating them one at a time leaves mixed revs and, for pkgs/id, a Cargo.lock that the Nix importCargoLock vendoring cannot satisfy.

Filed by the pr-diff-review job after reviewing PRs #640–#642 (this finding comes from #641/#642, with #636 as earlier context).

Evidence

Current main — one shared rev everywhere:

  • doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/shared/Cargo.toml ([workspace.dependencies]): p2panda-core, p2panda-auth, p2panda-encryption, p2panda-sync, p2panda-store, p2panda-stream all at rev = "3e84cac48bba05c6857cce2ec433862b97f8d53c".
  • pkgs/id/Cargo.toml:59,61,67: p2panda-core, p2panda-store, p2panda-auth at the same rev 3e84cac….
  • Root renovate.json is only { "extends": ["config:base"] } — no packageRules grouping for the p2panda crates.

The split PRs (all targeting the same new rev da80c05b95269926bf58121cf6a2d3dd5ca41dfc):

  • PR chore(deps): update p2panda-stream digest to da80c05 #636 (OPEN): only p2panda-stream, only in spikes/shared/Cargo.toml.
  • PR chore(deps): update p2panda-sync digest to da80c05 #641 (OPEN, commit 34328bc68bd401d7260d10a4f927cb0aceaf8758): only p2panda-sync, only in spikes/shared/Cargo.toml — the other five workspace crates stay at 3e84cac….
  • PR fix(deps): update p2panda-auth digest to da80c05 #642 (OPEN, commit 677bdda5852f00e11818348f33c5075b2ce179cc): only p2panda-auth in spikes/shared/Cargo.toml + pkgs/id/Cargo.toml + pkgs/id/Cargo.lock. Its Cargo.lock diff creates two p2panda-core 0.7.1 packages side by side (one from rev 3e84cac…, one from rev da80c05…), with p2panda-auth depending on the new-rev core while p2panda-encryption/p2panda-store/p2panda-stream still depend on the old-rev core — two distinct p2panda-core types in one build graph.

PR #642 is red and unmergeable as-is:

  • Check nix flake check FAILED (run https://github.com/developing-today/code/actions/runs/39895084384): error: No hash was found while vendoring the git dependency p2panda-auth-0.7.1. You can add a hash through the outputHashes argument of importCargoLock — evaluating cargoDeps at pkgs/id/flake.nix:177. On main, pkgs/id/flake.nix has three importCargoLock outputHashes blocks (lines ~71, ~571, ~632) that pin only "p2panda-core-0.7.1" = "sha256-t1FDJkQ6B43clPF0lD36I+Uxav0YbqJ2e/UwWUoI6fk=" for the old rev set; nothing covers the new-rev git sources.
  • The renovate/artifacts check fails on all three PRs (chore(deps): update p2panda-stream digest to da80c05 #636, chore(deps): update p2panda-sync digest to da80c05 #641, fix(deps): update p2panda-auth digest to da80c05 #642): Renovate itself could not update the artifacts (lockfile / hashes) for these bumps.

Deduped: no open or recently closed issue covers Renovate grouping for p2panda or this missing-hash failure (closed #158 was a different, host-specific p2panda-core hash gap).

Why it matters

Every future p2panda upstream bump will arrive as ~6 conflicting, individually-broken PRs (all three current PRs touch overlapping files / the same rev) instead of one atomic, testable bump. Merging any one of them alone either breaks the Nix build outright (#642) or silently mixes two upstream revs of the same workspace crates (#641, #636), where p2panda-core types from different revs do not unify.

Acceptance criteria

  • renovate.json groups all p2panda-* cargo git dependencies into a single update (e.g. a packageRules entry with a groupName matching the p2panda package names / the github.com/p2panda/p2panda source), so the next rev bump opens one PR.
  • One combined bump PR moves every p2panda-* rev (spikes/shared/Cargo.toml, pkgs/id/Cargo.toml) to the same new rev and updates pkgs/id/Cargo.lock so only one p2panda-core 0.7.1 remains.
  • That PR also updates the outputHashes in pkgs/id/flake.nix (all importCargoLock sites) for the new rev, and its nix flake check passes.
  • PRs chore(deps): update p2panda-stream digest to da80c05 #636, chore(deps): update p2panda-sync digest to da80c05 #641 and fix(deps): update p2panda-auth digest to da80c05 #642 are closed as superseded by the combined PR.

Activity

  1. github-actions
    assigned
    dezren39
    on Oct 23, 2026
  2. dezren39 commented on Oct 24, 2026

    @dezren39
    dezren39
    on Oct 24, 2026
    MemberAuthor
    More actions

    Root cause found and fixed in #776.

    Cause: p2panda-core-0.7.1 is a git dep whose Nix outputHashes entry is keyed by crate name-version, not rev. The combined bump in #739 moved the shared p2panda rev (da80c05) without updating the recorded hash, so the fixed-output check failed and the id workflow has been red on main since.

    Fix (PR #776): corrected the outputHash in all four places it is recorded (pkgs/id/default.nix, pkgs/id/flake.nix ×3), added an explanatory comment, and added a Renovate packageRules group so all p2panda-* cargo deps bump together in one PR from now on.

    Verification: reproduced red, then nix build ./pkgs/id#default + full id-pr-checks green locally (EXIT=0). CI on #776 is green except nix flake check, still running; the PR merges once it lands, which will close this issue via its Fixes line.

    — posted by Muse; the fixing session's laptop gh auth had expired, so it could not comment itself.

  3. dezren39
    closed this as completedin #776on Oct 24, 2026
  4. dezren39
    added
    kind/ciCI/CD pipelines, workflows, and build automation
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

app/idPackage/app: id (pkgs/ or apps/ in this repo)kind/ciCI/CD pipelines, workflows, and build automation

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.