Skip to content

Conversation

marctalbott
Copy link
Contributor

@marctalbott marctalbott commented Oct 8, 2025

Ticket: RW-15653

  • The workspace user cache cron job is timing out. We've tried adding some logging to identify the source of the timeouts and found it is when trying to list the workspaces in need of a cache update. It's unclear why it's timing out here, but this PR will make the query return less data from the workspace table and avoid an unnecessary join with the featured_workspace table to see if that helps

PR checklist

  • I have included an issue ID or "no ticket" in the PR title as outlined in CONTRIBUTING.md.
  • I have included a risk tag of the form [risk=no|low|moderate|severe] in the PR title as outlined in CONTRIBUTING.md.
  • I have manually tested this change and my testing process is described above.
  • This change includes appropriate automated tests, and I have documented any behavior that cannot be tested with code.
  • I have added explanatory comments where the logic is not obvious.
  • One or more of the following is true:
    • This change is intended to complete a JIRA story, so I have checked that all AC are met for that story.
    • This change fixes a bug, so I have ensured the steps to reproduce are in the Jira ticket or provided above.
    • This change impacts deployment safety (e.g. removing/altering APIs which are in use), so I have documented the impacts in the description.
    • This change includes a new feature flag, so I have created and linked new JIRA tickets to (a) turn on the feature flag and (b) remove it later.
    • This change modifies the UI, so I have taken screenshots or recordings of the new behavior and notified the PO and UX designer in Slack.
    • This change modifies API behavior, so I have run the relevant E2E tests locally because API changes are not covered by our PR checks.
    • None of the above apply to this change.

@marctalbott marctalbott requested a review from yonghaoy October 8, 2025 19:37
@marctalbott marctalbott merged commit ef49dc5 into main Oct 8, 2025
7 checks passed
@marctalbott marctalbott deleted the mtalbott-fix-workspace-user-cache branch October 8, 2025 20:23
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