Skip to content
CCPEDIAby Unity Nodes
CLOSEDPull Request

chore(sv-weights): merge upstream main 94b92d96c into sv-weights-on-ledger-m1

#132by akoniorCreated 04-12-2026

Merges upstream main (94b92d96c4, 2026-12-03) into sv-weights-on-ledger-m1 (dcabe60391).

How the branches fit together:

gitGraph
  commit id: "d2badce083" tag: "upstream main 11-06 (last sync)"
  branch sv-weights-on-ledger-m1
  commit id: "... 4 PRs" type: HIGHLIGHT
  commit id: "dcabe60391" tag: "m1 now"
  checkout main
  commit id: "... 328 commits" type: HIGHLIGHT
  commit id: "94b92d96c4" tag: "upstream main 12-03"
  checkout sv-weights-on-ledger-m1
  branch sync/upstream-main-2026-12-03-v3
  merge main id: "9edad66b5c merge"
  commit id: "7fb144f3b1 fix"
  commit id: "5ef74c3bba bump"
  checkout sv-weights-on-ledger-m1
  merge sync/upstream-main-2026-12-03-v3 id: "this PR (merge commit)"

Three commits of ours on top:

  1. 9edad66b5c the merge. 12 conflicts.
  2. 7fb144f3b1 fix: our code adapted to upstream changes that merged cleanly but break with our additions, so they are not part of the merge commit.
  3. 5ef74c3bba version bump.

How to review the changes

The conflict resolution: git show --remerge-diff 9edad66b5c shows only what was done by hand: it re-runs the merge and diffs the conflicted result against the commit.

git show --remerge-diff 9edad66b5c -- daml/splice-dso-governance/daml/Splice/DsoRules.daml daml/splice-dso-governance/daml/Splice/DSO/Instruction.daml

Our changes: our diff against upstream before and after the sync touches the same 42 hand-written files with the same added/removed lines, plus the lines of the fix commit. To check it yourself:

# Commits
OLD_UPSTREAM=d2badce083   # upstream main that m1 was synced to before
OLD_M1=dcabe60391         # m1 before this sync
NEW_UPSTREAM=94b92d96c4   # upstream main merged in now
NEW_HEAD=5ef74c3bba       # sync branch head (merge 9edad66b5c + fix + bump)

# Generated or version files: they differ by design, so leave them out
EXCLUDED=(
  ':(top,exclude)**/daml.yaml'
  ':(top,exclude)daml/dars'
  ':(top,exclude)daml/dars.lock'
  ':(top,exclude)**/DarResources.scala'
  ':(top,exclude)apps/package*.json'
  ':(top,exclude)apps/generated-packages.json'
)

# Our added/removed lines vs upstream, without the context lines
git diff $OLD_UPSTREAM $OLD_M1   -- "${EXCLUDED[@]}" | grep '^[-+]' | grep -v '^+++\|^---' > /tmp/ours-before-sync.txt
git diff $NEW_UPSTREAM $NEW_HEAD -- "${EXCLUDED[@]}" | grep '^[-+]' | grep -v '^+++\|^---' > /tmp/ours-after-sync.txt

wc -l /tmp/ours-before-sync.txt /tmp/ours-after-sync.txt
diff /tmp/ours-before-sync.txt /tmp/ours-after-sync.txt   # only the lines of the fix commit

The red workflows fail because the fork is missing some upstream secrets. DCO is red only because of an email mismatch in upstream's commits; ours are fine.