Skip to content

fix(kiloclaw): remove iad from default Fly region list#1131

Open
kilo-code-bot[bot] wants to merge 1 commit intomainfrom
remove-iad-from-fly-region-v2
Open

fix(kiloclaw): remove iad from default Fly region list#1131
kilo-code-bot[bot] wants to merge 1 commit intomainfrom
remove-iad-from-fly-region-v2

Conversation

@kilo-code-bot
Copy link
Contributor

@kilo-code-bot kilo-code-bot bot commented Mar 16, 2026

Summary

Remove iad (Ashburn, VA) from the default Fly region list in KiloClaw. This updates the DEFAULT_FLY_REGION constant in kiloclaw/src/config.ts from dfw,ewr,iad,lax,sjc,eu to dfw,ewr,lax,sjc,eu, and updates the corresponding test assertions in kiloclaw/src/durable-objects/kiloclaw-instance.test.ts to match.

Verification

  • pnpm test -- --run — all 664 tests pass across 36 test files
  • Manual review: only iad references in region lists were removed; standalone region: 'iad' values in test fixtures (machine/volume mocks) were intentionally left unchanged as they represent individual region assignments, not the default region list

Visual Changes

N/A

Reviewer Notes

The test file contains many region: 'iad' references for individual machine/volume fixtures — these are arbitrary region values and are unrelated to the default region list. Only the FLY_REGION env var string and the sorted region array assertions (3 occurrences in 412 insufficient-resources recovery tests) were updated.

Built for Florian by Kilo for Slack

* Callers shuffle before selecting so order here doesn't matter.
* ord omitted due to provisioning issues. */
export const DEFAULT_FLY_REGION = 'dfw,ewr,iad,lax,sjc,eu';
export const DEFAULT_FLY_REGION = 'dfw,ewr,lax,sjc,eu';
Copy link
Contributor Author

Choose a reason for hiding this comment

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

WARNING: This fallback no longer matches the checked-in worker config

kiloclaw/wrangler.jsonc still sets FLY_REGION to dfw,ewr,iad,lax,sjc,eu, and the provisioning code prefers env.FLY_REGION over DEFAULT_FLY_REGION. In any environment that uses that config, iad will still be selected and this change will have no effect.

@kilo-code-bot
Copy link
Contributor Author

kilo-code-bot bot commented Mar 16, 2026

Code Review Summary

Status: 1 Issues Found | Recommendation: Address before merge

Overview

Severity Count
CRITICAL 0
WARNING 1
SUGGESTION 0

Fix these issues in Kilo Cloud

Issue Details (click to expand)

CRITICAL

File Line Issue

WARNING

File Line Issue
kiloclaw/src/config.ts 43 Removing iad from DEFAULT_FLY_REGION does not change effective behavior while kiloclaw/wrangler.jsonc still overrides FLY_REGION with the old value.
Other Observations (not in diff)

Issues found in unchanged code that cannot receive inline comments:

File Line Issue
kiloclaw/wrangler.jsonc 73 The checked-in worker config still sets FLY_REGION to dfw,ewr,iad,lax,sjc,eu, so environments using this file will continue provisioning in iad.
Files Reviewed (2 files)
  • kiloclaw/src/config.ts - 1 issue
  • kiloclaw/src/durable-objects/kiloclaw-instance.test.ts - 0 issues

Reviewed by gpt-5.4-20260305 · 468,172 tokens

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.

0 participants