Skip to content

fix(azure): reuse retail rate cache in pilot admission - #366

Merged
ruby-dlee merged 1 commit into
mainfrom
codex/azure-price-cache-hotfix
Aug 27, 2026
Merged

fix(azure): reuse retail rate cache in pilot admission#366
ruby-dlee merged 1 commit into
mainfrom
codex/azure-price-cache-hotfix

Conversation

@ruby-dlee

Copy link
Copy Markdown
Owner

Summary

  • route pilot retail-rate admission through the worker provider exact-meter cache owner
  • use fresh cached rates without a network call and stale validated rates when the retail API is throttled
  • fail closed for absent or malformed cache entries when the live rate is unavailable
  • skip the supervisor lookup for the foundation profile, where no supervisor is created

Verification

  • bash tests/fm-azure-pilot.test.sh
  • bash tests/fm-worker-lifecycle.test.sh
  • shellcheck bin/fm-azure-pilot.sh
  • python3 -m py_compile bin/fm-azure-worker-provider.py
  • git diff --check

@ruby-dlee
ruby-dlee merged commit 15d3580 into main Aug 27, 2026
11 of 12 checks passed
@ruby-dlee
ruby-dlee deleted the codex/azure-price-cache-hotfix branch August 27, 2026 02:30
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.

1 participant