This repository was archived by the owner on Aug 1, 2025. It is now read-only.
Commit 3a69a5b
Fix auto-edit enrolment issue caused by config propagation bug (#8140)
There was a bug in `affectsConfiguration`. We are looking for a key in
the section (not the other way). This PR fixes that. It likely fixes
some other config propagation / sync issues. In particular, it makes
auto-edits available just after the enrolment.
## Test plan
Tested manually. Sadly, auto-edit case needs some code tweaks.
You can checkout my other branch based on this one that provides the
necessary functionalities:
[[DO NOT MERGE] Auto-edit enrol
testing](https://github.com/sourcegraph/cody/pull/8141#top)
<!-- Required. See
https://docs-legacy.sourcegraph.com/dev/background-information/testing_principles.
-->
---------
Co-authored-by: Tom Ross <tom@umpox.com>1 parent dc5b6d3 commit 3a69a5b
5 files changed
Lines changed: 23 additions & 78 deletions
File tree
- agent
- recordings/autocomplete_2136217965
- src
- __snapshots__
- vscode/src/autoedits
Lines changed: 14 additions & 60 deletions
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 | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 5 | + | |
18 | 6 | | |
19 | 7 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
116 | 121 | | |
117 | 122 | | |
118 | 123 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
| 183 | + | |
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
| |||
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
42 | | - | |
43 | 41 | | |
44 | | - | |
| 42 | + | |
45 | 43 | | |
46 | 44 | | |
47 | 45 | | |
| |||
0 commit comments