Skip to content

Release sync imports issues linked via non-closing magic words, attaching unfinished parents #129

Closed as not planned

Description

@virafb

When sync resolves a PR reference, it attaches every issue the GitHub
integration has linked to that PR — per the note in #41, the PR number is
matched on the API side.

That resolution does not distinguish closing links from non-closing ones.
Linear's GitHub docs define ref, refs, references, part of,
contributes to, toward and towards as non-closing, and their documented
meaning is "this PR does not complete this issue". In practice those are the
words teams use to cite a parent issue from a child's PR, so the resolution
preferentially imports issues that are unfinished by design.

At completion, rollover then moves those imported parents onto a fresh started
release. We believe this is the unnamed cause behind the rollover surprises
reported in #110 and linear-release-action#49.

Repro

Observed on linear-release v0.16.0.

  1. ABC-123 is open and has sub-issues.
  2. A PR delivering one sub-issue ends its body with Part of ABC-123.
  3. Merge it, then run sync over the range.
  4. ABC-123 attaches to the release exactly as a closing-linked issue would.

Suggestion

Respect the link type during PR resolution, or add an input (e.g.
link_types: closing) so membership can exclude non-closing links.

Activity

  1. linear-code commented on Aug 22, 2026

    @linear-code
    Contributor
  2. added
    bug
    on Aug 22, 2026
  3. RomainCscn commented on Aug 25, 2026

    @RomainCscn
    Collaborator

    This is working as designed. Non-closing link types control whether merging a PR changes the issue’s status; they do not mean the PR contains no work for that issue. Release sync includes both closing and contributing links so releases reflect all issues that received shipped work, while excluding other references such as links.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

GitHubRelease CLIbug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions