Skip to content

test(metrics): counter increment edge cases (Day 24) - #60

Merged
konih merged 1 commit into
mainfrom
test/day24-metrics-counter-edges
Jun 18, 2026
Merged

konih merged 1 commit into
mainfrom
test/day24-metrics-counter-edges

Conversation

@konih

@konih konih commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add unit tests for metrics counter error paths: reconcile ResultError + ReconcileErrors, wrapped errors, success-not-error guards
  • Add label-cardinality subtests for all controller constants, MQ operation constants, and circuit-breaker transition pairs
  • Cover RecordCircuitBreakerTransition (previously untested)

Test plan

  • task verify
  • task lint
  • task test:run (91.8% internal/ coverage)

Add unit tests for reconcile/MQ/drift/circuit-breaker counter error paths,
wrapped errors, and per-label cardinality across all controller and operation
constants.
@konih
konih merged commit 00ec315 into main Jun 18, 2026
14 checks passed
@konih
konih deleted the test/day24-metrics-counter-edges branch June 18, 2026 00:18
konih added a commit that referenced this pull request Jun 18, 2026
DISPLAY probe (#58), mqweb swagger (#59), metrics tests (#60),
OBSERVABILITY docs (#61), mqrest flake fix (#58-61).
konih added a commit that referenced this pull request Jul 10, 2026
Add unit tests for reconcile/MQ/drift/circuit-breaker counter error paths,
wrapped errors, and per-label cardinality across all controller and operation
constants.
konih added a commit that referenced this pull request Jul 10, 2026
DISPLAY probe (#58), mqweb swagger (#59), metrics tests (#60),
OBSERVABILITY docs (#61), mqrest flake fix (#58-61).
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