// use cases
Validate dependency updates end to end with Devin
Publish policy-cleared vulnerability updates, trigger Devin from the pull request webhook, and test the running application before merge.
Make every vulnerability update prove that the application still works.
Superagent generates and evaluates the dependency change, publishes only a
policy-cleared pull request, and sends dependency_update.published to Devin.
Devin checks out that pull request, starts the application, runs its integration
tests, and returns the result to the pull request.
Prerequisites
- A repository connected through the Superagent Security GitHub App
- A Devin workspace connected to the repository
- Application setup, environment variables, and test commands configured in Devin
- A Devin Automation with an incoming webhook trigger
- A repository reviewer for the final merge decision
1. Enable vulnerability updates
Open Repository, select the repository, and find Secure Dependency Updates in its settings.
- Turn on Secure Dependency Updates.
- Set Scope to Vulnerabilities.
- Choose a daily, weekly, or monthly schedule.
- Keep Supply Chain Scan enabled so the published pull request is checked again before merge.

On each scheduled run, Superagent:
- Reads open Dependabot alerts or resolves vulnerable lockfile versions against the GitHub Advisory Database.
- Generates the manifest and lockfile change with pinned Dependabot tooling in an isolated sandbox.
- Evaluates the complete generated dependency delta.
- Withholds proposals that violate package policy.
- Publishes an approved proposal as a pull request.
2. Create the Devin Automation
In Devin, create an Automation with:
- An incoming Webhook trigger
- A Start session action
- The repository and application environment already configured
- Permission to read and update the dependency pull request
- No permission to merge without the normal repository controls
Copy the Automation webhook URL and its one-time webhook secret.
Use instructions like these for the Devin session:
3. Send published updates to Devin
Open Webhooks in Superagent and create a target:
- Enter the Devin Automation webhook URL.
- Add
X-Webhook-Secretas a custom header with Devin's webhook secret. - Subscribe only to
dependency_update.published. - Open Sources, expand Repositories, and select the exact repository.
- Save the webhook and send a test event.
Devin accepts the event body directly and appends it to the Start session prompt. The exact Repository source prevents dependency updates from unrelated repositories from starting this application test environment.
dependency_update.published fires once after a proposal passes policy and
reaches GitHub as a pull request. Withheld, superseded, and failed proposals do
not trigger Devin.
4. Test the running application
When the webhook starts a session, Devin should:
- Open the repository and pull request from the event payload.
- Install the exact dependency graph committed by Superagent.
- Build and start the application in its configured environment.
- Run the full integration suite and critical browser or API flows.
- Add a focused compatibility fix only when the update caused the failure.
- Post the final result to the existing pull request.
Keep application secrets in Devin's environment. Use test services and test accounts for integration flows, and keep production deployment outside the Automation.
5. Keep merge approval human
Require the normal Supply Chain Scan, CI, and code review checks in branch protection. Devin validates whether the application still works; a repository reviewer decides whether and when the update merges.