Skip to content

[chore] Add debug logs sandbox catalog updates#2248

Open
matthewlouisbrockman wants to merge 4 commits intomainfrom
log-catalog-changes
Open

[chore] Add debug logs sandbox catalog updates#2248
matthewlouisbrockman wants to merge 4 commits intomainfrom
log-catalog-changes

Conversation

@matthewlouisbrockman
Copy link
Copy Markdown
Contributor

Adds debug logging to the two ways we can update the sandbox catalog:

  • the sandbox sync
  • normal sandbox lifecycle routes

This helps us understand what causes 404s when it looks like the sandbox should be present in the catalog but isn't.

@cursor
Copy link
Copy Markdown

cursor bot commented Mar 28, 2026

PR Summary

Low Risk
Low risk: adds debug-level logging around sandbox sync reconciliation and sandbox catalog store/delete operations, with no behavioral changes beyond extra log volume.

Overview
Adds targeted debug logging to help diagnose cases where sandboxes appear missing (404s) by emitting structured logs when sync expires or re-adds sandboxes and when the sandbox catalog is updated (store/delete) in both memory and Redis implementations, including sandbox.id, team.id, and node.id fields for correlation.

Written by Cursor Bugbot for commit b6f8815. This will update automatically on new commits. Configure here.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a3175699d9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

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