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

coderd/database: GetProvisionerJobsByIDsWithQueuePosition should take tags into account #15843

Open
Assignees
evgeniy-scherbina
Labels
need-backendIssues that need backend work
@johnstcn

Description

@johnstcn
          We'll need to amend this to take into account matching tags. Queue position could be 1/3 for the provisioners that match, but 20/50 on a larger scale (but that's nonsensical). Do we have an issue that tracks this?

Originally posted by@mafredri in#15835 (comment)

GetProvisionerJobsByIDsWithQueuePosition currently calculates queue position regardless of tag set. We should calculate queue position separately for each tag set in this query.

Note: this gets slightly more complex when we also take into account that tag sets are equivalent regardless of ordering (e.g.{"foo":"1", "bar":"2"} is equivalent to{"bar":"2", "foo":"1"}.

Metadata

Metadata

Labels

need-backendIssues that need backend work

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp