• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lsm / HyperNeo / 30664503433 / 13
83%
dev: 83%

Build:
DEFAULT BRANCH: dev
Ran 31 Jul 2026 08:55PM UTC
Files 370
Run time 14s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

31 Jul 2026 08:52PM UTC coverage: 32.532% (-0.1%) from 32.641%
30664503433.13

push

github

web-flow
refactor(space): make task lifecycle the only external-event delivery gate (#2289)

* refactor(space): make task lifecycle the only external-event delivery gate

External-event delivery previously mixed three concerns: subscription
lifetime, workflow-run execution-attempt status, and target availability.
That caused subscribed events to disappear when a run finished, rejected a
blocked run with no execution as run_not_externally_deliverable, and
prevented a PR CI check_failed from reactivating accepted work after the
run/session ended.

Refactor so the owning task is the only lifecycle authority:

- Add prepareExternalEventTask: the single task-owned decision used by fresh
  matches, queued flushes, activation/session retries, rate-limit digests,
  and requeue sweeps. cancelled/archived tasks fail as target_task_terminal;
  a done task fails non-reactivating events the same way but reactivates
  (recoverWorkflowBackedTask) for a normalized GitHub PR check_failed.
- Remove run-status delivery gates (isExternallyDeliverableRun,
  run_not_externally_deliverable, blocked_run_gate_not_opened). Run status
  never vetoes a task-owned event; a blocked run or missing execution is an
  availability condition, not a failure.
- Detach subscription lifetime from run completion: terminal run transitions
  and executor cleanup no longer clear PR auto-subscriptions. Cleanup is
  task-owned (cancelled/archived task) and space-owned (archive/delete),
  wired via the space.task.updated onTaskUpdated callback and bus subscriber.
- Rebuild task-owned PR subscriptions for any eligible task (including done)
  on tick sweep, rehydrate, and space resume, before pending-delivery replay.
- Add a synchronous evaluateRequeueTaskLifecycle so restart/resume sweeps
  terminalize deliveries for cancelled/archived/done tasks immediately
  instead of leaving them pending; reactive check failures still requeue.

Update focused tests to the task-owned model (cancelled/blocked/done runs
n... (continued)

37631 of 115674 relevant lines covered (32.53%)

16.13 hits per line

Source Files on job daemon-0-shared-handlers-workflow - 30664503433.13
  • Tree
  • List 370
  • Changed 6
  • Source Changed 4
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 30664503433
  • 0d7befb1 on github
  • Prev Job for on dev (#30661975200.20)
  • Next Job for on dev (#30679141221.15)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc