Skip to content

[WIP] [WIP] Address feedback on Revoke addition to databasePolicyConfig enum - #29664

Closed
yan-3005 with Copilot wants to merge 1 commit into
policy_agent_revoke_access_ossfrom
copilot/wip-address-feedback-on-revoke-addition
Closed

yan-3005 with Copilot wants to merge 1 commit into
policy_agent_revoke_access_ossfrom
copilot/wip-address-feedback-on-revoke-addition

Conversation

Copilot AI commented Jul 1, 2026 •

Copy link
Copy Markdown
Contributor

Thanks for the feedback on #29267. I've created this new PR, which merges into #29267, to address your comment. I will work on the changes and keep this PR's description up to date as I make progress.

Original PR: #29267
Triggering review: #29267 (comment)

@Copilot won't-fix — current caller pattern at TaskWorkflowHandler:212 (from a prior greptile P1 fix) relies on isTerminalStatus(null) returning false so the null-status branch falls through to applyTaskResolution. Flipping the semantic to null → terminal would make that path throw an IllegalStateException instead. The change is defensible in isolation but requires a matching caller-side refactor; deferring to a follow-up so this addressal PR stays focused.


Summary by Gitar

  • Policy Agent Updates:
    • Added Revoke variant to databasePolicyConfig enum to support access revocation workflows.
    • Updated TaskWorkflowHandler logic to handle the new Revoke policy type integration.

This will update automatically on new commits.

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