Skip to content

Add debug logging around requests #532

Closed

Description

@code-asher

We should log the start and stop of all requests, especially the long-lived ones like /watch (which we call for the current workspace before connecting to a remote) and /watch-metadata (which we call for every running agent on every user-owned workspace in the sidebar, although this should only happen while the sidebar is displaying).

So probably a request ID, endpoint, method, and payload for the start log, and then a request ID, status code, response body, and duration for the end log.

Also I think our logs are not timestamped right now? sorted, we use the built-in logger now

This should help us narrow down reports of leaks, since it looks like these connections may not be disposing when they should.

Activity

  1. self-assigned this
    on Jun 13, 2025
  2. added theissue type on Jun 25, 2025
  3. self-assigned this
    on Sep 4, 2025
  4. added a commit that references this issue on Sep 17, 2025
    ac10249
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions