Skip to content

Conversation

@sestinj
Copy link
Contributor

@sestinj sestinj commented Nov 26, 2025

Summary by cubic

Add API error reporting for agents in serve mode. When run with --id, unhandled errors are posted to agents/{id}/status with a FAILED status.

  • New Features
    • Serve sets the agent ID from --id for error reporting.
    • On unhandledRejection or uncaughtException, POST agents/{id}/status with FAILED and errorMessage.
    • Reporting is non-blocking; failures are logged at debug without crashing.

Written for commit 2a81f4d. Summary will update automatically on new commits.

@sestinj sestinj requested a review from a team as a code owner November 26, 2025 20:25
@sestinj sestinj requested review from RomneyDa and removed request for a team November 26, 2025 20:25
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Nov 26, 2025
@github-actions
Copy link

⚠️ PR Title Format

Your PR title doesn't follow the conventional commit format, but this won't block your PR from being merged. We recommend using this format for better project organization.

Expected Format:

<type>[optional scope]: <description>

Examples:

  • feat: add changelog generation support
  • fix: resolve login redirect issue
  • docs: update README with new instructions
  • chore: update dependencies

Valid Types:

feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert

This helps with:

  • 📝 Automatic changelog generation
  • 🚀 Automated semantic versioning
  • 📊 Better project history tracking

This is a non-blocking warning - your PR can still be merged without fixing this.

@github-actions
Copy link

github-actions bot commented Nov 26, 2025

✅ Review Complete

Code Review Summary

⚠️ Continue configuration error. Please verify that the assistant exists in Continue Hub.


@continue
Copy link
Contributor

continue bot commented Nov 26, 2025

Updated AGENTS.md in kitchen-sink-demo to document the error handling patterns introduced in this PR. The guidelines now include:

  • API error reporting in serve mode with --id flag
  • Non-blocking error handling approach
  • Global error handler patterns for unhandledRejection and uncaughtException
  • Debug-level logging for error reporting failures

This ensures AI agents working on projects understand the error reporting expectations when running in serve mode.

@continue
Copy link
Contributor

continue bot commented Nov 26, 2025

Added documentation for the agent error reporting feature in storage-sync.md. The doc now notes that when running with --id, unhandled errors are reported to the agents/{id}/status API endpoint with FAILED status, and that this reporting is non-blocking.

@continue
Copy link
Contributor

continue bot commented Nov 26, 2025

Added seed data for failed agent sessions in the remote-config-server repo to support local testing of this error reporting feature. See continuedev/remote-config-server#1828

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 2 files

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 2 files

@sestinj sestinj merged commit 9438924 into main Nov 26, 2025
55 of 58 checks passed
@sestinj sestinj deleted the nate/agent-error-reporting branch November 26, 2025 21:03
@github-project-automation github-project-automation bot moved this from Todo to Done in Issues and PRs Nov 26, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Nov 26, 2025
@sestinj
Copy link
Contributor Author

sestinj commented Nov 26, 2025

🎉 This PR is included in version 1.7.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

released size:M This PR changes 30-99 lines, ignoring generated files.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants