Skip to content

fix(probes): align private rendezvous health fallback contract - #27

Draft
zoeyrose wants to merge 1 commit into
mainfrom
fix/issue-26-rendezvous-fallback
Draft

fix(probes): align private rendezvous health fallback contract#27
zoeyrose wants to merge 1 commit into
mainfrom
fix/issue-26-rendezvous-fallback

Conversation

@zoeyrose

Copy link
Copy Markdown
Member

Summary

Align Observatory with the metaserver rendezvous-health v1 fallback contract and keep private-source failures diagnosable without exposing private response bodies.

Implementation / behavior

  • Accept versioned no_usable_observation responses with reason: malformed_observation as Unknown observations, while retaining no_observation.
  • Persist the normalized fallback reason and accept it when reading stored observations.
  • Classify a non-JSON response Content-Type as source_invalid_headers and bounded JSON/UTF-8/schema failures as source_invalid_payload; retain fail-closed unauthorized/unavailable handling.
  • Keep diagnostics bounded and free of rendezvous identifiers, tokens, or raw source payloads.
  • Add synchronized producer-contract fixtures and tests for fresh evidence without a canary, malformed/stale/no-observation fallbacks, unauthorized/unavailable responses, malformed headers/content, and privacy.

Validation

  • npm run check
  • npm run build
  • npm run deploy:dry-run
  • Focused Observatory and metaserver contract tests plus final complete-diff review.

Limitations / follow-up

Production deployment and verification of the next scheduled observation require maintainer/operator approval and the configured Cloudflare bindings. This delivery does not mutate production state.

Closes #26

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 27, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
atrinik-observatory-probes-preview f0dd038 Aug 27 2026, 07:51 AM

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying atrinik-observatory with  Cloudflare Pages  Cloudflare Pages

Latest commit: f0dd038
Status: ✅  Deploy successful!
Preview URL: https://255d0d7f.atrinik-observatory.pages.dev
Branch Preview URL: https://fix-issue-26-rendezvous-fall.atrinik-observatory.pages.dev

View logs

@zoeyrose zoeyrose moved this to Review in Atrinik work Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Review

Development

Successfully merging this pull request may close these issues.

fix(probes): align private rendezvous health fallback contract

1 participant