Skip to content

Gate helper ingest on stale local chain status#378

Merged
p0mvn merged 1 commit into
mainfrom
zca-643-helper-liveness-main
Jun 5, 2026
Merged

Gate helper ingest on stale local chain status#378
p0mvn merged 1 commit into
mainfrom
zca-643-helper-liveness-main

Conversation

@p0mvn
Copy link
Copy Markdown
Contributor

@p0mvn p0mvn commented Jun 5, 2026

Summary

  • add a local Comet /status liveness check in app and gate helper ingest endpoints when no block has been produced for over 3 minutes
  • return 503 from gated helper ingest endpoints (shares, share-status, status, queue-status) while keeping queue-summary available for diagnostics
  • add helper/api tests for ingress gating plus app unit tests for fresh/stale/error Comet status handling, and add an Unreleased changelog entry

Test plan

  • go test ./internal/helper
  • go test ./app -run "LocalNodeProducedRecently|Upgrade" (blocked in this environment: missing local shielded_vote_circuits native libs)

Block helper ingest endpoints with 503 when local Comet status shows no recent blocks for 3 minutes, while keeping queue-summary available for diagnostics.
@p0mvn p0mvn merged commit e01463a into main Jun 5, 2026
10 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