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

Unleash / unleash / 17297670396
86%
master: 91%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 28 Aug 2025 01:47PM UTC
Jobs 1
Files 1191
Run time 4min
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

28 Aug 2025 01:41PM UTC coverage: 91.296% (-0.3%) from 91.559%
17297670396

push

github

web-flow
chore(AI): etagByEnv flag cleanup (#10560)

This PR cleans up the etagByEnv flag. These changes were automatically
generated by AI and should be reviewed carefully.

Fixes #10556

## 🧹 AI Flag Cleanup Summary
This change removes the `etagByEnv` feature flag and makes its
functionality
permanent. This modifies the ETag generation for client API requests to
be
environment-specific, improving caching efficiency. The cleanup involved
removing the flag definition, updating the controller logic to
permanently use
the environment-specific ETag calculation, and refactoring the
corresponding E2E
tests to only cover the enabled behavior.
### 🚮 Removed
- **Flag Definition**
- The `etagByEnv` flag from `IFlagKey` in
`src/lib/types/experimental.ts`.
- **Conditional Logic**
- The check for the `etagByEnv` flag in `calculateMeta` method in

`src/lib/features/client-feature-toggles/client-feature-toggle.controller.ts`.
- **Tests**
- Test cases in `src/test/e2e/api/client/feature.optimal304.e2e.test.ts`
that
covered the disabled state of the `etagByEnv` flag.
### 🛠 Kept
- **Environment-Specific ETags**
- The behavior of generating environment-specific ETags is now the
default and
only behavior.
- **Tests**
- E2E tests verifying the functionality of environment-specific ETags
have
been retained and simplified.
### 📝 Why
The `etagByEnv` feature has been successfully rolled out and validated.
By
removing the feature flag and associated conditional logic, we simplify
the
codebase, reduce complexity, and make it easier to maintain. This change
makes
the improved ETag generation strategy a permanent part of the system.

---------

Co-authored-by: unleash-bot <194219037+unleash-bot[bot]@users.noreply.github.com>
Co-authored-by: Gastón Fournier <gaston@getunleash.io>

7116 of 7168 branches covered (99.27%)

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

196 existing lines in 6 files now uncovered.

67402 of 73828 relevant lines covered (91.3%)

432.69 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
5
78.13
-2.34% src/lib/features/playground/feature-evaluator/constraint.ts
5
89.29
-5.95% src/lib/features/segment/segment-read-model.ts
16
84.84
-3.37% src/lib/features/events/event-store.ts
27
90.0
-8.71% src/lib/features/client-feature-toggles/client-feature-toggle.controller.ts
32
66.67
-15.92% src/lib/features/client-feature-toggles/delta/client-feature-toggle-delta-read-model.ts
111
49.65
-38.81% src/lib/features/client-feature-toggles/delta/client-feature-toggle-delta.ts
Jobs
ID Job ID Ran Files Coverage
1 17297670396.1 28 Aug 2025 01:47PM UTC 1191
91.3
GitHub Action Run
Source Files on build 17297670396
  • Tree
  • List 1191
  • Changed 7
  • Source Changed 2
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #17297670396
  • 3e4edfbf on github
  • Prev Build on main (#17296209389)
  • Next Build on main (#17308103642)
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