Hive Hive
Sign in

feat(server): allow accounts to opt out of Kura cache

GitHub issue · Closed

Metadata
Source
tuist/tuist #11178
Updated
Jun 24, 2026
Domains
Kura
Details

What changed

  • Added a :kura_cache_opt_out account-level feature flag helper.
  • Updated cache endpoint resolution so opted-out accounts ignore mirrored Kura endpoints and fall back to custom cache endpoints or the default hosted endpoints.
  • Added account endpoint tests for both fallback paths.

Why

Accounts are automatically routed to Kura once a ready Kura server mirrors its public URL into account_cache_endpoints. We need an operational escape hatch for accounts that should keep using the existing cache path even if they have a Kura server available.

Impact

Operators can enable :kura_cache_opt_out for a specific account in FunWithFlags. The Kura UI and provisioning flag remains separate, so this only affects which cache endpoint the CLI receives.

Validation

  • git diff --check -- server/lib/tuist/accounts.ex server/lib/tuist/feature_flags.ex server/test/tuist/accounts_test.exs
  • Started mix test test/tuist/accounts_test.exs, but it was interrupted before completion while preparing the PR.
Flights

Investigate, reproduce, or fix this item in an isolated repository. Each Flight preserves its outcome and agent session.

New Flights are paused Configure model inference, GitHub, and a sandbox provider to start another Flight. Existing results remain available below.
No Flights yet

Start a Flight and preserve its objective, outcome, and session here.

Comments
TA
tuist-atlas[bot] Jun 10, 2026

The changes from this pull request are now available in version xcresult-processor-image@0.14.0. Update to this version to use the :kura_cache_opt_out account-level feature flag.

TA
tuist-atlas[bot] Jun 10, 2026

The feature to allow accounts to opt out of Kura cache is now available. Update to server@1.208.0 to use it.