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

Unleash / unleash / 26842743641
87%
master: 91%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 02 Jun 2026 07:31PM UTC
Jobs 1
Files 1183
Run time 2min
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

02 Jun 2026 07:23PM UTC coverage: 87.158% (+0.02%) from 87.138%
26842743641

push

github

web-flow
feat: add Sunset feature flag type (#12157)

## About the changes
Adds a new "Sunset" feature flag type to help teams gradually reduce a
feature's exposure and remove it from the codebase. It has a **default
lifetime of 90 days**, after which flags of this type are marked
potentially stale to prompt cleanup.

[Screencast from 2026-06-02
12-40-44.webm](https://github.com/user-attachments/assets/bd576004-3572-4e0e-a9d9-733cfc6c0515)

### Changes made
Backend:
- Migration seeds the `sunset` type into `feature_types` (90-day
lifetime). The existing potentially-stale logic picks up the lifetime
automatically, so no service changes are needed.
- Add `sunset` to the `type` enum in create/update feature request
schemas; without this, creating a sunset flag failed OpenAPI validation
("must be equal to one of the allowed values").

Frontend:
- Add the `SUNSET` constant and map it to `TrendingDownIcon` in
getFeatureTypeIcons.
- Add `sunset` to the generated create/update feature schema models to
keep them in sync with the spec.

Tests:
- New e2e assertion verifying the Sunset type exists with a 90-day
lifetime, plus updated flag-type count assertions and the property-based
flag-type generator.

### Discussion points
90 days might not be the right lifetime for a sunset flag. In some cases
it will probably need to stay around longer, and other times you might
want to remove a feature more aggressivly.

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>

1861 of 2056 branches covered (90.52%)

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

1 existing line in 1 file now uncovered.

15169 of 17404 relevant lines covered (87.16%)

898.01 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
89.58
-2.08% src/lib/features/frontend-api/client-feature-toggle-read-model.ts
Jobs
ID Job ID Ran Files Coverage
1 26842743641.1 02 Jun 2026 07:31PM UTC 1183
87.16
GitHub Action Run
Source Files on build 26842743641
  • Tree
  • List 1183
  • Changed 5
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #26842743641
  • 2e5a55b4 on github
  • Prev Build on main (#26839770333)
  • Next Build on main (#26843690892)
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