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

palcarazm / component-lifecycle / 24313597690
100%

Build:
DEFAULT BRANCH: develop
Ran 12 Apr 2026 06:38PM UTC
Jobs 2
Files 2
Run time 1min
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

12 Apr 2026 06:37PM UTC coverage: 100.0%. Remained the same
24313597690

push

github

palcarazm
feat: make lifecycle hooks async with cancellation support

Convert all lifecycle hooks (doInit, doAttach, doDispose, doDestroy)
from synchronous void to async Promise<{ cancelled: boolean,
reason?: string }> to enable asynchronous validation and operations.

Changes:
- transitionTo() now async and awaits hook results before state change
- Hooks returning { cancelled: true } prevent state transition and
  event emission
- Errors in hooks propagate and fail the transition
- Public methods (init, attach, dispose, destroy) now async: Promise<void>
- Full test coverage for cancellation and error propagation paths

Breaking change: All lifecycle methods now return Promise requiring
await at call sites.

Implements #9

23 of 23 branches covered (100.0%)

Branch coverage included in aggregate %.

24 of 24 new or added lines in 1 file covered. (100.0%)

61 of 61 relevant lines covered (100.0%)

57.64 hits per line

Jobs
ID Job ID Ran Files Coverage
1 coverage-report-24.x - 24313597690.1 12 Apr 2026 06:38PM UTC 4
100.0
GitHub Action Run
2 coverage-report-22.x - 24313597690.2 12 Apr 2026 06:38PM UTC 4
100.0
GitHub Action Run
Source Files on build 24313597690
  • Tree
  • List 2
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #24313597690
  • d3051cf5 on github
  • Prev Build on develop (#24305349931)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc