Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coder settings are not taken into account #40

Closed
fioan89 opened this issue Mar 20, 2025 · 0 comments · Fixed by #41
Closed

Coder settings are not taken into account #40

fioan89 opened this issue Mar 20, 2025 · 0 comments · Fixed by #41

Comments

@fioan89
Copy link
Collaborator

fioan89 commented Mar 20, 2025

We have this page that allows various configuration while in the code there are many settings remnant from Coder Gateway plugin. We should be revisited and removed all unused settings.

Image

Image

@matifali matifali added this to the v0.1.0 milestone Mar 26, 2025
fioan89 added a commit that referenced this issue Mar 26, 2025
- too much confusion around CoderSettings, CoderSettingsState, CoderSettingsService
- lots of properties and some models were introduced only to inject data during tests
- test related properties were leaking in the business code and there was no clear definition
  between the readable and writable interface
- with this commit we have CoderSettingsStore exposing read+write, CoderSettings exposing reads + PluginSettingsStore the underlying persistable store
- the tests control data via an instance of PluginSettingsStore just like the business code
- two settings are now also exposed and configurable in the UI (previously only from tests):
  - ssh log dir
  - ssh extra arguments to the proxy command
- resolves #40
- some of the options that did not make sense to be configurable and were only used in the tests were removed:
  - setupCommand
  - ignoreSetupFailures
- these two are Gateway specific
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants