Repository navigation
Commit c48ac56
committed
test(dte): make the saved-false projection answer a real edit, and stop promising an in-chat control
The description of settings.experimental.DYNAMIC_THINKING_EFFORT promised a manual
in-chat control that this PR does not ship. The second sentence is dropped from every
locale file that carries the key (all 18), so the copy fix is locale-complete: the
first sentence and the (experimental) tag stay. check-translations runs
node scripts/find-missing-translations.js, which checks key parity rather than prose,
and that script exits 0 in this tree with these files in place.
ClineProvider.spec.ts: the saved-false getStateToPostToWebview test now stores a
second enabled experiment next to the false flag, so a projection that fell back to
experimentDefault whenever the flag was false can no longer pass while discarding an
enabled experiment.
SettingsView.spec.tsx: the toggle test asserts that no updateSettings message reaches
the extension host before Save, and a new test hydrates an explicit false and edits a
different experiment, so the save payload has to carry the hydrated false back.
Gate accounting: packageForPath() in scripts/stryker-diff.mjs returns null for
webview-ui/src/i18n/locales/en/settings.json (a .json path) and for every path in this
commit that is a test file, so the mutation-diff leg charges 0 changed lines for it,
even though executableChangedLines() counts 957 executable lines in the en locale file
alone (of 1,127 total). A null package cancels that leg; it does not make these paths
green.
This answers the copy ask. It does not implement the control: implementing the in-chat
control is the charged route (webview-ui/**/*.tsx maps to the webview package), which
is the route the blocker accounting priced. Copy here is documentation, not the control.1 parent dadac92 commit c48ac56
20 files changed
Lines changed: 68 additions & 19 deletions
File tree
- src/core/webview/__tests__
- webview-ui/src
- components/settings/__tests__
- i18n/locales
- ca
- de
- en
- es
- fr
- hi
- id
- it
- ja
- ko
- nl
- pl
- pt-BR
- ru
- tr
- vi
- zh-CN
- zh-TW
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4213 | 4213 | | |
4214 | 4214 | | |
4215 | 4215 | | |
| 4216 | + | |
| 4217 | + | |
| 4218 | + | |
| 4219 | + | |
4216 | 4220 | | |
4217 | 4221 | | |
| 4222 | + | |
4218 | 4223 | | |
4219 | 4224 | | |
4220 | 4225 | | |
4221 | 4226 | | |
4222 | 4227 | | |
4223 | | - | |
| 4228 | + | |
| 4229 | + | |
| 4230 | + | |
| 4231 | + | |
| 4232 | + | |
4224 | 4233 | | |
4225 | 4234 | | |
4226 | 4235 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
893 | 893 | | |
894 | 894 | | |
895 | 895 | | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
896 | 899 | | |
897 | 900 | | |
898 | 901 | | |
| |||
925 | 928 | | |
926 | 929 | | |
927 | 930 | | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
| 943 | + | |
| 944 | + | |
| 945 | + | |
| 946 | + | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
928 | 968 | | |
929 | 969 | | |
930 | 970 | | |
| |||
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.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
993 | 993 | | |
994 | 994 | | |
995 | 995 | | |
996 | | - | |
| 996 | + | |
997 | 997 | | |
998 | 998 | | |
999 | 999 | | |
| |||
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.
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.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments