Skip to content

fix(deployment): use current JD state for config apply - #1617

Merged
huangzhen1997 merged 3 commits into
mainfrom
fix/live-jd-chain-validation
Nov 19, 2026
Merged

huangzhen1997 merged 3 commits into
mainfrom
fix/live-jd-chain-validation

Conversation

@tt-cll

@tt-cll tt-cll commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Force live JD chain-support reads for the shared verifier and executor validation path, preventing stale operation reports from being reused.
  • Merge durable offchainConfigs.jdNodes IDs into Environment.NodeIDs, preserving existing entries and appending missing ones so either the runtime list or persisted snapshot may be stale.
  • Add chain-agnostic regression coverage, including a Solana stale-report case, a stale non-empty nodes.json allowlist, and newly registered nodes that are not yet in the persisted snapshot.
  • Update the durable inventory handoff documentation and changelog.

Live CCV domain compatibility

Reviewed chainlink-deployments main at 0585400c39, including all seven current domains/ccv environments and their EVM, Aptos, Canton, Solana, and Stellar registration/activation paths.

  • Existing environments currently have no jdNodes, so their CLD-provided node IDs remain unchanged.
  • Registration returns the durable snapshot through the normal datastore artifact used by framework v0.127.2.
  • Later jobs use the union of their existing nodes.json IDs and registration inventory; an up-to-date nodes.json handoff is no longer required by these changesets.
  • No domain schema, topology, or resolver changes are required.

Tests

Tests run before remaining validation was delegated to CI:

  • From deployment: go test ./changesets ./registration ./operations/fetch_node_chain_support -count=1
  • Focused stale-report and durable-inventory regression tests.

No further local validation was run, including for the phased E2E and live-domain compatibility corrections; CI owns the remaining checks.

@tt-cll
tt-cll requested review from a team as code owners November 19, 2026 20:06
@github-actions

Copy link
Copy Markdown
Contributor

👋 tt-cll, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

@github-actions

Copy link
Copy Markdown
Contributor

Code coverage report:

Package main fix/live-jd-chain-validation Diff
github.com/smartcontractkit/chainlink-ccv/aggregator 46.21% 46.21% +0.00%
github.com/smartcontractkit/chainlink-ccv/bootstrap 67.91% 67.91% +0.00%
github.com/smartcontractkit/chainlink-ccv/cli 53.78% 53.78% +0.00%
github.com/smartcontractkit/chainlink-ccv/cmd 53.87% 53.87% +0.00%
github.com/smartcontractkit/chainlink-ccv/common 47.59% 47.59% +0.00%
github.com/smartcontractkit/chainlink-ccv/docs 0.00% 0.00% +0.00%
github.com/smartcontractkit/chainlink-ccv/executor 44.51% 44.51% +0.00%
github.com/smartcontractkit/chainlink-ccv/indexer 36.61% 36.62% +0.01%
github.com/smartcontractkit/chainlink-ccv/integration 70.56% 70.56% +0.00%
github.com/smartcontractkit/chainlink-ccv/internal 0.00% 0.00% +0.00%
github.com/smartcontractkit/chainlink-ccv/migration 78.70% 78.70% +0.00%
github.com/smartcontractkit/chainlink-ccv/pkg 84.62% 84.62% +0.00%
github.com/smartcontractkit/chainlink-ccv/pricer 18.67% 18.67% +0.00%
github.com/smartcontractkit/chainlink-ccv/protocol 61.72% 61.72% +0.00%
github.com/smartcontractkit/chainlink-ccv/tools 52.65% 52.65% +0.00%
github.com/smartcontractkit/chainlink-ccv/verifier 45.12% 45.12% +0.00%
Total 48.60% 48.60% +0.00%

@huangzhen1997
huangzhen1997 added this pull request to the merge queue Nov 19, 2026
Merged via the queue into main with commit fa3830e Nov 19, 2026
55 checks passed
@huangzhen1997
huangzhen1997 deleted the fix/live-jd-chain-validation branch November 19, 2026 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants