Skip to content

fix(dashmate): move every Core 23 image of dashpay/dashd to Core 24 - #6209

Merged
shumkov merged 5 commits into
v5.1-devfrom
shumkov/dashmate-core24
Nov 26, 2026
Merged

shumkov merged 5 commits into
v5.1-devfrom
shumkov/dashmate-core24

Conversation

@shumkov

@shumkov shumkov commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

Issue being fixed or feature implemented

Platform 5.1 needs Dash Core 24. The 5.1 config migration (5.1.0-dev.1) moved only the exact tag dashpay/dashd:23 to the Core image 5.1 ships. A node whose operator pinned a Core 23 release or build, such as dashpay/dashd:23.0.2, 23.1, 23.1.4, 23.1.8-nightly… or 23@sha256:…, stayed on Core 23 after upgrading dashmate. A Core image from another repository was also kept without any notice.

This was found by the 5.0.3 → 5.1.0-dev.3 config migration test (D3, finding 3): scenario F's mn-evo-2, pinned to dashpay/dashd:23.0.2, stayed on Core 23.

What was done?

  • New migration keyed 5.1.0-rc.2. It moves any dashpay/dashd image whose tag is a Core 23 version (23, 23.x, 23.x.y, with or without a suffix or digest) to the Core image this release ships (dashpay/dashd:24). It covers the same configs as before: mainnet, testnet and the local preset.
  • Docker Hub hostnames name the same repository. docker.io/dashpay/dashd, index.docker.io/dashpay/dashd and registry-1.docker.io/dashpay/dashd are pulled from the same Docker Hub repository as dashpay/dashd, so a Core 23 pin spelled that way moves too. The same path on another registry, such as ghcr.io/dashpay/dashd, is another repository and is kept.
  • Local network nodes (local_*) and devnets stay as they are, for the same reason as before: Core 24 discards the sporks Core 23 stored, and dashmate signs local sporks only while setting the network up.
  • Any other image is kept, with a warning when it may not be Core 24. Dashmate warns when the tag names a Core version below 24 or no version at all (e.g. myorg/dashd:patched, or dashpay/dashd@sha256:… pinned by digest alone). It also warns when a digest pins the image, even if the tag names Core 24 or later. Docker runs the image the digest names, so in myorg/dashd:24.0.3@sha256:<Core 23 digest> the tag proves nothing. The warning names the config and gives the command to switch.
    Platform 5.1 needs Dash Core 24, but the 'mainnet' config runs Core from 'myorg/dashd:23.0.2-patched', which looks like Core 23. Dashmate keeps a Core image it did not store itself. Make sure the image is Core 24, or switch to the one this release ships: dashmate config set core.docker.image dashpay/dashd:24 --config=mainnet
    
    Platform 5.1 needs Dash Core 24, but the 'testnet' config runs Core from 'myorg/dashd:24.0.3@sha256:abab…', which is pinned by a digest: Docker runs the image the digest names, whatever its tag says. Dashmate keeps a Core image it did not store itself. Make sure the image is Core 24, or switch to the one this release ships: dashmate config set core.docker.image dashpay/dashd:24 --config=testnet
    
  • Who sees the warning. The first dashmate process that migrates the file prints it. In the documented upgrade (dashmate stop, install the new package, dashmate update) that is the operator's own update. The helper can't migrate first: its image is dashpay/dashmate-helper:<CLI version>, so a helper with this migration runs only after a CLI of the same version started it, and that CLI has already migrated the file in BaseCommand.init.
  • The exact-tag Core move is folded from 5.1.0-dev.1 into the new migration. The new migration covers every config the old one did, so a 5.0.x config ends up the same. 5.1.0-dev.1 keeps only the protxinfo whitelist entry.
  • Why 5.1.0-rc.2: v5.1.0-rc.1 was already tagged from v5.1-dev without this change. That dashmate stamps configs 5.1.0-rc.1, and semver orders any 5.1.0-dev.N key below that, so a dev key would skip every config rc.1 has read. With rc.2 the migration runs for configs stamped 5.0.x, 5.1.0-dev.2 through dev.4, and 5.1.0-rc.1. It also runs for 5.1.0-dev.5, which local builds of this branch wrote before the re-key; running it again is harmless. Until rc.2 ships, this build stamps configs 5.1.0-rc.2 (see getConfigFormatVersion).
    • If 5.1.0-rc.2 ships it: it migrates every stamp above and stamps 5.1.0-rc.2.
    • If 5.1.0 ships it: it migrates every stamp above and stamps 5.1.0.
    • Either way, the release that ships this must be 5.1.0-rc.2 or later. If rc.2 is tagged without it, re-key it again.
  • Configs last written by dashmate 5.1.0-dev.1 are not migrated again. That release stamped configs 5.1.0, above this key. One that pins a Core 23 image other than dashpay/dashd:23 has to be switched by hand: dashmate config set core.docker.image dashpay/dashd:24 --config=<name>.
  • The Tenderdash spec used to require the newest migration key to be exactly 5.1.0-dev.2. It now checks that a dev.1 build stamps configs past the Tenderdash migration, which was the point of that test.

drive-abci 5.1 on Core 23 (checked; no code change)

  • No Core version check. drive-abci 5.1 never checks Core's version. At startup it only waits for Core to sync and checks that getspecialtxes answers, so it starts normally on Core 23.
  • Until DEPLOYMENT_V24 activates, Core 23 works. PV15's update_core_info v1 reads V24 activation from the coinbase payload version. Core 23 never produces the version 4 coinbase, so Drive reads V24 as not active, and Drive runs on Core 23.
  • After activation, the node gets stuck. Core 23 knows coinbase versions only up to 3 (CCbTx::Version, v23.1.10). It rejects the first V24 block with bad-cbtx-version and stops following the chain. Drive then stalls behind its Core with generic Core RPC errors, not a "needs Core 24" message.
  • No startup check in this PR. Adding one is more than a one-liner: Drive would need to read and parse getnetworkinfo's version and decide when to refuse to start. It is left out and can be a follow-up if wanted. A check of the running Core's version is also the reliable way to catch a kept image that isn't Core 24, whichever process migrated the config.

How Has This Been Tested?

TDD. Each change's tests in migrateConfigFileFactory.spec.js were run against the code without it first:

  • Core 23 move (first commit): 6 failing before the fix.
    • Core 23 tags pinned on mainnet/testnet nodes were not moved from the 5.0.3, 5.1.0-dev.1, dev.3 and dev.4 formats. From 5.0.3, dashpay/dashd:23.1 stayed. From every dev format, even dashpay/dashd:23 stayed.
    • No warning was printed for myorg/dashd:23.0.2-patched, myorg/dashd:patched, dashpay/dashd@sha256:… or registry.example.org:5000/dashd:23.1.4.
    • The local preset pinned to dashpay/dashd:23.1.4 was not moved.
  • Re-key to 5.1.0-rc.2: 4 failing with the dev.5 key. These were the 5.1.0-rc.1 format, rc.2 and 5.1.0 each shipping the move from an rc.1 config, and local/devnet from rc.1.
  • Docker Hub hostnames: 5 failing before the fix. docker.io/dashpay/dashd:23.0.2 stayed on Core 23 from every config format.
  • Digest pins: 1 failing before the fix. No warning was printed for myorg/dashd:24.0.3@sha256:… or dashpay/dashd:24.0.1@sha256:….
  • After the fixes: all pass. yarn workspace dashmate test:unit: 1182 passing, 0 failing. ESLint is clean on the changed files; the only warning reported is an unused no-param-reassign disable that was already there.
  • Cases covered:
    • Moved: 23, 23.1, 23.0.2, 23.1.4, 23-nightly, 23.1.8-nightly.2026.09.22, 23@sha256:… and 23.1.4@sha256:…. Also moved: docker.io/, index.docker.io/ and registry-1.docker.io/ spellings, one of them with a digest. Each runs on mainnet/testnet nodes and the local preset, from formats 5.0.3, 5.1.0-dev.1, dev.3, dev.4 and rc.1.
    • Kept, with a warning: images from other repositories, including ghcr.io/dashpay/dashd:23.0.2, and any kept image pinned by a digest.
    • Kept, no warning: myorg/dashd:24.0.3 and dashpay/dashd:24.1.0-nightly.
    • Kept, no warning: local_seed/local_1 and a devnet pinned to Core 23.
  • End to end with this HEAD. A dashmate home stamped 5.1.0-rc.1 was run twice through this checkout's dashmate config list, which goes through readAndMigrate.
    • docker.io/dashpay/dashd:23.0.2 (mainnet), dashpay/dashd:23.1.4 (testnet) and index.docker.io/dashpay/dashd:23.1 (local) moved to dashpay/dashd:24.
    • ghcr.io/dashpay/dashd:23.0.2 and myorg/dashd:24.0.3@sha256:… were kept and warned about once.
    • The file was stamped 5.1.0-rc.2.
    • Both runs exited 0. The second left the file byte-identical and printed nothing.
  • End to end with the D3 homes (run at e76ef63, with the dev.5 key, and not re-run since). The six 5.0.3 homes from the D3 migration test went through dashmate config list once as written by 5.0.3, and once after the published 5.1.0-dev.3 had migrated and stamped them.
    • Scenario F mn-evo-2 (dashpay/dashd:23.0.2) moved to dashpay/dashd:24 from both starting points.
    • Scenario B myorg/dashd:23.0.2-patched was kept and warned about once.
    • Scenario E local_1..3 and local_seed, and F devnet-ops, stayed on dashpay/dashd:23.

Breaking Changes

None in the API. Operators: a node on mainnet or testnet, or the local preset, pinned to a Core 23 image of dashpay/dashd is moved to dashpay/dashd:24 on the first dashmate command after the upgrade.

Release note (operators): Dashmate now moves every Core 23 image of dashpay/dashd on mainnet, testnet and the local preset to Core 24. This includes pinned versions such as dashpay/dashd:23.0.2, digest-pinned Core 23 images, and the same images named with a Docker Hub hostname (docker.io/dashpay/dashd:23.0.2). Before, only the dashpay/dashd:23 tag was moved. Any other Core image is kept. Dashmate warns about one whose tag doesn't name Core 24 or later, or that a digest pins. If you see the warning, make sure the image is Core 24, or run dashmate config set core.docker.image dashpay/dashd:24 --config=<name>. Existing local networks and devnets stay on Core 23. A config last written by dashmate 5.1.0-dev.1 that pins a Core 23 image other than dashpay/dashd:23 must be switched by hand with dashmate config set core.docker.image dashpay/dashd:24 --config=<name>.

Checklist:

  • I have performed a self-review of my own code
  • My Rust, FFI, WASM, Swift or Kotlin changes follow the coding conventions
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have added "!" to the title and described breaking changes in the corresponding section if my code contains any
  • I have made corresponding changes to the documentation if needed
  • If I added or changed GroveDB structure, I described it in the area's structure.rs, regenerated grovedb-structure.json, and checked the structure viewer link posted on this pull request
  • If I added or changed a system contract's document schemas, I checked the contract viewer link posted on this pull request

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

🤖 Generated with Claude Code

PR Hygiene · 21e823e

  • Bots — thepastaclaw ✓
  • Self-review — post /self-reviewed
  • Build green
  • Approvals — you own every area touched; none needed

When every merge requirement is met, the PR Hygiene check passes. Reviewer limits do not block merging; other required GitHub checks and protections still apply.

Summary by CodeRabbit

  • Bug Fixes
    • Updated configuration migrations to move eligible Dash Core 23 images to Dash Core 24 when upgrading. This includes supported version tags, prerelease tags, and Docker Hub-qualified image references.
    • Preserved pinned images for existing local-network nodes and devnets. Images from other repositories, or images whose Core version cannot be confirmed, remain unchanged and may trigger a warning.
    • Updated the preset local configuration to use Dash Core 24.

Platform 5.1 needs Dash Core 24, but the 5.1 config migration moved only
the exact tag `dashpay/dashd:23`. A node pinned to `dashpay/dashd:23.0.2`,
`23.1`, `23.1.4`, a nightly or PR build, or a digest-pinned 23 image stayed
on Core 23 after the upgrade.

