Skip to content

chore: cherry-pick commits for 2.18.1 #15885

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

Merged
merged 9 commits into from
Dec 16, 2024
Merged

chore: cherry-pick commits for 2.18.1 #15885

merged 9 commits into from
Dec 16, 2024

Conversation

stirby
Copy link
Collaborator

@stirby stirby commented Dec 16, 2024

No description provided.

johnstcn and others added 9 commits December 11, 2024 18:45
… with variables (#15800)

- adds support for dynamic default values in coder_parameter data source

(cherry picked from commit 7dc3ad9)
when creating a headless user, the linked documentation sent users to
the `Disable password auth` page, instead of the headless user
documentation. this PR corrects the typescript.

(cherry picked from commit 104898a)
…15643)

Follow-up from #15578

Extracts `provisionerdserver.StaleInterval` and sets it to 90 seconds by
default

(cherry picked from commit ef09b51)
…5682)

* Modifies `MatchedProvisioners` response of `codersdk.TemplateVersion`
to be a pointer
* CLI now checks for absence of `*MatchedProvisioners` before showing
warning regarding provisioners
* Extracts logic for warning about provisioners to a function
* Improves test coverage for CLI template push with
`coder_workspace_tags`.

(cherry picked from commit 3014713)
…ces (#15688)

- Refactors `checkProvisioners` into `db2sdk.MatchedProvisioners`
- Adds a separate RBAC subject just for reading provisioner daemons
- Adds matched provisioners information to additional endpoints relating to
  workspace builds and templates
-Updates existing unit tests for above endpoints
-Adds API endpoint for matched provisioners of template dry-run job
-Updates CLI to show warning when creating/starting/stopping/deleting
 workspaces for which no provisoners are available

---------

Co-authored-by: Danny Kopping <danny@coder.com>
(cherry picked from commit 2b57dcc)
This PR fixes some faulty frontend logic that was introduced in #15686

(cherry picked from commit 0e98c0e)
)

When creating, starting, stopping or otherwise mutating a workspace, we
used to erroneously and briefly display a provisioner health warning
alert. This PR updates the component to only display this warning if the
build is pending, not "starting" or any other state that means a
provisioner has already acquired the job.

(cherry picked from commit b5ba3e3)
@stirby stirby changed the title Patch 2.18.1 chore: cherry-picks for 2.18.1 Dec 16, 2024
@stirby stirby changed the title chore: cherry-picks for 2.18.1 chore: cherry-pick commits for 2.18.1 Dec 16, 2024
@stirby stirby merged commit 765d99c into release/2.18 Dec 16, 2024
35 of 37 checks passed
@stirby stirby deleted the patch-2.18.1 branch December 16, 2024 19:49
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 this pull request may close these issues.

5 participants