Skip to content

upstream-apply-changelog: dedupe handoffs by drift key across releases #17856

Closed

Description

@kyle-sexton

No related issue: hub ledger L776 pattern 2 (intake scan 2026-11-18, .work/github-work/issue-scan/host-scan.md:475-476).

Problem

The changelog lane refiles the same native-drift row every release. Its handoff key holds the release range (.github/scripts/upstream-apply-changelog/upstream-apply-changelog.mjs:28, KEY = /^changelog:[0-9.]+\.\.[0-9.]+:.../), and fileReleaseHandoffs dedupes only inside that release's own issue. The row Drift key: native-drift:inventory-broken:unknown:inventory is open in #14843, #15693, #16035, #16982, #17375, #17555 and #17837. The changelog skill's own drift-key dedupe (plugins/harness-ops/skills/changelog native-drift.md, "Dedupe by key") is not used by the CI lane.

Done when

  • A release run whose handoff carries a Drift key: line already present on an open issue does not file that handoff again, and its log names the open issue
  • A test in which two releases produce the same drift key ends with one open issue holding it

Activity

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

    @github-actions
    Contributor

    Size: Small
    Complexity: Medium
    Uncertainty: Known
    Flags: none
    Blocked by: none
    Blast radius: the upstream-apply-changelog CI script and its tests; maintainers who read the per-release handoff issues.
    Reversible: yes; revert the script change.
    Open questions: none
    Understood: the changelog lane's handoff key includes the release range, so the same Drift key: row is refiled on every release (open in #14843, #15693, #16035, #16982, #17375, #17555, #17837). The request is to skip a handoff whose drift key is already on an open issue, log that issue, and add a test with two releases sharing a key. The done-when is exact. I found no open duplicate or merged fix.

    Automated triage. A maintainer reviews it.

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

    @melodic-automation-lanes
    Contributor

    {"v":1,"actor_id":337595936,"title_sha256":"18d2242eec01fa010cf3427949b54c7ffa60f547abee22c98207afe346cc6175","body_sha256":"b3f82426af51e1086fe7aa1b70a72bf0bf97bea54cd471a59260a9f3cd11dc39"}

  5. melodic-automation-lanes commented on Nov 21, 2026

    @melodic-automation-lanes
    Contributor

    {"v":1,"actor_id":337595936,"title_sha256":"18d2242eec01fa010cf3427949b54c7ffa60f547abee22c98207afe346cc6175","body_sha256":"b3f82426af51e1086fe7aa1b70a72bf0bf97bea54cd471a59260a9f3cd11dc39"}

  6. github-actions commented on Nov 21, 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