Skip to content

Feat: Improve auto-sync error handling and user guidance - #242

Closed
ivke995 wants to merge 5 commits into
mainfrom
feat/auto-sync-failure-guidance
Closed

Feat: Improve auto-sync error handling and user guidance#242
ivke995 wants to merge 5 commits into
mainfrom
feat/auto-sync-failure-guidance

Conversation

@ivke995

@ivke995 ivke995 commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@vercel

vercel Bot commented Aug 27, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sce-config-json Ready Ready Preview Aug 31, 2026 3:27pm

Request Review

Comment thread cli/src/services/sync/auto_sync.rs Outdated
.stdin(Stdio::null())
.stdout(Stdio::null())
.stderr(Stdio::null());
.stderr(Stdio::inherit());

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is very suspicious.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

detached execution and inherited stderr are a nono

ivke995 and others added 4 commits August 31, 2026 16:58
Classify automatic sync failures by typed origin while preserving technical
sources for observability and manual sync behavior. Render deterministic
recovery guidance and update the durable CLI contracts.

Co-authored-by: SCE <sce@crocoder.dev>
Make detached automatic sync failures observable without blocking post-commit
hooks. Mark automatic invocations internally, inherit stderr while keeping
stdin/stdout null, and render typed runtime diagnostics for launcher failures.

Co-authored-by: SCE <sce@crocoder.dev>
Automatic post-commit synchronization needs one stable, actionable runtime diagnostic while retaining technical causes for observability. Preserve owned user-error message strings during app rendering and document the typed failure guidance, stderr behavior, manual retry path, and unchanged fail-open boundaries.

Co-authored-by: SCE <sce@crocoder.dev>
Make post-commit automatic Agent Trace synchronization wait for its one-shot child while preserving fail-open behavior, command boundaries, and diagnostic ownership. Document the synchronous completion boundary and intentional latency trade-off.

Co-authored-by: SCE <sce@crocoder.dev>
Keep automatic-sync diagnostics visible without allowing the child to inherit the caller's stderr descriptor. Pipe and drain child stderr with wait_with_output, then forward captured bytes through the parent while preserving synchronous completion, command configuration, and fail-open behavior.

Co-authored-by: SCE <sce@crocoder.dev>
@ivke995 ivke995 closed this Sep 1, 2026
@ivke995
ivke995 deleted the feat/auto-sync-failure-guidance branch September 1, 2026 13:41
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