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? |
Merge Queue Status
This pull request spent 1 hour 11 minutes 4 seconds in the queue, with no time running CI. ReasonPull request #29424 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.
HintYou 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. Waiting for any of
All conditions
Tick the box to put this pull request back in the merge queue (same as
|
What type of PR is this?
Which issue(s) this PR fixes:
Fixes #29392
What this PR does / why we need it:
Passing
moerr.NewInternalErrorNoCtx(...)inline tocontext.WithTimeoutCauseinvokes the error reporter while constructing the argument. Healthy ISCP operations therefore emit timeout-error telemetry before their context expires.Reuse five causes in the existing
moerrcause inventory at all five ISCP timeout sites. Timeout durations, error text, context cancellation, tenant handling and transaction cleanup retain their existing behavior. This avoids repeated error construction, stack capture and reporting on normal operations; no throughput improvement is claimed without measurement.The cause regression checks a dynamic-error reporting control, healthy contexts, and actual timer expiry with the exact supplied cause. It restores the reporter and releases timers even after a failed assertion. The existing
GetTaskRunnersuccess test additionally requires zero error reports. The transaction-finish tests share one five-case matrix for successful commit, commit failure, canceled operation, canceled success and joined operation/rollback failure. Each checks zero construction-time reports, original error identities, the selected commit/rollback action, a healthy cleanup context at the actual call, and cancellation after cleanup. No new service fixture or production test seam is introduced.The PR is based on main
7ff3eac2e8f1. The TAE promotion/configuration files match main, including its strict four-point validation; this PR changes onlymoerrand ISCP. No data format or schema change.Validation on Go 1.26.4, macOS arm64, fresh repository-native CPU libraries:
pkg/common/moerrtests andgo vetpassed.pkg/iscptests passed throughmo-cgo-test, with-vet=all.GetTaskRunner; the consumer test failed on one spurious report. Restoring the fix made the owning-package run pass.TestPromotionSettingsDomainsand the persisted replayshort_decay_points/extra_decay_pointscases passed.golangci-lintfor both changed packages:0 issues; gofmt and diff whitespace checks passed.gpt-6-astra / xhigh, no unresolved material blockers atbd07a6c939.No new service-level fulltext/drop/recreate log-count replay or benchmark was run.
Additional validation on Linux amd64, Go 1.26.4 and fresh matching repository-native CPU libraries:
-count=1 -vet=all; the updated ISCP package passed again after the transaction-test consolidation.make err-checkpassed; lint reported zero issues.ISCP-Taskoccurrences, and contain zero occurrences of all five timeout strings. This corroborates the construction-reporting fix under existing BVT activity; it is not a dedicated controlled workload or latency benchmark.gpt-6.1-sol / xhigh, PASS with no unresolved material blockers. Delivered revisionbc8f2b7c4335b727ff8387fea10c8a4a91a9e617exactly matches the reviewed source fingerprints; full base-to-head diff SHA-2564300c0b5ce4e4d71f8a151af1635f6d49f5c90ac4d3fd7b2153ee6a4a0c41dbe.CI attribution for historical head
bd07a6c939in run 37131974801: SCA and UT coverage passed. Pessimistic BVT failed the first prepared JDBC STATISTICS execution inpub_sub4.sql(expected three index rows, returned zero); subsequent local/subscription executions passed. Coverage aggregation then failed because a required producer was incomplete, without calculating a coverage verdict. Attribution of the metadata failure is unresolved; it is not labeled pre-existing or dismissed as infrastructure. The PR does not change the planner/frontend/metadata test paths. CI for the follow-up revision is pending and has not been awaited.