Skip to content

Comments

fix: harden Railway relay auth, caching, and proxy routing#320

Merged
koala73 merged 1 commit intomainfrom
codex/relay-hardening-auth-metrics
Feb 24, 2026
Merged

fix: harden Railway relay auth, caching, and proxy routing#320
koala73 merged 1 commit intomainfrom
codex/relay-hardening-auth-metrics

Conversation

@koala73
Copy link
Owner

@koala73 koala73 commented Feb 24, 2026

Summary

  • Hardens AIS relay script (scripts/ais-relay.cjs) with improved auth, caching, backpressure, and routing logic
  • Adds new Vercel API proxy endpoints: api/ais-snapshot.js, api/opensky.js, api/polymarket.js
  • Improves api/rss-proxy.js with expanded allowed domains and error handling
  • Updates server handlers (get-vessel-snapshot, get-theater-posture, list-military-flights) with relay-aware routing
  • Updates maritime, military-flights, and prediction services for relay compatibility
  • Adds docs/RELAY_PARAMETERS.md documenting relay configuration
  • Adds relay-related env vars to .env.example

Test plan

  • AIS relay connects and proxies vessel data correctly
  • New API proxy endpoints (/api/ais-snapshot, /api/opensky, /api/polymarket) return data
  • RSS proxy handles expanded domain allowlist
  • Maritime and military flight services work with relay routing
  • Prediction service functions with updated relay paths

@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@vercel
Copy link

vercel bot commented Feb 24, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
worldmonitor Ready Ready Preview, Comment Feb 24, 2026 3:16pm
worldmonitor-finance Ready Ready Preview, Comment Feb 24, 2026 3:16pm
worldmonitor-happy Ready Ready Preview, Comment Feb 24, 2026 3:16pm
worldmonitor-startup Ready Ready Preview, Comment Feb 24, 2026 3:16pm

Request Review

@koala73 koala73 merged commit fe882f9 into main Feb 24, 2026
6 checks passed
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