A new migration moves any dashpay/dashd image whose tag is a Core 23
version (23, 23.x, 23.x.y, with or without a suffix or digest) to the Core
image this release ships, for mainnet, testnet and the `local` preset.
Local network nodes and devnets stay as they are, as before: Core 24
discards the sporks Core 23 stored. An image from another repository is
kept, with a warning that names the config and the command to switch when
its tag names a Core before 24 or no version. The exact-tag move in the
5.1.0-dev.1 migration is folded into the new one.

Keyed at 5.1.0-dev.5: 5.1.0-dev.4 was tagged from 46d6339 without this
change, and its dashmate stamps configs 5.1.0-dev.4, so a dev.4 key would
skip them. Configs stamped 5.0.x and 5.1.0-dev.1 through dev.4 run it.

Test would have caught this in CI: ✖ before fix (6 failing: pinned Core 23
tags not moved from 5.0.3 and 5.1.0-dev.1/dev.3/dev.4 formats, no warning
for another repository's Core 23 image, the `local` preset pinned to
23.1.4 not moved), ✔ after.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The config migration now replaces eligible Core 23 images during migration to 5.1.0-rc.2. It retains other images and warns when their tags do not establish Core 24 or later, or when the image is digest-pinned. Tests cover these cases and migrated config versions.

Changes: Core image migration

Layer / File(s) Summary
Core image migration behavior
packages/dashmate/configs/getConfigFileMigrationsFactory.js
The migration parses image references and replaces eligible Core 23 images with the base Core image. It no longer re-pins those images in the 5.1.0-dev.1 migration. Other retained images trigger warnings unless their tags indicate Core 24 or later and they are not digest-pinned.
Migration outcome tests
packages/dashmate/test/unit/config/configFile/migrateConfigFileFactory.spec.js, packages/dashmate/test/unit/config/configFile/tenderdashImageMigration.spec.js
Tests cover image replacements, retained images and warnings, local network behavior, and config loading. The Tenderdash config-format test accepts versions at or above 5.1.0-dev.2.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Change: Bug fix

Suggested reviewers: quantumexplorer, lklimek, thepastaclaw

Merge Risk: Minimal · up to 21e82

This change moves Core 23 dashpay/dashd images to Core 24 for mainnet, testnet, and the local preset. It keeps other images and warns when Core 24 cannot be established. No concrete merge-blocking risk was found in the reviewed files.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the primary change: moving every Core 23 dashpay/dashd image to Core 24 in dashmate. The changeset matches this. The migration parses Core image tags, moves dashpay/dashd Core 23 image…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Full details: Title check

Explanation

The title names the primary change: moving every Core 23 dashpay/dashd image to Core 24 in dashmate. The changeset matches this. The migration parses Core image tags, moves dashpay/dashd Core 23 images (versioned, suffixed, digest-pinned, Docker Hub-qualified) to dashpay/dashd:24 for public networks and the local preset, and adds tests for these cases. The title uses the fix(dashmate) convention and is 67 characters, within a normal length. It omits the warning behavior for other repositories and the version key change, which is expected for a short title.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 1ef8f84 and 21e823e.

Files selected for processing: 3

  • packages/dashmate/configs/getConfigFileMigrationsFactory.js
  • packages/dashmate/test/unit/config/configFile/migrateConfigFileFactory.spec.js
  • packages/dashmate/test/unit/config/configFile/tenderdashImageMigration.spec.js

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@github-actions github-actions Bot added this to the v5.1.0 milestone Nov 24, 2026
@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Waiting for bot review — thepastaclaw not yet. Wait for the missing reviews, or a writer can post /skip-bots to proceed without them; blocking findings still need addressing.
Full checklist in the description.

@github-actions github-actions Bot added the waiting-bots Waiting for the review bots to report on this head label Nov 24, 2026
@thepastaclaw

thepastaclaw commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

✅ Final review complete — no blockers (commit 21e823e) · triage: normal

@thepastaclaw thepastaclaw left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Final validation — Phase 1 + Phase 2

Changes requested: 1 blocker

  • Official Core 23 pins stay on Core 23 when the Docker Hub hostname is explicit — packages/dashmate/configs/getConfigFileMigrationsFactory.js:1973-1979 (new)
    Impact: A mainnet or testnet operator who pinned docker.io/dashpay/dashd:23.0.2 can complete the documented Dashmate update and restart but still run Core 23, which stops following the chain once V24 activates.

