Skip to content

feat(ocr3_1): promwrapper + integration test framework opt-in#22198

Draft
wentzeld wants to merge 1 commit intodevelopfrom
OCRBump
Draft

feat(ocr3_1): promwrapper + integration test framework opt-in#22198
wentzeld wants to merge 1 commit intodevelopfrom
OCRBump

Conversation

@wentzeld
Copy link
Copy Markdown
Contributor

chainlink-side scaffolding for the OCR3_1 CRE
consensus plugin migration. Pairs with the chainlink-common OCR3_1 scaffold PR. Plan + rollout: internal OCR3_1 migration plan, Part 8/10. Do not
merge until: (1) chainlink-common OCR3_1 PR has merged and chainlink's chainlink-common pin is bumped to include NewOCR3_1, (2) preflight item 4
(libocr blob durability) is answered.

  Adds the chainlink-side scaffolding for the OCR3_1 CRE consensus plugin migration. Mirrors the OCR3 sibling without mutating it; OCR3 path stays
  untouched during the staged rollout.

  - core/services/ocr3_1/promwrapper/: prometheus wrapper covering all 9 OCR3_1 methods including StateTransition, Committed, ObservationQuorum.
  Distinct metric names (ocr3_1_*) so dashboards can slice OCR3 vs OCR3_1 DONs independently.
  - core/capabilities/integration_tests/framework/: AddOCR3_1NonStandardCapability toggle on DON; FakeLibOCR_OCR3_1 v1 simulator with per-node KV via
  libocr StatefulInMemoryKeyValueDatabaseFactory. v1 drives Query only — full protocol cycle deferred until libocr's BlobHandle has a public
  constructor.
  - Verified: go vet ./core/capabilities/integration_tests/framework/ clean against a temporary local chainlink-common replace (reverted).
@github-actions
Copy link
Copy Markdown
Contributor

✅ No conflicts with other open PRs targeting develop

@trunk-io
Copy link
Copy Markdown

trunk-io Bot commented Apr 27, 2026

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

@cl-sonarqube-production
Copy link
Copy Markdown

Quality Gate failed Quality Gate failed

Failed conditions
12.4% Duplication on New Code (required ≤ 10%)

See analysis details on SonarQube

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.

1 participant