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

Unleash / unleash / 21675442268
86%
master: 91%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 04 Feb 2026 02:39PM UTC
Jobs 1
Files 1137
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

04 Feb 2026 02:31PM UTC coverage: 86.294% (+0.07%) from 86.227%
21675442268

push

github

web-flow
fix: 304 updates when non-environment events change a flag (#11282)

## About the changes

This PR fixes a regression introduced in **v7.2** where
**non-environment changes** that still affect the **environment-scoped
feature payload** were not propagated to polling clients.

In v7.2, the revision / ETag calculation was tightened to be
environment-aware. However, some changes that are *not explicitly scoped
to an environment* (e.g. archive, move feature, parent flag changes,
impression data updates) still affect the features returned for a given
environment. Because these changes did **not update the environment
revision**, polling clients would keep serving stale data indefinitely.

This PR updates the revision calculation to ensure that **any change
that affects the environment response also bumps the environment
revision**, allowing polling clients to detect and fetch updates
correctly.

This restores the behavior observed in v7.0–7.1.x, while keeping the
environment-scoped revision model introduced in v7.2.

Closes #11281


## Discussion points

- Tests were not capturing these issue because they're validating the
syntax of the ETag, not the semantics of the response. We'll adapt them
in a follow-up PR to make them more robust.

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

1697 of 1907 branches covered (88.99%)

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

1 existing line in 1 file now uncovered.

14317 of 16591 relevant lines covered (86.29%)

870.46 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
85.94
-0.78% src/lib/services/api-token-service.ts
Jobs
ID Job ID Ran Files Coverage
1 21675442268.1 04 Feb 2026 02:39PM UTC 1137
86.29
GitHub Action Run
Source Files on build 21675442268
  • Tree
  • List 1137
  • Changed 7
  • Source Changed 1
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #21675442268
  • b6aa6820 on github
  • Prev Build on main (#21666052204)
  • Next Build on main (#21676701558)
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