Copy the fast-track label from an issue to its PR

Open
#155 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
65/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
github, python
Domain
devtools

Research direction

Start by locating the swarm launcher, swarm tools, and the fill and label checks that process PRs and their linked issues. Trace how each recognizes issues named in a PR’s “Fixes” text, then add the requested test with a fast-track issue and an unlabeled PR. Done means the PR receives fast-track when opened and drift is corrected on later passes.

Written by the indexing model from the issue text.

Description

Problem

When a worker PR is opened for an issue that has the fast-track label, the PR doesn't get the label. The fill's pick order reads fast-track from the PR card, so a fast-tracked issue's PR is sorted like any other PR.

Seen on 2026-11-19: platform issue tangentcode/platform#590 has bug and fast-track, but its PR tangentcode/platform#591 (draft, "Fixes #590") had no labels. MethBot added the label to #591 by hand at 11:30 AM ET.

Michal opened #590 through minbot with custom instructions to skip Triage. Even so, the tools should copy the label no matter how the issue was opened.

Wanted

  • Whenever a draft PR is opened for an issue, including by the swarm launcher or by any bot via the swarm tools, copy the fast-track label from the issue(s) it says it Fixes.
  • On every pass, the fill and the label checks should also fix drift: if any issue a PR Fixes has fast-track, the PR gets it too. That covers a label added to the issue after the PR was opened.
  • Add a test with an issue that has fast-track and its PR that doesn't, and check that the PR ends up with the label.
Dominant language
Python
Stars
3
Forks
0
Avg merge
5h 57m
Merged PRs (30d)
60

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from tangentcode/tangentswarm

All issues in tangentcode/tangentswarm

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.