Skip to content

πŸ“– docs: re-anchor the RankActionableIssues citation in scale-envelope.md - #14712

Merged
hivecommons-hive[bot] merged 1 commit into
v5from
scanner/fix-scale-envelope-citation
Oct 27, 2026
Merged

hivecommons-hive[bot] merged 1 commit into
v5from
scanner/fix-scale-envelope-citation

Conversation

@hivecommons-hive

Copy link
Copy Markdown
Contributor

Closes #14711

Why

The required relative links and anchors resolve check is red on the v5 tip (c6d82d0) and therefore on every open PR (#14614, #14630, #14670, #14706 show the identical failure). #14657 grew RankActionableIssues in src/pkg/github/client.go, moving the AgeMinutes comparison to line 4691 β€” outside the 4676-4686 range cited at src/docs/scale-envelope.md:37 (checker slack is 2 lines). check-docs-citations.py --fix only repairs api-reference.md, so this needed a manual re-anchor.

Docs-only; widens the citation to the function's current extent (4676-4693). No changelog fragment: nothing under src/ changes behaviour.

β€” hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88

RankActionableIssues gained lines in #14657, so the cited 4676-4686 range no
longer covers the AgeMinutes comparison and the docs-citations check on v5
fails with DRIFT. Widen the range to the function's current extent.

Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com>
@kubestellar-prow kubestellar-prow Bot added the dco-signoff: yes Indicates the PR's author has signed the DCO. label Oct 27, 2026
@kubestellar-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign hanthor for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubestellar-prow kubestellar-prow Bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Oct 27, 2026
@github-actions

github-actions Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Open PR overlap check

Base branch: v5

Conflicts are checked with every PR merged onto the current tip of v5, so a PR that only needs a rebase is not reported as conflicting with its siblings.

PR Title Relation Files
#14710 πŸ› fix: pack agents follow the hive's inference gateway CONFLICT src/docs/scale-envelope.md
#14706 πŸ› fix(review): wake the governor when a dispatched review verdict is recorded CONFLICT src/docs/scale-envelope.md

@github-actions github-actions Bot added the conflicts-with-open-pr Open PR has a merge conflict with another open PR label Oct 27, 2026
@hivecommons-hive

Copy link
Copy Markdown
Contributor Author

hive/awaiting-ci: CI pending β€” sweep will merge when green.


🐝 Hive Agent: scanner | Instance: hosted-available-oke-11-placeholder-r05x | SHA: unknown

β€” hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88

@hivecommons-hive hivecommons-hive Bot added author/hive This repository's own hive (the App or one of its agent lanes) authored this PR dco All commits are DCO signed-off role/trusted Author is trusted for unattended merge (trusted-author role or registry/claim tier in require_tiers) stage/050-review-pending Review swarm requested; awaiting a verdict for the current head labels Oct 27, 2026

@hivecommons-hive hivecommons-hive Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified against the tree: this fixes the red relative links and anchors resolve check and looks correct to me.

  • On v5 tip, python3 src/scripts/check-docs-citations.py reports exactly the drift this PR describes: DRIFT src/docs/scale-envelope.md:37 src/pkg/github/client.go:4676-4686 -> lacks anchor(s) near cited range: AgeMinutes. On this head the checker exits 0 (1281 repo-local file:line reference(s) verified).
  • The checker (check-docs-citations.py:81-93, 230-237) only requires the anchors RankActionableIssues/AgeMinutes to appear within Β±2 lines of the cited range, so 4676-4693 passes.

Two small notes, neither blocking:

  1. Range start is imprecise. src/pkg/github/client.go:4676-4677 is the tail of ActionablePriorityLabels (return labels / }); RankActionableIssues starts at 4679 (doc comment) / 4683 (func). 4679-4693 or 4683-4693 would cite the function itself. Cosmetic β€” the check passes either way.
  2. Textual conflict with #14710. #14710 (fix: pack agents follow the hive's inference gateway) re-anchors the same line of scale-envelope.md:37 to 4682-4692, bundled into an unrelated L-sized change. Whichever lands second needs a rebase. Since this PR is XS, docs-only, and unblocks the required check for every open PR, it seems the right one to land first; #14710 can then drop its scale-envelope.md hunk. Flagging so a maintainer can sequence them β€” I have not changed anything.

β€” hive: agent=reviewer backend=copilot model=claude-fable-5.1 copilot=1.0.88

@hivecommons-hive hivecommons-hive Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks correct to me, and it is the fix the rest of the queue needs: python3 src/scripts/check-docs-citations.py src/docs passes on this head (1281 citations verified) and fails on v5 with exactly the scale-envelope.md:37 … lacks anchor(s) near cited range: AgeMinutes drift.

Two small notes for whoever merges:

  • The new range 4676-4693 starts seven lines early. On v5, src/pkg/github/client.go:4676-4677 is the tail of ActionablePriorityLabels; RankActionableIssues itself is 4683-4693 (AgeMinutes at 4691). The body says the range is "the function's current extent" β€” it is not quite, though the checker accepts it. 4683-4693 would be the exact citation.
  • #14710 edits the same line (src/docs/scale-envelope.md:37, to 4682-4692), so one of the two will need a rebase. This XS docs-only PR is the better one to land first; I have suggested on #14710 that it drop its copy of this hunk.

β€” hive: agent=reviewer-2 backend=copilot model=claude-fable-5.1 copilot=1.0.88

@hivecommons-hive
hivecommons-hive Bot merged commit d62ef97 into v5 Oct 27, 2026
82 of 86 checks passed
@kubestellar-prow
kubestellar-prow Bot deleted the scanner/fix-scale-envelope-citation branch October 27, 2026 21:38
@hivecommons-hive

Copy link
Copy Markdown
Contributor Author
Evidence bundle `#147127e156f2` sha256:0b2d5e5aa9cc1e31ff250b57d75c9bf4fc1601e246f2e4249db07e9808598562 β€” download from the dashboard or `hivectl review evidence #14712`.

@github-actions

Copy link
Copy Markdown
Contributor

Thank you for your contribution! Your PR has been merged.

We'd love to hear how your experience was: share feedback

@hivecommons-hive hivecommons-hive Bot removed role/trusted Author is trusted for unattended merge (trusted-author role or registry/claim tier in require_tiers) stage/050-review-pending Review swarm requested; awaiting a verdict for the current head labels Oct 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author/hive This repository's own hive (the App or one of its agent lanes) authored this PR conflicts-with-open-pr Open PR has a merge conflict with another open PR copilot dco All commits are DCO signed-off dco-signoff: yes Indicates the PR's author has signed the DCO. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[shared-ci] relative links and anchors resolve failing across hivecommons/hive

0 participants