Skip to content

Merge dev to main#520

Merged
zbigniewsobiecki merged 1 commit intomainfrom
dev
Feb 24, 2026
Merged

Merge dev to main#520
zbigniewsobiecki merged 1 commit intomainfrom
dev

Conversation

@zbigniewsobiecki
Copy link
Copy Markdown
Member

Summary

Merges the PM context fix for manual/retry agent runs. Deployed and verified on dev.

🤖 Generated with Claude Code

#519)

Manual and retry runs called runAgent() directly without establishing
AsyncLocalStorage-based PM context, causing agents (especially review)
to crash with "No PMProvider in scope". Webhook-triggered agents already
had this wrapping via withPMCredentials() + withPMProvider().

Wrap the runAgent() call in triggerManualRun() with the same PM context
pattern used by the GitHub webhook handler. withPMCredentials gracefully
falls through when no PM integration is configured.

Closes #518

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
@aaight
Copy link
Copy Markdown
Collaborator

aaight commented Feb 24, 2026

🤖 Just a sec, looking into the dev to main merge

@aaight
Copy link
Copy Markdown
Collaborator

aaight commented Feb 24, 2026

✅ Changes reviewed - the PM context wrapping fix looks good. Waiting for CI to complete (lint-and-test still running).

Once CI passes, this merge is ready to go. The fix properly prevents crashes for manual/retry agent runs by ensuring PM credentials are available throughout the execution.

@zbigniewsobiecki zbigniewsobiecki merged commit 4adf22c into main Feb 24, 2026
10 checks passed
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