Skip to content

fix: avoid client.GetOrganizationBySlug which queries too much fields#4584

Merged
kzys merged 1 commit intomasterfrom
org-error
Oct 1, 2025
Merged

fix: avoid client.GetOrganizationBySlug which queries too much fields#4584
kzys merged 1 commit intomasterfrom
org-error

Conversation

@kzys
Copy link
Contributor

@kzys kzys commented Sep 30, 2025

stage.Org() calls client.GetOrganizationBySlug() which queries too much fields, and times out occasionally.

This change adds stateCompact() which queries less and more reliable.

Change Summary

What and Why:

How:

Related to:


Documentation

  • Fresh Produce
  • In superfly/docs, or asked for help from docs team
  • n/a

@kzys kzys force-pushed the org-error branch 3 times, most recently from 1063c81 to d9560ff Compare October 1, 2025 19:07
@kzys kzys changed the title fix Timeout on LimitedAccessToken.revokedAt fix: avoid client.GetOrganizationBySlug which queries too much fields Oct 1, 2025
@kzys kzys requested review from PeterCxy and jphenow October 1, 2025 20:00
@kzys kzys marked this pull request as ready for review October 1, 2025 20:13
stage.Org() calls client.GetOrganizationBySlug() which queries too much fields,
and times out occasionally.

This change adds stateCompact() which queries less and more reliable.
@kzys kzys merged commit c7bac9a into master Oct 1, 2025
39 of 51 checks passed
@kzys kzys deleted the org-error branch October 1, 2025 22:58
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