You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9d8d2ab
Browse filesBrowse the repository at this point in the historyBrowse files
target_branch="$(gh api "repos/${APPLY_TARGET_REPO}" --jq .default_branch)"
7041
7042
IFS=',' read -r -a requeue_items <<< "$items"
7042
7043
for item_number in "${requeue_items[@]}"; do
7044
+
item_kind="$(gh api "repos/${APPLY_TARGET_REPO}/issues/${item_number}" --jq 'if .pull_request then "pull_request" else "issue" end')"
7043
7045
jq -n \
7044
7046
--arg target_repo "$APPLY_TARGET_REPO" \
7045
7047
--arg target_branch "$target_branch" \
7046
7048
--arg item_number "$item_number" \
7049
+
--arg item_kind "$item_kind" \
7047
7050
'{
7048
-
event_type: "clawsweeper_target_sweep",
7051
+
event_type: "clawsweeper_item",
7049
7052
client_payload: {
7050
7053
target_repo: $target_repo,
7051
7054
target_branch: $target_branch,
7052
7055
item_number: $item_number,
7053
-
batch_size: "1",
7054
-
shard_count: "1",
7055
-
hot_intake: "false",
7056
+
item_kind: $item_kind,
7057
+
source_event: (if $item_kind == "pull_request" then "pull_request" else "issues" end),
7058
+
source_action: "source_drift_requeue",
7059
+
supersedes_in_progress: false,
7056
7060
codex_timeout_ms: "1200000"
7057
7061
}
7058
-
}' | gh api --method POST "repos/${{ github.repository }}/dispatches" --input -
7059
-
echo "::notice::Requeued exact review for ${APPLY_TARGET_REPO}#${item_number}: its close was blocked by source drift or an unverified-checkout review."
7062
+
}' | gh api --method POST "repos/${DISPATCH_REPOSITORY}/dispatches" --input -
7063
+
echo "::notice::Dispatched exact review refresh for ${APPLY_TARGET_REPO}#${item_number}: its close was blocked by source drift or an unverified-checkout review; durable admission is owned by queue intake."
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,7 @@ checkpoint, and status-only commits are intentionally omitted.
59
59
60
60
### Fixed
61
61
62
+
- Routed default apply's bounded source-drift refreshes through exact-event queue intake so full-repository hydration cannot fail before admission.
62
63
- Indexed webhook receipt expiry by receipt time to avoid scanning and sorting retained history on each accepted delivery, preserving 30-day retention and transactional cleanup.
63
64
- Bounded apply/proof/comment-sync record retention to selected records and paired dependencies, avoiding unrelated archive loads during ledger finalization without changing close guards.
64
65
- Kept projected GitHub reads out of the durable ETag cache so incompatible response shapes cannot hide requested reviewers from close guards. Thanks @goutamadwant! (#1242)
0 commit comments