Implement direct ServiceNow PR governance#3242
Merged
michaeljguarino merged 1 commit intomasterfrom Feb 22, 2026
Merged
Conversation
Contributor
Greptile SummaryImplements ServiceNow integration for PR governance, enabling automated change request creation and lifecycle management synchronized with PR workflows. Key Changes
Implementation DetailsThe workflow synchronizes PR lifecycle with ServiceNow changes:
The implementation includes comprehensive unit tests and uses encrypted storage for ServiceNow credentials. Confidence Score: 4/5
|
| Filename | Overview |
|---|---|
| lib/console/deployments/pr/governance/impl/service_now.ex | New ServiceNow governance implementation with proper workflow state machine and AI-powered change attribute generation |
| lib/console/clients/service_now/client.ex | ServiceNow API client with proper authentication and error handling |
| lib/console/deployments/pr/governance/provider.ex | Updated provider router to support ServiceNow governance with proper error handling |
| lib/console/schema/pr_governance.ex | Added ServiceNow configuration schema with encrypted password field |
| lib/console/pipelines/pr_governance/pipeline.ex | Pipeline consumer for auto-merging approved governance PRs |
| test/console/deployments/pr/governance/service_now_test.exs | Comprehensive unit tests covering open, confirm, and close workflows |
Last reviewed commit: eec368d
4c8f06b to
eec368d
Compare
Member
Author
eec368d to
6b79c01
Compare
This is a common ask, and it seems like a lot of orgs don't have bandwidth to implement themselves. The intended workflow is described in the governance impl, and seems to imitate the common ticket workflows I've seen.
6b79c01 to
0133020
Compare
jsladerman
approved these changes
Feb 22, 2026
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.
This is a common ask, and it seems like a lot of orgs don't have bandwidth to implement themselves. The intended workflow is described in the governance impl, and seems to imitate the common ticket workflows I've seen.
Test Plan
unit tests
Checklist
Plural Flow: console