fix(holocron): public API connection status and deploy gates#97
Merged
Conversation
Harden ci_warm_trask_embed cache probe and attempts validation; grant build-and-test actions: write so Actions cache can save FastEmbed/Chroma.
Use /projects, /faq, and /formats instead of hash anchors to match openkotor/site routing.
Holocron browser MCP 5/5 on :4010 with fresh threads; refresh evidence and mark pass-5 plan completed after PR #96 merge.
…ealth The qa-webui was stuck on Dispatching because trask-worker proxied to an HF Space in ERROR (503) with no UI feedback. Add upstream health probing on the worker, structured API errors, a Holocron backend status banner, bounded retry failure messages, BASE_URL-safe assets, Spark stub for Pages builds, and CI scripts that block deploy when /healthz or /api/trask/ask are unhealthy.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Strip spaced markdown links and images from visible answer text while preserving [n] markers, move trailing numbered bibliography into the Sources panel when the model omits a heading, and tighten compose-side markdown cleanup in grounded-evidence.
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.
Summary
trask-workerproxies toopenkotor-holocron-trask-http.hf.space, which is in HF Space ERROR →/api/trask/*returns 503. Holocron retried silently and stayed on “Dispatching”./healthznow probes upstream; failed upstream returns structured JSON on/api/trask/*(upstream URL, status, hint).TraskBackendStatusbanner, research-step Connection error / Retrying lines, fail after 8 attempts with a clear assistant error.holocron-artifact.pngadded underpublic/holocron/withBASE_URL-aware paths; Spark stub whenENABLE_SPARK=0(fixes/_spark/loaded405 noise).scripts/check_trask_public_api.shgates Pages deploy and post worker deploy.Ops to restore production (after merge)
workflow_dispatchuntil stageRUNNING.CLOUDFLARE_*secrets +TRASK_RESEARCHWIZARD_BASE_URL).check_trask_public_api.shpasses.Test plan
pnpm checkpnpm --dir infra/trask-worker run buildpnpm --filter @openkotor/holocron-web buildTRASK_API_BASE=https://trask-worker.bocloud.workers.dev bash scripts/check_trask_public_api.sh