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

lsm / HyperNeo / 30775840023 / 1
83%
dev: 83%

Build:
DEFAULT BRANCH: dev
Ran 03 Aug 2026 01:04AM UTC
Files 371
Run time 12s
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

03 Aug 2026 01:01AM UTC coverage: 21.01% (+0.004%) from 21.006%
30775840023.1

push

github

web-flow
refactor(space): consolidate rate/usage-limited paused-status predicate (#2317)

* refactor(space): consolidate rate/usage-limited paused-status predicate

Introduce isRateOrUsageLimited() in shared/types/space-utils.ts as the single
source of truth for "is this task paused on a rate/usage cap?" and route every
duplicated `status === 'rate_limited' || status === 'usage_limited'` check
through it: processRunTick guard, concurrency-slot count, validateTaskAllowsSpawn,
isLimited / restoreTaskFromRateLimit / parentLimited, isWorkflowRecoveryTransition,
isActionRequired, isActiveTaskStatus, dependency-cancel, stopActiveWork,
auto-clear-restrictions, and shouldStopWorkflowForStatus.

Adding or removing a paused status is now a one-line edit every consumer picks
up in lockstep. Semantics unchanged; the kind-discriminating checks in
markTaskRateLimited (which need usage-vs-rate, not whether) stay inline.

* test(space): enforce ALL_SPACE_TASK_STATUSES exhaustiveness at compile time

Address review P2 on #2317: the test fixture was a hand-maintained
SpaceTaskStatus[], so a future status added to the union would be silently
omitted and the "exhaustive" filter assertion would pass without covering it.
Switch to `as const satisfies readonly SpaceTaskStatus[]` and add a
bidirectional exhaustiveness assertion that turns a missing union member into a
typecheck error (true not assignable to never) — the guarantee the task's
"add a status → all sites pick it up" verification criterion needs.

25480 of 121273 relevant lines covered (21.01%)

11.44 hits per line

Source Files on job daemon-online-agent-sdk - 30775840023.1
  • Tree
  • List 371
  • Changed 9
  • Source Changed 9
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 30775840023
  • 4e16732e on github
  • Prev Job for on dev (#30775615293.11)
  • Next Job for on dev (#30776677727.17)
  • 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