Skip to content

fix(dev): wait for /api/health/ready before reporting local-start ready - #1020

Merged
fstagni merged 2 commits into
DIRACGrid:mainfrom
mmascher:fix/1015-local-start-ready-probe
Aug 25, 2026
Merged

fix(dev): wait for /api/health/ready before reporting local-start ready#1020
fstagni merged 2 commits into
DIRACGrid:mainfrom
mmascher:fix/1015-local-start-ready-probe

Conversation

@mmascher

@mmascher mmascher commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • make local-start poll GET /api/health/ready with wget
  • keep startup gating in run_local.sh aligned with readiness semantics

Closes #1015

Copilot AI lite review requested due to automatic review settings August 24, 2026 15:37

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates local-start to wait for /api/health/ready before reporting startup readiness.

Changes:

  • Adds readiness polling for the health endpoint.
  • Replaces the Uvicorn liveness check with readiness gating.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread run_local.sh Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@mmascher mmascher changed the title fix: wait for /api/health/ready before reporting local-start ready fix(dev): wait for /api/health/ready before reporting local-start ready Aug 24, 2026
@mmascher
mmascher requested a review from chaen August 24, 2026 15:50
@mmascher mmascher self-assigned this Aug 24, 2026
@fstagni
fstagni merged commit fcb2649 into DIRACGrid:main Aug 25, 2026
35 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.

[Bug]: OIDC discovery endpoint can return 503 while latest_revision cache is not ready

3 participants