You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reviewed 2026-07-11. The region list is now available two ways: the
generated types from #737, and — for a live check in tests — mudflaps
serves GET /v1/platform/regions (a representative Fly region list).
Context
Semantic lint rules for the Fly lexicon so obvious mistakes fail at chant build, not at apply.
Mirror the gcp/aws lexicon rule catalogs. See #736 for the decisions log.
Sane guest sizing — cpu_kind (shared/performance), cpu count, and memory_mb must be
a valid combination per Fly's guest presets.
Mount references a declared volume — every machine mounts[].volume must resolve to a Volume in the stack (cross-file rule).
No secret literals — flag secret values written inline in config; they belong in secrets
(apply-only, D7) or a reference.
Wire via lintRules() / declarativeRules() on the plugin. Give each rule a stable ID/catalog
entry; follow the audit-rule-metadata direction in #687. Tier 1 completeness (#737's chant dev check-lexicon) requires ≥1 lint rule, so this is also what clears that gate.
Where it lives
lexicons/fly/src/lint/rules/ (mirror lexicons/gcp/src/lint/rules/); register on the plugin
from #737.
Activity
fly: semantic lint rules + cross-file mount↔volume check (#742) (#758)