Skip to content

fix(delivery): the two run keys default in code again, a missing key never stops a service CU-86akkb8f5 - #2833

Closed
semen-flamingo wants to merge 1 commit into
mainfrom
fix/delivery-run-keys-default
Closed

semen-flamingo wants to merge 1 commit into
mainfrom
fix/delivery-run-keys-default

Conversation

@semen-flamingo

Copy link
Copy Markdown
Contributor

Why

Since 7.0.37 (#2776 with its review follow-up) DeliveryProperties.Policy had no code defaults for max-runs and rerun-after-seconds, so a service refuses to start on an environment whose openframe.delivery.defaults does not carry them yet. Tenant #4112 had to add them to dev; qa, stage and prod would have failed on the next release. Kirill's point: a new key must never put a service down on restart.

What

  • maxRuns = 1 and rerunAfterSeconds = 10_800 back as field defaults, constraints kept; an environment without the keys keeps the single-run behaviour the lib had before the keys existed
  • binding test: defaults without the two keys bind to one run / 3 h instead of being rejected

Tenant #4195 still puts both keys in base so every environment states them.

🤖 Generated with Claude Code

https://claude.ai/code/session_018qx6NqA97kwRxQ4hnD5jtu

…never stops a service CU-86akkb8f5

7.0.37 refused to start without max-runs and rerun-after-seconds in openframe.delivery.defaults; an environment that
has not set them yet gets the single-run behaviour the lib had before the keys existed.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018qx6NqA97kwRxQ4hnD5jtu
@github-actions

github-actions Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

🦩 Flamingo Code Review

Not reviewed yet. Reviews start when you ask, so the reviewer reads this pull request when it is ready, not when it is opened.

When it is ready:

  • Review this pull request

Or comment @flamingo-review. Add the flamingo-review-always label to review every push.

🧪 Tests and mutation

Tests per lane

Language Project Command Status Counts Time
Java (Maven) . mvn -B -s .mvn/settings.xml test -pl openframe-machine-delivery -am ✅ passed core 148 · data-kafka 19 · data-mongo-sync 407 (179 skipped) · machine-delivery 113 · 0 failures 67.6 s

Checks

Check Kind Language Project Status Time
Trivy security Java (Trivy) . ✅ passed 27.1 s
Trivy config security Java (Trivy) . ✅ passed 2.7 s

Updated 2026-10-26 17:28 UTC · workflow run

@aliaska-varieva

Copy link
Copy Markdown
Contributor

Closing as stale: no activity for over a week. Reopen if still needed.

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