Commit 975a9d4
committed
feat(meta): expose effective experimental flag state and show it in Lab
GET /meta flattened flags to booleans, so the web Lab tab could not tell
a saved setting from an environment override: the switch showed the
config value while the runtime used something else.
- FlagService.explain() now carries externallyControlled (source is env
or master-env) and overridden (a saved value exists and differs from
the effective value); both decided in core, never inferred by a UI.
- GET /meta adds experimental_flag_states beside the boolean map.
- The web client maps them, keeps them in workspace state, exposes
experimentalFlagState(id), and the Lab rows show "Environment
controlled" and "Saved setting overridden" chips independently.
- klient flags contract mirrors the two new fields.1 parent ebcb414 commit 975a9d4
115 files changed
Lines changed: 629 additions & 254 deletions
File tree
- .changeset
- apps
- pythinker-code/dist-web
- assets
- pythinker-web
- src
- api
- daemon
- components/settings
- composables
- client
- i18n/locales/en
- test
- packages
- agent-core-v2
- src/app/flag
- test/app/flag
- agent-gateway
- src
- protocol
- routes
- test
- klient/src/contract/global
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments