fix(config): user-agent properly shows ci#3754
Conversation
|
@wraithgar can we also write an E2E/smoke test that ensures this is sent to the registry properly when running a command w/ |
54087b0 to
0de45b8
Compare
|
As long as we still send a valid |
|
Good point, the env one should ... probably be flattened? |
i verified with |
added a smoke test, it's a bit hacky but it gets the job done! |
nlf
left a comment
There was a problem hiding this comment.
this looks very much correct. smoke test was added too so 👍
The way we were flattening user-agent back into itself meant that any values that were dependent on other config items would never be seen, since we have to re-flatten the item for each one it depends on. We also weren't re-flattening the user-agent when setting workspaces or workspace, which were things that affected the final result. This does change the main config value of `user-agent` but not the flattened one. We are not using the main config value anywhere (which is correct). PR-URL: #3754 Credit: @wraithgar Close: #3754 Reviewed-by: @nlf
39b3ba2 to
b4aac34
Compare
The way we were flattening user-agent back into itself meant that any
values that were dependent on other config items would never be seen,
since we have to re-flatten the item for each one it depends on.
We also weren't re-flattening the user-agent when setting workspaces or
workspace, which were things that affected the final result.
This does change the main config value of
user-agentbut not theflattened one. We are not using the main config value anywhere (which
is correct).