Repository navigation
Bound external catalog cross-match with a hard timeout - #41
Merged
Merged
Conversation
Gaia launch_job_async polls the ESA job queue with no upper bound and the pyvo-backed SIMBAD query ignores TIMEOUT, so a slow service froze the job until the SSE stream's 10-minute safety valve fired. Run the catalog queries concurrently under a 30 s wall-clock budget, switch Gaia to a synchronous job, and report late sources as errors so the verdict stands. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0117Lzq78TmMPd1FXyxq2SXF
Owner
Author
|
Backend tests: 83 passed, 1 failed. The failure, Generated by Claude Code |
eagnespuerto
marked this pull request as ready for review
October 10, 2026 10:05
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Fetch & vet froze at "External catalog cross-match" and later ended with "stream timed out".
Gaia.launch_job_asyncpolls the ESA job queue with no time limit.TIMEOUT.Fix (
backend/app/pipeline.py, mirrored inpios/vetstar_pi/pipeline.py)CROSSMATCH_TIMEOUT_S). The exoplanets.org fallback gets the same budget.{"error": "timed out after 30s"}, and the verdict is left as it was.launch_job. The query is a single-row cone search._query_gaia_dr3and_query_simbad.Testing
🤖 Generated with Claude Code
https://claude.ai/code/session_0117Lzq78TmMPd1FXyxq2SXF
Generated by Claude Code