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

Unleash / unleash / 15436347120
86%
master: 91%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 04 Jun 2025 07:39AM UTC
Jobs 1
Files 1173
Run time 3min
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

04 Jun 2025 07:32AM UTC coverage: 91.461% (-0.01%) from 91.473%
15436347120

push

github

web-flow
feat: make lifecycle trends more detailed (#10079)

## ✨ PR Summary: Update `lifecycle_trends` Table Schema

### ✅ What Changed

- **Updated `stage` column constraint**
- **Old values:** `'initial', 'develop', 'production', 'cleanup',
'archived'`
- **New values:** `'initial', 'pre-live', 'live', 'completed',
'archived'`

- **Replaced `flag_type` CHECK constraint with a foreign key**
  - Removed hardcoded values: `'experimental', 'release', 'permanent'`
  - Added foreign key:
    ```sql
FOREIGN KEY (flag_type) REFERENCES feature_types(id) ON DELETE CASCADE
    ```

- **Added down migration** to:
  - Restore original `stage` constraint
- Drop the foreign key on `flag_type` and re-add the original CHECK
constraint

### 💡 Why

- Align `stage` values with lifecycle model
- Use the `feature_types` table to ensure referential integrity

7012 of 7061 branches covered (99.31%)

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

25 existing lines in 4 files now uncovered.

66588 of 72805 relevant lines covered (91.46%)

432.08 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
4
77.34
-3.13% src/lib/features/playground/feature-evaluator/constraint.ts
6
51.15
-1.15% src/lib/services/email-service.ts
7
85.71
0.1% src/lib/features/events/event-store.ts
8
95.68
-0.07% src/lib/addons/feature-event-formatter-md.ts
Jobs
ID Job ID Ran Files Coverage
1 15436347120.1 04 Jun 2025 07:39AM UTC 1173
91.46
GitHub Action Run
Source Files on build 15436347120
  • Tree
  • List 1173
  • Changed 8
  • Source Changed 6
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #15436347120
  • cf87f8cf on github
  • Prev Build on main (#15435923840)
  • Next Build on main (#15436863699)
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