Dashmate adds a 5.1.0-dev.5 config migration that upgrades Core 23 image pins on mainnet, testnet, and the local preset while leaving existing local nodes and devnets unchanged. The Dashmate tests, all three Dashmate E2E jobs, JS lint, the main Platform suite, and both browser shards passed; PR Hygiene and the automated review check are still pending.

🔴 1 blocking | 🟡 2 suggestion(s)

Review provenance

Source: reviewer 1: glm-5.3-flash (agent: phase1-reviewer, role: general); reviewer 2: gpt-6.2-sol (agent: phase2-reviewer, role: general); reviewer 3: gpt-6.2-sol (agent: phase2-reviewer, role: architecture-layering); final verifier: gpt-6.2-sol (agent: sol-verifier, role: final-verifier)

  • Triage: low by gpt-6.2-sol (effort low) — The behavior change is confined to a Dashmate config migration that updates matching Core 23 image references, warns about retained images, and tests upgrades from prior config versions.
  • Phase 1 reviewers: glm-5.3-flash — general (completed, effort high); agent phase1-reviewer
  • Phase 1 model: glm-5.3-flash — zai quota: 5h 51% left, weekly 66% left; passed over gemini-3.8-flash-high (lane failed)
  • Fresh verifier: gpt-6.2-sol — final-verifier; agent sol-verifier
  • Phase 2 reviewers: gpt-6.2-sol — general (completed, effort medium); agent phase2-reviewer, gpt-6.2-sol — architecture-layering (completed, effort medium); agent phase2-reviewer
🤖 Prompt for all review comments with AI agents
These findings are from an automated code review (PastaClaw). How to work through them:
- Verify each finding against the code; fix only what is real, as narrowly as the finding.
- If a finding is wrong, decline it on its thread in one or two sentences; the bot answers once and stops.
- To defer one, link a tracking issue on its thread (or reply asking the bot to file one).
- Suggestions don't block the merge, but most are worth fixing in this PR; judge each on its merits.
- Keep the PR's scope; don't grow it to satisfy hardening suggestions.
- Carried items were raised in an earlier round: read the thread first, and don't re-fix what you already fixed, declined or deferred there. Disputed and deferred items are already handled and are not listed.

In `packages/dashmate/configs/getConfigFileMigrationsFactory.js`:
- [BLOCKING] packages/dashmate/configs/getConfigFileMigrationsFactory.js:1973-1979: Official Core 23 pins stay on Core 23 when the Docker Hub hostname is explicit
  Impact: A mainnet or testnet operator who pinned `docker.io/dashpay/dashd:23.0.2` can complete the documented Dashmate update and restart but still run Core 23, which stops following the chain once V24 activates.
  The normal upgrade leaves the node on the incompatible binary even though the pin points to the same repository as the default image. `parseCoreImage` preserves the hostname, so the literal comparison skips the rewrite, the migration saves the unchanged pin with the dev.5 stamp, and update and start use that pin. Docker resolves `dashpay/dashd`, `docker.io/dashpay/dashd`, and `index.docker.io/dashpay/dashd` to the same repository. The older Drive migrations matched only spellings previous releases had written; this migration explicitly covers operator pins from the official Core repository. Recognize both Docker Hub spellings, test a qualified Core 23 pin, and keep genuinely different registries warning-only.
- [SUGGESTION] packages/dashmate/configs/getConfigFileMigrationsFactory.js:1981-1987: A Core 24 tag suppresses the warning even when the digest pins Core 23
  Impact: An operator who changes a custom image's tag to `24.0.3` without replacing its Core 23 digest gets no upgrade warning and still runs Core 23.
  The migration treats `myorg/dashd:24.0.3@sha256:<old-digest>` as compatible without inspecting what the pin selects. Docker uses the digest, not the tag, to select the image, but `parseCoreImage` discards the digest and the `coreMajor >= 24` branch skips the warning. Preserve digest pins outside the automatic rewrite, but warn that their Core version needs verification even when the tag says 24 or later.
- [SUGGESTION] packages/dashmate/configs/getConfigFileMigrationsFactory.js:1989-1995: The Core upgrade warning stays in helper logs when the helper migrates first
  Impact: If an upgraded helper migrates the shared config before the operator runs the new CLI, `dashmate update` and `dashmate start` give no compatibility warning for the retained custom image.
  The operator can miss the only actionable warning even though the image still needs attention. Helper startup and certificate renewal both call `readAndMigrate` on the shared config, so the migration writes the warning to helper logs and saves the dev.5 stamp. Later CLI commands skip the migration and do not check the retained pin. Keep the rewrite in the migration, but reuse a Core image diagnostic in the operator-facing update and start paths so the warning does not depend on which process read the file first.
Out-of-scope follow-up suggestions (1)

These are valid observations, but they are outside this PR's scope and should be handled in separate issues or author/maintainer-requested PRs rather than blocking this review.

  • Drive startup does not report an incompatible running Core version — Drive's startup checks confirm Core sync and credit-pool RPC availability, but do not check the running binary's version. A self-managed Core 23 node can pass those checks before V24 activates and later stall without a version-specific diagnostic.
    • Follow-up: Track a separate Drive-ABCI startup diagnostic using the connected Core's getnetworkinfo version, with warning or refusal behavior based on the network and activation policy.

@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Your move: thepastaclaw requested changes on this head; dismiss the review or push a fix; thepastaclaw left review threads unresolved; resolve them.
Full checklist in the description.

@github-actions github-actions Bot added waiting-self-review Waiting for the author to post /self-reviewed and removed waiting-bots Waiting for the review bots to report on this head labels Nov 24, 2026
shumkov and others added 4 commits November 26, 2026 09:10
v5.1.0-rc.1 was tagged without this migration and stamps configs
5.1.0-rc.1. Semver orders 5.1.0-dev.5 below that, so the dev.5 key would
never run for a config rc.1 had read. Keying it at 5.1.0-rc.2 puts it
above every stamp a released build writes, and it runs whether rc.2 or
5.1.0 ships it: both migrate rc.1-stamped configs and stamp their own
version.

The tests now start from the rc.1 format too, and cover both releases
that could ship the move.

Test would have caught this in CI: 4 failing before the re-key
(rc.1 format, rc.2 and 5.1.0 shipping it, local/devnet from rc.1),
all 42 passing after.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…r Hub host

The Core 24 migration compared the repository literally, so
`docker.io/dashpay/dashd:23.0.2` read as another repository: the node
was kept on Core 23 and only warned about. Docker pulls
`docker.io/`, `index.docker.io/` and `registry-1.docker.io/dashpay/dashd`
from the same Docker Hub repository as `dashpay/dashd`, so the parser now
drops those hostnames before the comparison. The same path on any other
registry, such as `ghcr.io/dashpay/dashd`, is still kept and warned about.

Test would have caught this in CI: the Core 23 move failed from every
config format (5 failing) on `docker.io/dashpay/dashd:23.0.2` before the
fix; all 32 pass after.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
… its tag says

Docker runs the image a digest names and ignores the tag next to it, so
`myorg/dashd:24.0.3@sha256:<Core 23 digest>` still runs Core 23. The
Core 24 migration read only the tag and stayed silent for any tag of 24
or later. It now warns about every image it keeps that a digest pins,
from any repository: the digest is what decides the Core version, and
dashmate cannot tell which one it names. A kept Core 24 image without a
digest is still not warned about.

Test would have caught this in CI: no warning for
`myorg/dashd:24.0.3@sha256:…` or `dashpay/dashd:24.0.1@sha256:…` before
the fix (1 failing); all 43 pass after.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Waiting for bot review — thepastaclaw not yet. Wait for the missing reviews, or a writer can post /skip-bots to proceed without them; blocking findings still need addressing.
Full checklist in the description.

@github-actions github-actions Bot added waiting-bots Waiting for the review bots to report on this head and removed waiting-self-review Waiting for the author to post /self-reviewed labels Nov 26, 2026

@thepastaclaw thepastaclaw left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-review — Final validation — Phase 1 + Phase 2

New on this head: This revision moves the Dashmate migration to 5.1.0-rc.2 so it reaches configs stamped by rc.1, recognizes Docker Hub-qualified Core 23 pins, and warns about retained digest pins regardless of their tags. Dashmate tests, lint, all three Dashmate E2E jobs, and both browser suites passed; PastaClaw review and PR Hygiene are pending.

🔴 0 blocking | 🟡 0 suggestion(s) | 💬 0 nitpick(s)

Review provenance

Source: reviewer 1: muse-spark-1.3-contributor (agent: phase1-reviewer, role: general); reviewer 2: gpt-6.2-sol (agent: phase2-reviewer, role: general); reviewer 3: gpt-6.2-sol (agent: phase2-reviewer, role: architecture-layering); final verifier: gpt-6.2-sol (agent: sol-verifier, role: final-verifier)

  • Triage: normal by gpt-6.2-sol (effort low) — The migration requires checking SemVer ordering, Docker image reference matching, and which configs are rewritten or warned about, but it changes operator configuration rather than protocol state or database storage.
  • Phase 1 reviewers: muse-spark-1.3-contributor — general (completed, effort xhigh); agent phase1-reviewer
  • Phase 1 model: muse-spark-1.3-contributor — not quota-gated; passed over gemini-3.8-flash-high (antigravity quota lookup failed), glm-5.3-flash (not used above high effort; tier asks max)
  • Fresh verifier: gpt-6.2-sol — final-verifier; agent sol-verifier
  • Phase 2 reviewers: gpt-6.2-sol — general (completed, effort high); agent phase2-reviewer, gpt-6.2-sol — architecture-layering (completed, effort high); agent phase2-reviewer
🤖 Prompt for all review comments with AI agents
These findings are from an automated code review. Verify the current code and confirm that no unresolved issues remain.

No unresolved findings remain from the prior review on this head.

@github-actions

Copy link
Copy Markdown
Contributor

Bots are done — your move: post /self-reviewed.
Full checklist in the description.

@github-actions github-actions Bot added waiting-self-review Waiting for the author to post /self-reviewed and removed waiting-bots Waiting for the review bots to report on this head labels Nov 26, 2026
@shumkov
shumkov merged commit d8b216c into v5.1-dev Nov 26, 2026
38 of 39 checks passed
@shumkov
shumkov deleted the shumkov/dashmate-core24 branch November 26, 2026 03:51
@shumkov shumkov mentioned this pull request Nov 26, 2026
9 of 16 tasks
HashEngineering pushed a commit to HashEngineering/platform that referenced this pull request Nov 27, 2026
Brings v5.1-dev's 7 commits into v5.2-dev: dashpay#6315, dashpay#6316, dashpay#6289, dashpay#6209,
dashpay#6210, dashpay#6267 and dashpay#6274.

Conflicts, all in dashmate doctor, where dashpay#6316 (v5.1-dev) and dashpay#6317
(v5.2-dev) changed the same code:

- archiveSamples.js: combined. Config secrets are scrubbed, samples are
  staged in a private mkdtemp directory that is removed afterwards, and
  the tar is portable and lists the staged files (dashpay#6316). The archive
  name is Windows-safe, the archive is packed into a `wx` 0600 partial
  file renamed into place inside its cleanup guard, and its path is
  returned (dashpay#6317). The staging directory and the mkdtemp prefix use the
  Windows-safe name. When the archive fails, the staging directory is
  removed inside a guard, so the error that stopped the archive is the
  one reported, as dashpay#6317 already did for the partial file.
- report.js: passes the config and prints the returned archive path.
- collectSamplesTaskFactory.js: both sides' imports.
- archiveSamples.spec.js (add/add): v5.1's tests take the archive path
  from the return value; the "did not write" test plants a directory
  under both earlier staging names; v5.2's tests sit in an
  "archive file" block and pass the config. New test: the packing error
  is reported when removing the staged files fails too (fails on a plain
  `finally`, passes on the resolution).
- collectSamplesTaskFactory.spec.js: both sides' imports.

Merged without mergiraf (core.attributesFile=/dev/null).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

waiting-self-review Waiting for the author to post /self-reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants