Skip to content

fix: parse username/workspace correctly on coder state push --build #10974

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 1 commit into from
Dec 4, 2023

Conversation

spikecurtis
Copy link
Contributor

Fixes the same issue as #10884 but for state push

Copy link
Contributor Author


t.Run("OtherUserBuild", func(t *testing.T) {
t.Parallel()
client := coderdtest.New(t, &coderdtest.Options{IncludeProvisionerDaemon: true})
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note that we need the provisionerd since the command does a new build unlike for pull tests

@spikecurtis spikecurtis requested a review from johnstcn December 1, 2023 07:36
@spikecurtis spikecurtis force-pushed the spike/10884-state-pull branch from 5eff582 to 32d6651 Compare December 1, 2023 08:02
@spikecurtis spikecurtis force-pushed the spike/coder-state-push-build branch from efca6d4 to c693551 Compare December 1, 2023 08:02
Base automatically changed from spike/10884-state-pull to main December 1, 2023 09:03
Copy link
Contributor Author

spikecurtis commented Dec 1, 2023

Merge activity

  • Dec 1, 7:38 AM: Graphite rebased this pull request as part of a merge.
  • Dec 1, 7:44 AM: Graphite couldn't merge this PR because it was not satisfying all requirements.

@spikecurtis spikecurtis force-pushed the spike/coder-state-push-build branch from c693551 to 6d6f730 Compare December 1, 2023 12:38
@spikecurtis spikecurtis merged commit 0536b58 into main Dec 4, 2023
@spikecurtis spikecurtis deleted the spike/coder-state-push-build branch December 4, 2023 05:58
@github-actions github-actions bot locked and limited conversation to collaborators Dec 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants