Repository navigation
Commit 429b8c1
yggdrasil-engine: Add version 2.0.0 (#2814)
* yggdrasil-engine: Add version 2.0.0
Signed-off-by: riseproject-dev[bot] <330740410+riseproject-dev[bot]@users.noreply.github.com>
* yggdrasil-engine: carry forward riscv64 patches to 2.0.0
Nightly version bump omitted the patches/yggdrasil-engine/<version> directory for
2.0.0, so the build's unconditional `git apply .../*.patch` step
failed with "No such file or directory" before any build/test ran.
Copied forward the same patch set from 1.3.1 (unchanged since then).
* yggdrasil-engine: update smoke test for 2.0.0 is_enabled API
yggdrasil-engine 2.0.0 changed UnleashEngine.is_enabled from returning
Optional[bool] (None for a toggle missing from the engine state) to
returning a FeatureToggle. An unknown toggle without a fallback now
yields is_enabled=False, is_found=False, and FeatureToggle.__bool__
raises TypeError, so both `is True` and `is None` checks failed.
Check .is_enabled/.is_found on 2.x (mirroring upstream's
test_is_enabled_reports_not_found_when_toggle_missing_without_fallback)
and keep the old True/None checks for 1.x rebuilds.
---------
Signed-off-by: riseproject-dev[bot] <330740410+riseproject-dev[bot]@users.noreply.github.com>
Co-authored-by: riseproject-dev[bot] <330740410+riseproject-dev[bot]@users.noreply.github.com>
Co-authored-by: Ludovic Henry <git@ludovic.dev>1 parent 67f196b commit 429b8c1
3 files changed
Lines changed: 62 additions & 2 deletions
File tree
- .github/workflows
- docs/packages
- patches/yggdrasil-engine/2.0.0
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
169 | 174 | | |
170 | 175 | | |
171 | 176 | | |
| 177 | + | |
172 | 178 | | |
173 | 179 | | |
174 | 180 | | |
175 | 181 | | |
176 | | - | |
177 | | - | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
178 | 190 | | |
179 | 191 | | |
180 | 192 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
0 commit comments