Agent Run Commit Attribution - #3991
Conversation
Soffi AI SummaryThis PR bundles several largely independent improvements across the AI workbench, SCM integrations, and CI infrastructure under the headline fix of attributing the correct initiator as the Git committer on agent runs. Agent Run Commit Attribution (primary fix): The agent run initiator was not being recorded as the Git committer when the agent pushed changes. This PR wires the actor/initiator identity through so that commits produced by AI agent runs are properly attributed. AI Workbench enhancements:
PubSub / polling improvements: Activity delivery and agent-run poll successes are now pushed via PubSub rather than polled, significantly improving UI responsiveness when agents are running. SCM credentials refresh: Implemented automatic refresh of SCM (source control manager) credentials so long-lived agent sessions don't fail due to expired tokens. Cloud connection management UI: Added in-UI management of cloud connections, allowing operators to configure and update cloud provider connections without leaving the Console. CI infrastructure — revert Blacksmith CI migration: All GitHub Actions workflows that had been migrated to Blacksmith-hosted runners ( Commits
Updated: 2026-08-14 02:28 UTC |
Greptile SummaryThis PR propagates an agent run's initiating user into the harness and uses that identity for repository-local Git commit attribution, while retaining the existing service-account and SCM fallbacks.
Confidence Score: 5/5The PR appears safe to merge, with no concrete regressions identified in the commit-attribution flow. The AgentRun query already selects the initiating user, the mapping handles a nullable user safely, and both repository setup paths receive an identity while preserving established fallbacks.
|
| Filename | Overview |
|---|---|
| go/deployment-operator/pkg/agentrun-harness/agentrun/v1/types.go | Adds a nullable initiating-user representation and safely maps it from the existing GraphQL fragment. |
| go/deployment-operator/pkg/agentrun-harness/agentrun/v1/types_test.go | Verifies that the initiating user's name and email are copied into the harness model. |
| go/deployment-operator/pkg/agentrun-harness/environment/environment.go | Centralizes Git identity resolution and applies it consistently to existing and newly cloned repositories. |
| go/deployment-operator/pkg/agentrun-harness/environment/environment_test.go | Covers preference for the initiating user and fallback to SCM credentials and the default email. |
Reviews (1): Last reviewed commit: "Agent Run Commit Attribution" | Re-trigger Greptile
4f24efb to
8555560
Compare
This comment has been minimized.
This comment has been minimized.
8555560 to
3c8b0c8
Compare
|
plural deploy this |
|
Deployment GitOps PR: https://github.com/pluralsh/plrl-up-demos/pull/2572 Promotes the console image to |
e966823 to
6b5a35e
Compare
|
plural deploy this |
|
Deployment PR created: https://github.com/pluralsh/plrl-up-demos/pull/2573 — pins the demo console image to sha-6b5a35e and is annotated with Plural Service: mgmt/apps. |
|
plural deploy this |
|
Requested GitOps deployment PR created: https://github.com/pluralsh/plrl-up-demos/pull/2574 |
4b954a4 to
db4e98c
Compare
|
plural deploy this |
|
Created the GitOps deployment PR for this request: https://github.com/pluralsh/plrl-up-demos/pull/2575 (console image tag: Triggered by: #3991 (comment) |
19b4e24 to
453e11f
Compare
|
plural deploy this |
|
Deployment GitOps PR has been created: https://github.com/pluralsh/plrl-up-demos/pull/2578 |
453e11f to
d2f2b7d
Compare
|
plural deploy this |
d2f2b7d to
b4ba938
Compare
|
Deployment PR: https://github.com/pluralsh/plrl-up-demos/pull/2579 This deploys |
ff3c0b6 to
1639400
Compare
|
plural deploy this |
|
Deployment GitOps PR: https://github.com/pluralsh/plrl-up-demos/pull/2580 Pins the demo console deployment to Triggered by: #3991 (comment) |
97a2054 to
d6d2f6f
Compare
|
plural deploy this |
|
Deployment GitOps PR: https://github.com/pluralsh/plrl-up-demos/pull/2593 — pins the demo console image to sha-d6d2f6f. |
Restore GitHub-hosted runners and Docker build actions after Blacksmith introduced compatibility issues.
c6ba0a1 to
de0240a
Compare
|
plural deploy this |
|
Deployment GitOps PR has been created: https://github.com/pluralsh/plrl-up-demos/pull/2599 Image tag: |
3a35e59 to
4401dc3
Compare
|
plural deploy this |
|
Deployment PR created: https://github.com/pluralsh/plrl-up-demos/pull/2600 — pins console to sha-4401dc3 and annotates Plural Service: mgmt/apps. |
4401dc3 to
b01a4b4
Compare
|
plural deploy this |
|
Deployment PR: https://github.com/pluralsh/plrl-up-demos/pull/2601 — updates the demo console image to |
b01a4b4 to
e395845
Compare
|
plural deploy this |
|
The deployment GitOps PR has been created: https://github.com/pluralsh/plrl-up-demos/pull/2602 |
Noticed the agent run initiator isn't getting marked as committer currently, this hopefully fixes.
Test Plan
Test environment: https://console.plrldemo.onplural.sh/cd/clusters/a1748282-ce8b-48ab-ae7e-326e74fce04e/services/f3f89a54-d1a7-4bc8-9152-daa07ede918d/components
Checklist
Plural Flow: console