Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: update dbgen and dbfake task creation and toolsdk test fixtures#20508

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
mafredri merged 2 commits intomainfrommafredri/fix-toolsdk-task-testdata
Oct 28, 2025

Conversation

@mafredri
Copy link
Member

@mafredrimafredriforce-pushed themafredri/fix-toolsdk-task-testdata branch from673cd3e to3c5414dCompareOctober 27, 2025 22:46
@mafredrimafredriforce-pushed themafredri/fix-toolsdk-task-testdata branch from3c5414d to96a15edCompareOctober 27, 2025 22:46
@mafredrimafredri marked this pull request as ready for reviewOctober 27, 2025 22:49
require.Fail(b.t,"task already has a workspace id, mismatch",task.WorkspaceID.UUID,b.ws.ID)
}
}elseiferrors.Is(err,sql.ErrNoRows) {
task:=dbgen.Task(b.t,b.db,b.taskSeed)
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm curious about this. Do we do this in the real workspace builder? If not, what's the motivation for it here?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Not exactly but also yes. Logically it would make sense to create a TaskBuilder that can take a WorkspaceBuildBuilder and call.Do on it.

When we create a task we do so in a transaction which first creates the workspace, then the task, and then the workspace build. But workspace creation by itself never creates a task.

@mafredrimafredri merged commita1fa58a intomainOct 28, 2025
30 checks passed
@mafredrimafredri deleted the mafredri/fix-toolsdk-task-testdata branchOctober 28, 2025 12:16
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsOct 28, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@johnstcnjohnstcnjohnstcn approved these changes

@DanielleMaywoodDanielleMaywoodDanielleMaywood approved these changes

Assignees

@mafredrimafredri

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

flake: TestTools/DeleteTask/NoTaskByWorkspaceIdentifier

4 participants

@mafredri@johnstcn@DanielleMaywood

[8]ページ先頭

©2009-2025 Movatter.jp