Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
155 commits
Select commit Hold shift + click to select a range
3fcb10f
πŸ› agents: Copilot CLI ET_EXEC binary fails with ENOEXEC on kernel 6.1…
clubanderson Nov 11, 2026
2764dbc
πŸ”– release: v5.221.0
actions-user Nov 11, 2026
89f017f
Merge pull request #17749 from hivecommons/release-gate/v5.221.0
clubanderson Nov 11, 2026
a285b50
fix: warn once per agent about user identity in agent gitconfig (#17742)
hivecommons-hive[bot] Nov 11, 2026
c95518e
πŸ› fix: name ENOEXEC instead of dumping binary stderr in model discove…
hivecommons-hive[bot] Nov 11, 2026
583934a
✨ crux: Substrate as the 4th sandbox runtime (opt-in, preflight-gated…
clubanderson Nov 11, 2026
7880201
πŸ“– docs: ADR-0026 phase 2 β€” Agent Substrate runtime operator and deplo…
clubanderson Nov 11, 2026
f0b35eb
πŸ”– release: v5.221.1
actions-user Nov 11, 2026
ba6238c
Merge pull request #17771 from hivecommons/release-gate/v5.221.1
clubanderson Nov 11, 2026
2105318
fix: stop read-only lanes retrying hive:unauthorized label removal (#…
hivecommons-hive[bot] Nov 11, 2026
82f51ef
fix: reconcile and expire effect-ledger ops stuck in Unknown (#17746)
hivecommons-hive[bot] Nov 11, 2026
e019da8
πŸ› fix: guard nil config in stageEngineOptions before reading Workflow…
hivecommons-hive[bot] Nov 11, 2026
1c10569
πŸ› Skip archived repositories during GFI curation (#17739)
Karibhou Nov 11, 2026
7f6670c
πŸ”– release: v5.222.0
actions-user Nov 11, 2026
67de132
Merge pull request #17781 from hivecommons/release-gate/v5.222.0
clubanderson Nov 11, 2026
68eb32b
πŸ› marketplace: resume CNCF catalogue seeding across hub restarts and …
clubanderson Nov 11, 2026
8c66527
πŸ› fix: bound consecutive stale-snapshot drops in the status builder (…
hivecommons-hive[bot] Nov 11, 2026
2939b0e
πŸ› fix: log Prow ok-to-test rejection at WARN only when first noted (#…
hivecommons-hive[bot] Nov 11, 2026
faec2aa
✨ crux: Substrate preflight prover (operator, CRDs, gVisor RuntimeCla…
clubanderson Nov 11, 2026
e8f0a2e
πŸ› fix: openshell sandbox names and driver_config fit gateway 0.1.8 li…
clubanderson Nov 11, 2026
aaa7412
πŸ”– release: v5.222.1
actions-user Nov 11, 2026
bcaecd1
Merge pull request #17792 from hivecommons/release-gate/v5.222.1
clubanderson Nov 11, 2026
e0e9c0c
πŸ› marketplace: stream repository tarballs and keep only pipeline file…
clubanderson Nov 11, 2026
b3f5ab4
πŸ› fix: redact proxy userinfo in upstreamproxy URL errors (#17731)
hivecommons-hive[bot] Nov 11, 2026
ed0d01a
✨ benchmarks: per-PR estimated cost in /api/benchmarks/export (#17791)
clubanderson Nov 11, 2026
d8dc1ce
πŸ”– release: v5.223.0
actions-user Nov 11, 2026
2f53b50
✨ marketplace: seed curated models and ship the CNCF TechDocs assessm…
clubanderson Nov 11, 2026
4c69707
Merge pull request #17802 from hivecommons/release-gate/v5.223.0
clubanderson Nov 11, 2026
e8ee5d8
πŸ› fix: classify repeated agent-lifecycle log lines instead of filing …
hivecommons-hive[bot] Nov 11, 2026
6c4620d
πŸ› fix(marketplace): refuse and downgrade model-provenance curated cla…
hivecommons-hive[bot] Nov 11, 2026
1971442
πŸ› fix: hub digest reads a stale stage-tracker body instead of blockin…
hivecommons-hive[bot] Nov 11, 2026
29d8c42
πŸ› fix: log issue-claims GitHub side-effect retries below WARN (#17786)
hivecommons-hive[bot] Nov 11, 2026
c101c91
πŸ› fix: detect orphaned queued workflow runs in automerge held-run res…
hivecommons-hive[bot] Nov 11, 2026
67efaf3
✨ dashboard: surface agent_sandbox.substrate and per-agent sandbox.su…
hivecommons-hive[bot] Nov 11, 2026
0cf675d
πŸ› claude auth: share refreshed logins across per-agent .claude homes …
clubanderson Nov 11, 2026
c4b6a0e
πŸ”– release: v5.224.0
actions-user Nov 12, 2026
37f64c3
✨ hub: per-cluster host_aliases for hosted hives (#17805)
clubanderson Nov 12, 2026
b2c806b
Merge pull request #17811 from hivecommons/release-gate/v5.224.0
clubanderson Nov 12, 2026
51e8db9
πŸ› fix: count PR author's own sign-off after a hive rebase; no decisio…
hivecommons-hive[bot] Nov 12, 2026
ffb6885
✨ dashboard: render Substrate preflight warnings on the agent card (#…
hivecommons-hive[bot] Nov 12, 2026
0917022
πŸ› fix: dedupe repeated undelivered review kick warning (#17755)
hivecommons-hive[bot] Nov 12, 2026
fd0ec44
πŸ› fix: cache app_keys_held key fingerprints so heartbeat collect stay…
hivecommons-hive[bot] Nov 12, 2026
34cbb4f
πŸ”– release: v5.225.0
actions-user Nov 12, 2026
6482f7b
Merge pull request #17816 from hivecommons/release-gate/v5.225.0
clubanderson Nov 12, 2026
b111d7b
πŸ› fix(marketplace): restrict spoke-triggered ?repo= refresh to tracke…
hivecommons-hive[bot] Nov 12, 2026
9be929f
πŸ”– release: v5.226.0
actions-user Nov 12, 2026
ae868dc
Merge pull request #17826 from hivecommons/release-gate/v5.226.0
clubanderson Nov 12, 2026
e06e1b6
πŸ”’ substratebridge: refuse tar entries that write through symlinks on …
hivecommons-hive[bot] Nov 12, 2026
6fedca0
✨ dashboard: show substrate kicks and stream bridge output in the ter…
hivecommons-hive[bot] Nov 12, 2026
9761595
πŸ› Mark hive's in-cluster k8s API dials so the egress redirect never M…
clubanderson Nov 12, 2026
5a590d4
πŸ› hub: stop flagging off-cadence and scheduled agents as idle-with-wo…
clubanderson Nov 12, 2026
10b5bcc
πŸ› fix: use unique temp files when persisting hive and reach state (#1…
hivecommons-hive[bot] Nov 12, 2026
da10b78
πŸ› hub heartbeat: back off and classify a permanent 403 rejection (#17…
hivecommons-hive[bot] Nov 12, 2026
3239727
πŸ”– release: v5.227.0
actions-user Nov 12, 2026
af065fa
Merge pull request #17832 from hivecommons/release-gate/v5.227.0
clubanderson Nov 12, 2026
52c64f9
✨ knowledge: Plaud voice notes as a knowledge source (#17821)
clubanderson Nov 12, 2026
365ce45
πŸ› hive: do not gate the dashboard bind on the advisory-issue ensure (…
hivecommons-hive[bot] Nov 12, 2026
17cae39
πŸ”– release: v5.227.1
actions-user Nov 12, 2026
6a7b992
Merge pull request #17834 from hivecommons/release-gate/v5.227.1
clubanderson Nov 12, 2026
106ef30
πŸ› substrate: garbage-collect older suspended kick actors when snapsho…
hivecommons-hive[bot] Nov 12, 2026
a00f319
πŸ› hub: converge startupProbe and init image onto existing hosted depl…
hivecommons-hive[bot] Nov 12, 2026
898150c
πŸ”– release: v5.228.0
actions-user Nov 12, 2026
3f2db8f
Merge pull request #17840 from hivecommons/release-gate/v5.228.0
clubanderson Nov 12, 2026
61fae9c
πŸ› hub: negatively cache rejected bearer tokens; stop re-probing exhau…
clubanderson Nov 12, 2026
17722e1
πŸ› crux serve: count auth-rejected requests in crux.serve.auth.rejecti…
hivecommons-hive[bot] Nov 12, 2026
0d1458e
πŸ”– release: v5.228.1
actions-user Nov 12, 2026
6ba64a6
Merge pull request #17842 from hivecommons/release-gate/v5.228.1
clubanderson Nov 12, 2026
de8d383
fix(hub): bound bearer token validation cache (#17846)
Karibhou Nov 12, 2026
4019513
πŸ”– release: v5.228.2
actions-user Nov 12, 2026
c0fa7a0
Merge pull request #17847 from hivecommons/release-gate/v5.228.2
clubanderson Nov 12, 2026
8262a7b
πŸ”’ knowledge: start the Plaud MCP server with an allowlisted env, not …
hivecommons-hive[bot] Nov 12, 2026
48a4430
πŸ”– release: v5.228.3
actions-user Nov 12, 2026
e0a8a18
Merge pull request #17848 from hivecommons/release-gate/v5.228.3
clubanderson Nov 12, 2026
c6ff24d
πŸ”– release: v5.228.4
actions-user Nov 12, 2026
af0af84
Merge pull request #17849 from hivecommons/release-gate/v5.228.4
clubanderson Nov 12, 2026
53d891c
🌱 images: bump omp 18.18.0 -> 18.19.0 (#17850)
clubanderson Nov 12, 2026
ea88699
πŸ› army: stop attributing adopted PRs to a remote agent's rework queue…
clubanderson Nov 12, 2026
c02c4cc
πŸ› fix: detect missing GitHub App repository coverage (#17733)
Karibhou Nov 12, 2026
48b648f
πŸ”– release: v5.228.5
actions-user Nov 12, 2026
ac0d85c
Merge pull request #17869 from hivecommons/release-gate/v5.228.5
clubanderson Nov 12, 2026
835c1cd
✨ knowledge: Wispr Flow dictation history as a knowledge source (#17855)
clubanderson Nov 12, 2026
efb2a0b
πŸ› fix(agent): replace unopenable pluk session log so the supervisor c…
hivecommons-hive[bot] Nov 12, 2026
d7ada37
πŸ”– release: v5.228.6
actions-user Nov 12, 2026
0fe5db2
Merge pull request #17892 from hivecommons/release-gate/v5.228.6
clubanderson Nov 12, 2026
ccb0bf1
✨ workflows: owner toggle for model-based stage derivation from the d…
clubanderson Nov 12, 2026
4716c47
πŸ”– release: v5.229.0
actions-user Nov 12, 2026
a59e6af
fix: classify plain HTTP proxy forwarding failures (#17864)
Karibhou Nov 12, 2026
2bfebf1
Merge pull request #17894 from hivecommons/release-gate/v5.229.0
clubanderson Nov 12, 2026
f57a834
✨ Inbox: voice recorders as first-class input sources (Plaud β†’ spek R…
clubanderson Nov 12, 2026
1dae54b
πŸ”– release: v5.230.0
actions-user Nov 12, 2026
48c3b4a
Merge pull request #17897 from hivecommons/release-gate/v5.230.0
clubanderson Nov 12, 2026
ea05e12
πŸ› PR comments: overlap/mutation only on a finding, thank first-time c…
clubanderson Nov 12, 2026
05b4c6c
πŸ› fix: atomic runtime config save + fresh legacy fallback (#17862) (#…
clubanderson Nov 12, 2026
3ff4007
πŸ”– release: v5.231.0
actions-user Nov 12, 2026
69ccdef
Merge pull request #17898 from hivecommons/release-gate/v5.231.0
clubanderson Nov 12, 2026
1782cec
πŸ› fix: wait for marketplace refresh completion in auth test (#17868)
Karibhou Nov 12, 2026
e625aee
πŸ”– release: v5.231.1
actions-user Nov 12, 2026
42ef2f0
Merge pull request #17902 from hivecommons/release-gate/v5.231.1
clubanderson Nov 12, 2026
95cfe06
πŸ“– docs: Inbox voice sources page + quickstart link (#17899)
hivecommons-hive[bot] Nov 12, 2026
36943e9
✨ dashboard: Settings β†’ Inbox section (default repo, dibs URL, rules)…
hivecommons-hive[bot] Nov 12, 2026
9c45c48
πŸ”– release: v5.232.0
actions-user Nov 12, 2026
df4d990
Merge pull request #17903 from hivecommons/release-gate/v5.232.0
clubanderson Nov 12, 2026
90b51a6
✨ inbox: Plaud source onto the Source interface (#17900)
hivecommons-hive[bot] Nov 12, 2026
53a5ce0
πŸ”– release: v5.233.0
actions-user Nov 12, 2026
809e941
Merge pull request #17904 from hivecommons/release-gate/v5.233.0
clubanderson Nov 12, 2026
70018a1
πŸ› check-action-pins: only HTTP 404/422 is MISSING-SHA; retry transien…
hivecommons-hive[bot] Nov 12, 2026
bf8d488
πŸ”– release: v5.234.0
actions-user Nov 12, 2026
8e0dc0d
Merge pull request #17907 from hivecommons/release-gate/v5.234.0
clubanderson Nov 12, 2026
710bca7
✨ knowledge: prepare Wispr Flow facts for Inbox (#17891)
Karibhou Nov 12, 2026
43ce61e
πŸ”– release: v5.234.1
actions-user Nov 12, 2026
f3a7bbf
Merge pull request #17909 from hivecommons/release-gate/v5.234.1
clubanderson Nov 12, 2026
fceea22
πŸ”– release: v5.235.0
actions-user Nov 12, 2026
5bf15c8
Merge pull request #17913 from hivecommons/release-gate/v5.235.0
clubanderson Nov 12, 2026
3843015
πŸ› fix: avoid premature eval-cycle test timeout (#17872)
Karibhou Nov 12, 2026
fc9a59b
πŸ› gh-wrapper: let hive-baseline-check.sh's sibling lookup through the…
hivecommons-hive[bot] Nov 12, 2026
76f9e9e
✨ [v5] claude auth: run Claude agents on an operator-supplied long-li…
hivecommons-hive[bot] Nov 12, 2026
b962347
πŸ› fix: hub-signed relay lets hosted spokes verify relayed GitHub webh…
hivecommons-hive[bot] Nov 12, 2026
4e3bbc9
πŸ› Inbox: render the empty state instead of "Loading inbox…" forever (…
clubanderson Nov 12, 2026
be41521
πŸ“– releases: candidate hives follow their stored auto-upgrade cadence …
clubanderson Nov 12, 2026
3b01798
πŸ”– release: v5.235.1
actions-user Nov 12, 2026
a4db2b8
Merge pull request #17930 from hivecommons/release-gate/v5.235.1
clubanderson Nov 12, 2026
c16b027
πŸ”– release: v5.236.0
actions-user Nov 12, 2026
8ffd38b
Merge pull request #17932 from hivecommons/release-gate/v5.236.0
clubanderson Nov 12, 2026
9a41695
πŸ“– docs: ADR-0026 β€” Substrate actors run credential-free; hive brokers…
hivecommons-hive[bot] Nov 12, 2026
d4a1c58
πŸ› Classify missing Dependabot alerts permission (#17929)
Karibhou Nov 12, 2026
1487e96
πŸ”– release: v5.236.1
actions-user Nov 12, 2026
756cce0
Merge pull request #17945 from hivecommons/release-gate/v5.236.1
clubanderson Nov 12, 2026
435c865
πŸ› Handle unsupported signed-commit rewrites explicitly (#17927)
Karibhou Nov 12, 2026
a6c1b36
πŸ› Avoid fleet reports for canceled adoption reads (#17931)
Karibhou Nov 12, 2026
d17359e
πŸ› fix: report transport-level App token mint failures as forge_unreac…
clubanderson Nov 12, 2026
817877e
πŸ”– release: v5.236.2
actions-user Nov 12, 2026
0315653
Merge pull request #17961 from hivecommons/release-gate/v5.236.2
clubanderson Nov 12, 2026
c6c8a0b
πŸ”– release: v5.236.3
actions-user Nov 12, 2026
376054f
Merge pull request #17971 from hivecommons/release-gate/v5.236.3
clubanderson Nov 12, 2026
9dcfab4
πŸ› fix(crux): prepare pluk session log without following planted symli…
hivecommons-hive[bot] Nov 12, 2026
2b94c9f
πŸ”– release: v5.236.4
actions-user Nov 12, 2026
5d26a50
Merge pull request #17977 from hivecommons/release-gate/v5.236.4
clubanderson Nov 12, 2026
01de5d3
πŸ› fix(fleetreport): recognize structured context cancellation (#17937)
Karibhou Nov 12, 2026
dc9ef4a
✨ crux proxy: add OTel metrics and span to inference translator (#17974)
hivecommons-hive[bot] Nov 12, 2026
a3d41aa
πŸ› fix(crux/proxy): make CONNECT-refusal test hermetic (#17981)
hivecommons-hive[bot] Nov 12, 2026
2a74959
πŸ”– release: v5.236.5
actions-user Nov 12, 2026
1d1fce8
Merge pull request #17984 from hivecommons/release-gate/v5.236.5
clubanderson Nov 12, 2026
9a10ac3
πŸ”– release: v5.237.0
actions-user Nov 12, 2026
8fa405f
πŸ› fix(fleetreport): name the prow/lgtm statuses-permission 403 as its…
hivecommons-hive[bot] Nov 12, 2026
09e437c
Merge pull request #17992 from hivecommons/release-gate/v5.237.0
clubanderson Nov 12, 2026
daf7194
fix: avoid fleet reports for canceled stage digest reads (#17946)
Karibhou Nov 12, 2026
803c1b0
πŸ”– release: v5.237.1
actions-user Nov 12, 2026
89a56e9
πŸ› fix(agent): don't WARN-dump the pane when a prompt wait outlasts a …
hivecommons-hive[bot] Nov 12, 2026
3bd6a4e
Merge pull request #17999 from hivecommons/release-gate/v5.237.1
clubanderson Nov 12, 2026
a1292e7
πŸ› fix(review): add review.perspectives_source config and ReviewPerspe…
hivecommons-hive[bot] Nov 12, 2026
c8ff67f
πŸ› Avoid self-reporting intentional signing skips (#17928)
Karibhou Nov 12, 2026
acb8318
πŸ”– release: v5.237.2
actions-user Nov 12, 2026
00f455f
Merge pull request #18001 from hivecommons/release-gate/v5.237.2
clubanderson Nov 12, 2026
4d87440
fix(dashboard): summarize dropped SSE events instead of warning per e…
hivecommons-hive[bot] Nov 12, 2026
eeb1ec9
🌱 Top up v6 with v5 latest (v5.237.2)
clubanderson Nov 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/scripts/integration-governance.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const MAX_COMMITS = 1000;
const MAX_AUTHOR_BATCH = 50;
// This literal is inside the enrolled .github closure. A caller-supplied
// preparedBy.sourceSHA must never choose a new executable verifier tree.
const TRUSTED_SCRIPTS_TREE = '689fea04d4b10295f67b9de708797343938d7e0b';
const TRUSTED_SCRIPTS_TREE = 'f42d6489f036117030057d7ec2e254f58e21a06d';
const SOURCE = 'https://github.com/kubernetes-sigs/kubebuilder-release-tools/tree/012269a88fa4c034a0acf1ba84c26b195c0dbab4';
const sha = value => crypto.createHash('sha256').update(value).digest('hex');
const git = (args, cwd = process.cwd()) =>
Expand Down
27 changes: 21 additions & 6 deletions .github/scripts/pr-overlap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -240,18 +240,33 @@ report_body() {
}
}

# One-line body the existing marker comment is edited to once a PR that had
# overlaps no longer has any. A PR that never had a finding gets no comment
# at all: the full clean report goes to the step summary only (#17863).
resolved_body() {
local base=$1
# shellcheck disable=SC2016 # backticks are literal Markdown
printf '%s\n\n### Open PR overlap check\n\nβœ… Resolved: no conflicting open PRs or same-file overlaps remain against `%s`.\n' "$MARKER" "$base"
}

upsert_comment_and_label() {
local pr=$1 body=$2 has_conflicts=$3
local pr=$1 body=$2 has_conflicts=$3 has_any=${4:-1} base=${5:-}
if ((DRY_RUN)); then
printf 'DRY RUN: would update PR #%s comment and label=%s\n' "$pr" "$has_conflicts"
printf 'DRY RUN: would update PR #%s comment and label=%s findings=%s\n' "$pr" "$has_conflicts" "$has_any"
printf '%s\n' "$body"
return 0
fi

local comment_id
comment_id=$(api "repos/${REPO}/issues/${pr}/comments?per_page=100" --paginate \
--jq ".[] | select(.body | contains(\"${MARKER}\")) | .id" | head -n1)
if [[ -n "$comment_id" ]]; then
if [[ "$has_any" != '1' ]]; then
if [[ -n "$comment_id" ]]; then
api -X PATCH "repos/${REPO}/issues/comments/${comment_id}" -f body="$(resolved_body "$base")" >/dev/null
else
printf 'PR #%s: no overlap findings and no earlier comment; not posting\n' "$pr"
fi
elif [[ -n "$comment_id" ]]; then
api -X PATCH "repos/${REPO}/issues/comments/${comment_id}" -f body="$body" >/dev/null
else
api -X POST "repos/${REPO}/issues/${pr}/comments" -f body="$body" >/dev/null
Expand All @@ -276,12 +291,12 @@ write_summary() {

run_for_one_pr() {
local pr=$1 base=$2 writable=$3 truncated=${4:-0}
local rows has_conflicts _has_any base_conflict body
make_report_for_pr "$pr" "$base" rows has_conflicts _has_any base_conflict
local rows has_conflicts has_any base_conflict body
make_report_for_pr "$pr" "$base" rows has_conflicts has_any base_conflict
body=$(report_body "$pr" "$base" "$rows" "$truncated" "$base_conflict")
write_summary "$body"
if [[ "$writable" == '1' ]]; then
upsert_comment_and_label "$pr" "$body" "$has_conflicts"
upsert_comment_and_label "$pr" "$body" "$has_conflicts" "$has_any" "$base"
fi
}

Expand Down
27 changes: 25 additions & 2 deletions .github/scripts/test-pr-overlap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ case "$*" in
*'.head.repo.full_name'*) printf '%s\n' "$REPO_SLUG" ;;
*'.head.sha'*) printf '%s\n' "${FALLBACK_SHA:-}" ;;
*'.base.ref'*) printf 'v6\n' ;;
*'/comments?'*) : ;;
*'/comments?'*) if [[ -n "${EXISTING_COMMENT_ID:-}" ]]; then printf '%s\n' "$EXISTING_COMMENT_ID"; fi ;;
*) echo "unexpected gh api call: $*" >&2; exit 2 ;;
esac
GH
Expand All @@ -134,6 +134,8 @@ run_pr() { # pr -> sets OUT and WRITES

LABEL_ADD="-X POST repos/${REPO_SLUG}/issues/%s/labels -f labels[]=conflicts-with-open-pr"
LABEL_DEL="-X DELETE repos/${REPO_SLUG}/issues/%s/labels/conflicts-with-open-pr"
COMMENT_POST="-X POST repos/${REPO_SLUG}/issues/%s/comments -f body="
COMMENT_PATCH="-X PATCH repos/${REPO_SLUG}/issues/comments/%s -f body="

echo 'PR 2: real sibling conflict with PR 3, stale PR 1 is not blamed'
run_pr 2
Expand All @@ -144,6 +146,16 @@ assert_not_contains "$OUT" '| #1 |' 'does not blame PR 1 for its conflict with t
assert_not_contains "$OUT" '| #4 |' 'does not link the unrelated stale PR 4'
# shellcheck disable=SC2059
assert_contains "$WRITES" "$(printf -- "$LABEL_ADD" 2)" 'labels PR 2 conflicts-with-open-pr'
# shellcheck disable=SC2059
assert_contains "$WRITES" "$(printf -- "$COMMENT_POST" 2)" 'posts the overlap comment when there is a finding'

echo 'PR 2: an existing marker comment is edited, not duplicated'
EXISTING_COMMENT_ID=4242 run_pr 2
assert_exit0
# shellcheck disable=SC2059
assert_contains "$WRITES" "$(printf -- "$COMMENT_PATCH" 4242)" 'edits the existing marker comment'
# shellcheck disable=SC2059
assert_not_contains "$WRITES" "$(printf -- "$COMMENT_POST" 2)" 'does not post a second comment'

echo 'PR 5: add/add of the same new path with different content'
run_pr 5
Expand All @@ -167,9 +179,20 @@ assert_contains "$WRITES" "$(printf -- "$LABEL_DEL" 1)" 'removes the sibling-con
echo 'PR 4: stale but clean, no overlap'
run_pr 4
assert_exit0
assert_contains "$OUT" 'No conflicting open PRs or same-file overlaps were found.' 'reports no overlap'
assert_contains "$OUT" 'No conflicting open PRs or same-file overlaps were found.' 'reports no overlap in the summary'
# shellcheck disable=SC2059
assert_contains "$WRITES" "$(printf -- "$LABEL_DEL" 4)" 'removes the sibling-conflict label'
assert_not_contains "$WRITES" '/comments' 'posts no comment when there is nothing to report (#17863)'
assert_contains "$OUT" 'no overlap findings and no earlier comment; not posting' 'logs the skipped post'

echo 'PR 4: a clean run edits an earlier finding comment to a one-line resolved note'
EXISTING_COMMENT_ID=777 run_pr 4
assert_exit0
# shellcheck disable=SC2059
assert_contains "$WRITES" "$(printf -- "$COMMENT_PATCH" 777)<!-- hive-pr-overlap -->" 'edits the existing comment, keeping the marker'
assert_contains "$WRITES" 'Resolved: no conflicting open PRs or same-file overlaps remain against `v6`' 'collapses to the resolved line'
# shellcheck disable=SC2059
assert_not_contains "$WRITES" "$(printf -- "$COMMENT_POST" 4)" 'does not post a new comment'

echo 'PR 3: missing pull ref falls back to the API head and replaces a stale local ref'
export FALLBACK_SHA
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/feedback.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,35 @@ permissions:
pull-requests: write

jobs:
# The reusable workflow thanks every merged PR unconditionally; the gate
# keeps the comment for a person's first merged PR only (#17863). Rules and
# knobs: src/scripts/feedback-gate.sh.
gate:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
contents: read
pull-requests: read
outputs:
post: ${{ steps.gate.outputs.post }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Self-test feedback gate
run: bash src/scripts/test-feedback-gate.sh
- id: gate
name: Decide whether to thank the author
env:
GH_TOKEN: ${{ github.token }}
FEEDBACK_SKIP_BOTS: '1'
FEEDBACK_SKIP_BRANCHES: 'scanner/* hive/*'
FEEDBACK_SKIP_HIVE_ORIGIN: '1'
FEEDBACK_FIRST_TIME_ONLY: '1'
run: bash src/scripts/feedback-gate.sh

feedback:
needs: gate
if: needs.gate.outputs.post == 'true'
uses: hivecommons/infra/.github/workflows/reusable-feedback.yml@f1c0b61675386f54e63c04cf07b3aa933cc963eb # hivecommons/infra main as of 2026-09-02
Loading
Loading