Skip to content

πŸ› fix: limit contributor promotion searches per sweep - #15125

Merged
hivecommons-hive[bot] merged 1 commit into
v6from
hive/adopt-15090
Oct 28, 2026
Merged

hivecommons-hive[bot] merged 1 commit into
v6from
hive/adopt-15090

Conversation

@hivecommons-hive

Copy link
Copy Markdown
Contributor

Supersedes #15090 (adopted after CI went red and the contributor was unavailable; original commits by @Karibhou preserved).

Fixes #15088

This branch is #15090's head 2d184d968980 as pushed by @Karibhou (fork Karibhou/hive), unchanged. Last lane reason on the original: contributor-lane:claim-tier-untrusted.

Hive fix agent: rebase this branch on v6, fix the failing checks / review asks, and push to THIS branch. Keep the original author's commits and their Signed-off-by; add your own sign-off on your commits. Do not open another PR.

Hive-Run: #15088
Hive-Plan: contributor-lane auto-promotion search reduction
Hive-Spec: issue-15088#acceptance-criteria
Co-authored-by: Danathar <6772335+Danathar@users.noreply.github.com>
Signed-off-by: Karibhou <157208370+Karibhou@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 28, 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 danathar 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/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Oct 28, 2026
@github-actions

github-actions Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Open PR overlap check

Base branch: v6

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

No conflicting open PRs or same-file overlaps were found.

@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 stage/060-reviewed Review swarm verdict approve; a gate is still pending (CI running, soak not started) and removed stage/050-review-pending Review swarm requested; awaiting a verdict for the current head labels Oct 28, 2026
@hivecommons-hive
hivecommons-hive Bot merged commit 215ded4 into v6 Oct 28, 2026
160 of 169 checks passed
@kubestellar-prow
kubestellar-prow Bot deleted the hive/adopt-15090 branch October 28, 2026 22:25
@hivecommons-hive

Copy link
Copy Markdown
Contributor Author
Evidence bundle `#151252d184d9` sha256:a92d310a9fbe26d3e80869200922597acde65c8dfdf9adeaac2490bd2e0a718d β€” download from the dashboard or `hivectl review evidence #15125`.

@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/060-reviewed Review swarm verdict approve; a gate is still pending (CI running, soak not started) labels Oct 28, 2026
hivecommons-hive Bot pushed a commit that referenced this pull request Oct 29, 2026
…15371)

#15125 memoized contributorMergedRepos within one sweep and skipped bot
authors. A human author outside the registry was still searched again on
every sweep, 3-4 search/issues calls per author on a 19-repo hive, even
after they had passed auto-promotion.

The per-author answer (which active repositories hold a merge by them) is
now kept on the Engine for an hour, keyed by the active-repository set. A
failed search is kept for 15 minutes, so a secondary rate limit is not
re-tripped every sweep; the PR's own repository is counted alone meanwhile,
as before. The per-sweep context cache is subsumed and removed.

Only the list is cached. The PR's own repository and every listed one are
still walked fresh each sweep for clean merges and revert/sentinel
evidence, so a stale list can only leave out a repository the author first
merged into within the hour.

Refs #15088



Claude-Session: https://claude.ai/code/session_01BQYnPGFJx81c8JXR3o1sg1

Signed-off-by: Danathar <Danathar@users.noreply.github.com>
Co-authored-by: Danathar <Danathar@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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 copilot dco All commits are DCO signed-off dco-signoff: yes Indicates the PR's author has signed the DCO. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant