GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(labs): send failed commit/push/PR actions to the agent by wSedlacek · Pull Request #32024 · pingdotgg/t3code

feat(labs): send failed commit/push/PR actions to the agent #32024

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Sign up for GitHub

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wSedlacek wants to merge 4 commits into pingdotgg:main from wSedlacek:t3/auto-report-git-failures
+432 −10
Closed

feat(labs): send failed commit/push/PR actions to the agent #32024

Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
4 commits
Select commit Hold shift + click to select a range
6d579e2
feat(labs): send failed commit/push/PR actions to the agent
wSedlacek Nov 6, 2026
88071ea
fix(server): require operate scope before waking agent on git failure
wSedlacek Nov 7, 2026
a375dbc
Merge remote-tracking branch 'github/main' into t3/auto-report-git-fa…
maria-rcks Nov 10, 2026
ca757ca
fix(server): detach git-failure agent wake from progress stream
wSedlacek Nov 10, 2026
File filter
Filter by extension

Clear filters
Conversations
Failed to load comments.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Jump to
Jump to file
Failed to load files.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Diff view
Diff view
Prev Previous commit
Next Next commit
fix(server): require operate scope before waking agent on git failure
Source-control write can run stacked actions, but enqueueing an agent turn needs orchestration-operate so a write-only client cannot start work by forcing a failure.

Co-authored-by: Cursor <[email protected]>
  • Loading branch information

Uh oh!

There was an error while loading. Please reload this page.

@wSedlacek @cursoragent
wSedlacek and cursoragent committed Nov 9, 2026
commit 88071ea75e6f11ee930ebe73f2af0e8beb7eddff

There are no files selected for viewing

3 changes: 2 additions & 1 deletion 3 apps/server/src/git/sendGitActionFailureToAgent.ts
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ export function gitActionFailureMessage(input: {

/**
* Never fails the caller: the stacked action already failed and the client is getting that error,
* so a wake that cannot be made is logged and dropped.
* so a wake that cannot be made is logged and dropped. Callers must require orchestration-operate;
* source-control write alone must not reach this path.
*/
export const sendGitActionFailureToAgent: <E>(input: {
readonly threadId: ThreadId;
Expand Down
4 changes: 3 additions & 1 deletion 4 apps/server/src/ws.ts
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -3185,8 +3185,10 @@ export const layerWsRpc = (
(Option.isSome(failure) && failure.value instanceof Error
? failure.value.message
: "Source control action failed.");
// Stacked actions only need source-control write; waking the agent needs operate.
return (
input.threadId === undefined
input.threadId === undefined ||
!currentSession.scopes.includes(AuthOrchestrationOperateScope)
? Effect.void
: sendGitActionFailureToAgent({
Comment thread
wSedlacek marked this conversation as resolved.
Resolved

Uh oh!

There was an error while loading. Please reload this page.

threadId: input.threadId,
Expand Down
Loading
Oops, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

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.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.