Escalation expiration - #19718
Open
deanhannigan wants to merge 31 commits into
Open
Escalation expiration#19718deanhannigan wants to merge 31 commits into
deanhannigan wants to merge 31 commits into
Conversation
…eat/escalation-expiration
…eat/escalation-expiration
…eat/escalation-expiration
Contributor
Author
|
@cubic-dev-ai review |
Contributor
@deanhannigan I have started the AI code review. It will take a few minutes to complete. |
Contributor
There was a problem hiding this comment.
All reported issues were addressed across 24 files
Tip: instead of fixing issues one by one fix them all with cubic
Re-trigger cubic
deanhannigan
marked this pull request as ready for review
September 21, 2026 17:35
Contributor
There was a problem hiding this comment.
All reported issues were addressed across 24 files
Tip: instead of fixing issues one by one fix them all with cubic
Re-trigger cubic
adrinr
reviewed
Sep 24, 2026
Contributor
There was a problem hiding this comment.
All reported issues were addressed across 24 files
Reply with feedback, questions, or to request a fix.
Fix all with cubic | Re-trigger cubic
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Escalation approval duration can now be configured along with an optional auto resolution strategy.
Expirethe current default behaviour. When its time on the queue ends, it simply terminatesAccept request|Reject request- When its time on the queue ends, approve | reject the users request and resolve the escalation.[Enterprise]Introduced is theNever expiremode. When selected, the escalation approval will only ever leave the system if its resolved or cancelled by a user.[Enterprise]Custom - configure a completely bespoke duration in hours, days or weeks.Addresses
Screenshots
You can now choose the duration in the approval modal. Seen here, the full list of options available at the enterprise level. All options outlined in the attached issue.

Custom; hour, day and week duration. Only on the Enterprise tier.

License Expiry Flow. Newly raised escalations will cap on the server-side to the max allowed duration in the event of a downgrade. Escalation approvals already pending will remain pending, with the full duration with which they were created.

The resolution select. Expire will simply terminate the approval leaving the tool are resource untouched.

Launchcontrol
Add the ability to configure approval escalation duration and auto resolution behaviour.
Summary by cubic
Adds configurable expiration to agent approval policies, with presets, custom durations, "never expires," and automatic approval or rejection when a request expires. New escalations respect a per-plan duration cap, while existing approvals keep their original expiry.
delayfields with optionaldurationvalues (seconds on policies, milliseconds on escalation docs); absence means the request never expires.Durationutility intoshared-coresobackend-coreand the builder import it from one place.Written for commit 4e2bf40. Summary will update on new commits.