Skip to content

examples: ACK-aware canary rollout - #530

Draft
vikrams3 wants to merge 1 commit into
envoyproxy:mainfrom
vikrams3:example-ack-aware-canary
Draft

vikrams3 wants to merge 1 commit into
envoyproxy:mainfrom
vikrams3:example-ack-aware-canary

Conversation

@vikrams3

Copy link
Copy Markdown

Add a usage example for staged rollouts, since the README notes that usage examples are still TODO:

  • AckTracker: a DiscoveryServerCallbacks that records, per stream and resource type, the version each Envoy ACKed or NACKed, and lets the control plane wait until every Envoy in a node group applied a version
  • CanaryRolloutExample: one snapshot per node.cluster group; push to a canary group, wait for its ACK, then promote or roll back
  • AckTrackerTest: ACK from every node, NACK, other groups, closed streams

Java 8 compatible; test sources only, no change to the library.

Add a usage example for staged rollouts, since the README notes that
usage examples are still TODO:

- AckTracker: a DiscoveryServerCallbacks that records, per stream and
  resource type, the version each Envoy ACKed or NACKed, and lets the
  control plane wait until every Envoy in a node group applied a version
- CanaryRolloutExample: one snapshot per node.cluster group; push to a
  canary group, wait for its ACK, then promote or roll back
- AckTrackerTest: ACK from every node, NACK, other groups, closed streams

Java 8 compatible; test sources only, no change to the library.

Signed-off-by: Vikram Subramanya <5620531+vikrams3@users.noreply.github.com>
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.31%. Comparing base (7a2559a) to head (899173c).
⚠️ Report is 22 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #530      +/-   ##
============================================
+ Coverage     86.16%   86.31%   +0.14%     
- Complexity      361      369       +8     
============================================
  Files            42       42              
  Lines          1178     1198      +20     
  Branches         97       98       +1     
============================================
+ Hits           1015     1034      +19     
- Misses          116      117       +1     
  Partials         47       47              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

2 participants