Repository navigation
Conversation
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
|
CI follow-up for |
|
已在 远程 已执行 |
|
mo-bot review · Commit: Review completed. Read the assessment. |
XuPeng-SH
left a comment
There was a problem hiding this comment.
mo-bot review · mo-bot-local · review
Commit: 6e8bba65de261680596792243728b1a6871e4eec
Assessment: approve
The fix correctly propagates Fulltext2 cancellation through the existing retriever shutdown path. No actionable findings remain.
Model: gpt-6-astra / xhigh
Session: 01a1869d-820c-7212-9788-aecfb86a4141 · slot 0 · generation 2
Validation:
-
Reviewed the complete delta, affected owners/consumers, linked issue and all four discussion entries.
-
pkg/iscp passed normal and race suites: 327 test/subtest passes in each.
-
Both new cancellation tests passed 100 race repetitions each.
-
Both regressions failed against baseline production code with the expected cancellation timeouts.
-
Formatting, diff and source-integrity checks passed. Logs and command/source/exit receipts are reconciled in validation-summary.json; source remains unchanged.
Limitations:
- No live SQL/CDC BVT was run locally. The frozen evidence reports successful exact-head CI, including BVT and coverage; detailed remote logs were unavailable.
🚫 Left the queue49 min in the queue, with no time running CI. So far
Reason Pull request #31859 has been dequeued Pull request from fork cannot be queued. This pull request comes from a fork, and Mergify needs the author's permission to update its branch.
Hint You should look at the reason for the failure and decide if the pull request needs to be fixed or if you want to requeue it. Merge conditions: 2 of 3 metThis pull request
The batch, tested in place
Tick the box to put this pull request back in the merge queue (same as
Times in UTC · dashboard · how the merge queue works |
What type of PR is this?
Which issue(s) this PR fixes:
Fixes #25632
What this PR does / why we need it:
The earlier fix for the ordinary ISCP index consumer did not cover Fulltext2. When the Fulltext2 consumer context is canceled,
RunFulltext2can exit without sending an error toIndexConsumer.Consume. The latter therefore cannot notify a producer blocked inDataRetriever.Next(), and the consumer can remain stuck waiting for that producer.Publish
ctx.Err()through the existing nonblocking error channel on both Fulltext2 cancellation paths.Consumethen forwards the error to the retriever and joins the producer. Add a deterministic regression that entersNext(), cancels only the consumer context, and requiresConsumeto returncontext.Canceled; the ordinary index cancellation test is the neighboring control.Validation:
gofmtandgit diff --checkpass. Focusedpkg/iscpcancellation and ordinary-index control tests passed on[email protected](exit 0, including a second run with coverage instrumentation). The original Coverage CI job failed before producing a test JSON report while preparing CGo; its diagnostic artifact uploads hitECONNRESET. GitHub refused a targeted rerun while the original workflow was still running, so empty commita634b1d56fretriggers CI without changing source or test inputs. The retried UT Coverage job passed ata634b1d56f(tests and profile upload succeeded). Other CI checks are still pending.The cancellation check adds one
ctx.Err()read per Fulltext2 loop iteration and allocates no new long-lived resource. The existingTailBuilder.Cleanupownership remains unchanged.