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: force task to be created with latest version#19923

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
BrunoQuaresma merged 3 commits intomainfrombq/force-latest-template-version
Sep 24, 2025

Conversation

BrunoQuaresma
Copy link
Collaborator

Fixes#19744

@BrunoQuaresmaBrunoQuaresma requested review froma team andaslilac and removed request fora teamSeptember 23, 2025 14:15
returna.Name.localeCompare(b.Name);
}

// TODO: Enforce task creation to always use the latest active template version.
Copy link
Member

Choose a reason for hiding this comment

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

nit: this is rather FIXME than TODO :P

Copy link
CollaboratorAuthor

Choose a reason for hiding this comment

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

IsFIXME a valid thing? 👀

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, we have a lot of fixmes in our codebase :)

PS. nit-pick!

});

awaitstep("Uses latest template version",()=>{
expect(API.experimental.createTask).toHaveBeenCalledWith(
Copy link
Member

Choose a reason for hiding this comment

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

Correct me if I'm wrong, but since this is a story not a unit test, you shouldn't assert API calls on that level?

Can we convert it to jest test instead?

Copy link
CollaboratorAuthor

Choose a reason for hiding this comment

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

We’re using Storybook as our main testing tool. At some point, Jest will only be used for testing functions or other non-component-related code. Kayla did an awesome L&L yesterday about the FE state—I’m just trying to grab the link to share here.

Copy link
Member

Choose a reason for hiding this comment

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

Ok, TIL!

});

awaitstep("Uses latest template version",()=>{
expect(API.experimental.createTask).toHaveBeenCalledWith(
Copy link
Member

Choose a reason for hiding this comment

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

Ok, TIL!

returna.Name.localeCompare(b.Name);
}

// TODO: Enforce task creation to always use the latest active template version.
Copy link
Member

Choose a reason for hiding this comment

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

Yeah, we have a lot of fixmes in our codebase :)

PS. nit-pick!

@BrunoQuaresmaBrunoQuaresma merged commit5ff503b intomainSep 24, 2025
32 checks passed
@BrunoQuaresmaBrunoQuaresma deleted the bq/force-latest-template-version branchSeptember 24, 2025 16:23
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsSep 24, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@mtojekmtojekmtojek approved these changes

@aslilacaslilacAwaiting requested review from aslilacaslilac was automatically assigned from coder/ts

@ParkreinerParkreinerAwaiting requested review from ParkreinerParkreiner is a code owner

Assignees

@BrunoQuaresmaBrunoQuaresma

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

bug: tasks: new tasks created with outdated template version
2 participants
@BrunoQuaresma@mtojek

[8]ページ先頭

©2009-2025 Movatter.jp