Skip to content

fix(intake): carry host-run to split parts and refuse a split no part can build #16503

Closed

Description

@kyle-sexton

When intake splits a large issue into parts, the parts lose the parent's host-run label. The split can also file parts none of which builds the thing the other parts check, so the issue lane picks up a part it cannot do.

Problem

#16437 carries host-run. Its refinement split it into #16438, #16439 and #16441 (.github/scripts/intake-triage/refine.mjs:1042 files each part with only a title, body and type). None of the three parts carried host-run, so the issue lane took #16438 and #16439.

The parts' done-when items only check properties of the two new hook plugins: "plugin-diagnostics launches node only through node-or-skip", "Neither unit's hooks reference another plugin's files". No part has the work of creating those plugins. On 2026-11-16 at 04:45Z the lane stopped on #16439 as intent-change, because plugins/plugin-diagnostics/ did not exist (#16439 (comment)). The container's owner session then labeled the parts by hand and cancelled run 43805081102 on #16438.

Fix

In .github/scripts/intake-triage/refine.mjs, where a part is filed:

  1. Copy the parent's routing labels to each part, at least host-run. Whether a part can run unattended is the parent's call unless the split states otherwise.
  2. Before filing, check that each part's done-when either creates what it names or follows (after part N) a part that creates it. A part whose done-when only checks a file, plugin or unit that no earlier part creates and main does not hold is not filed; the refinement returns that as a split defect instead.

Done when

  • A test splits a host-run parent and every filed part carries host-run.
  • A test splits a parent where part 2 checks a plugin no part creates, and the refinement reports the defect without filing the parts.
  • A test where part 1 creates the plugin and part 2 is after part 1 files both parts.
  • The existing refine tests still pass.

Related

Activity

  1. added
    needs-triage
    on Nov 16, 2026
  2. github-actions commented on Nov 16, 2026

    @github-actions
    Contributor

    Size: Small
    Complexity: Medium
    Uncertainty: Known
    Flags: none
    Blocked by: none

    Understood: when intake refinement splits a large issue, the parts should inherit the parent's routing labels (at least host-run). Refinement should also refuse to file a split where a part's done-when only checks something that no earlier part creates and main does not hold, and report a split defect instead. The fix is in .github/scripts/intake-triage/refine.mjs, with three new tests plus the existing refine tests passing.

    The done-when items are concrete and lane-checkable. No missing information. No duplicate or merged fix found among open issues or recent merged PRs. #16437, #16438, #16439 and #16441 are the split that exposed the gaps.

    Automated triage. A maintainer reviews it.

  3. removed
    needs-triage
    on Nov 16, 2026
  4. melodic-automation-lanes commented on Nov 16, 2026

    @melodic-automation-lanes
    Contributor

    {"v":1,"actor_id":337595936,"title_sha256":"d4e2339ffed62b37ba161c96789339d37d216c4ba0ba9b4d6885ce6ab0f22425","body_sha256":"672932b78767105134e8b1c724a251a51e6ca1514a3f624284eabadc1f4cba09"}

  5. github-actions commented on Nov 16, 2026

    @github-actions
    Contributor
    No description provided.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    Work status

    needs-triage

    Priority

    medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions