Skip to content

test(fileservice): batch CS S3 fixture cleanup - #33443

Merged
XuPeng-SH merged 2 commits into
matrixorigin:mainfrom
Ariznawlll:fix/mty-s3-fixture-batch
Nov 29, 2026
Merged

XuPeng-SH merged 2 commits into
matrixorigin:mainfrom
Ariznawlll:fix/mty-s3-fixture-batch

Conversation

@Ariznawlll

Copy link
Copy Markdown
Collaborator

What this PR does / why we need it

Related to #33429. GROUP0 on MTY n0 passed the fileservice S3 subtests, then exhausted the existing 60-second fixture cleanup budget. Use the pinned S3 SDK to batch deletion of fully validated test-prefix keys; preserve single-key cleanup, per-object failure handling and the post-delete empty-prefix check.

This is test-only. It does not change the S3 suite, runner selection, deadline, privileges, or production CI configuration.

Validation

  • Focused race-enabled fixture regression tests passed three times, including per-key failures, residual objects, cancellation, and prefix guards.
  • Three restricted-account loopback MinIO runs with injected per-request latency: serial cleanup exhausted the same budget that allowed batched cleanup to pass, and the sibling object was preserved.
  • Full MTY n0 GROUP0 and coverage artifact validation are tracked separately. Do not merge before the real-run result is reviewed.

@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@mergify

mergify Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Queue requested — the merge queue status continues in this comment ↓.

@XuPeng-SH

XuPeng-SH commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

mo-bot review · mo-bot-local · done

Commit: 950e7fef5f7d0c864c31ed86541f2f9c5f24f528

Review completed. Read the assessment.

@XuPeng-SH XuPeng-SH left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mo-bot review · mo-bot-local · review

Commit: 950e7fef5f7d0c864c31ed86541f2f9c5f24f528

Assessment: approve

The cleanup reuses the pinned SDK’s bounded iterator while retaining prefix validation, single-key deletion, error reporting, and the final empty-prefix check. No actionable defect was found.

Model: gpt-6.1-terra / max

Session: 01a2230f-39de-7f00-bf9a-e19ded95bd85 · slot 0 · generation 39

Validation:

  • The fileservice package passed with -race -short -count=1; receipt checks/1795926711694695332-5.json and package-race.log.

  • Focused fixture and prefix-guard tests passed under -race; the new batch test also passed 100 repetitions. Receipts checks/1795926393209785819-5.json and checks/1795926427852093131-5.json.

  • A diagnostic 1,001-key probe passed for both successful batching and a first-batch denial; receipt checks/1795926530924176521-5.json and boundary-probe.log.

  • A restricted-account loopback MinIO probe removed 32 in-prefix objects in one bulk request and preserved an inaccessible sibling; receipt checks/1795926650213686903-5.json and minio-probe.log.

Limitations:

  • The author requested review of a future full MTY GROUP0 run; no result for this head was supplied. Local MinIO validation does not establish real CS endpoint behavior or completion within its 60-second cleanup budget.

@mergify mergify Bot added the queued label Nov 29, 2026
@mergify

mergify Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

🚫 Left the queue · pull request dequeued

30 min in the queue, with no time running CI.

So far

  • ✅ Entered the queue Sun 29 Nov, 04:33 · rule main · triggered by rule Automatic queue on approval for main
  • ⏹️ Testing stopped · in place
  • 🚫 Left the queue 05:03 · 820c6f6

Reason

Pull request #33443 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.

The author needs to enable "Allow edits from maintainers" on this pull request.

To get back in the queue

  • Push a change if one is needed: the pull request is queued again once its queue conditions match.
  • If no change is needed, tick the box below to queue it again as it is.

Merge conditions not met when it left the queue

  • any of · required by GitHub branch protection:
    • check-neutral = CI Required
    • check-skipped = CI Required
    • check-success = CI Required

Tick the box to put this pull request back in the merge queue (same as @mergifyio queue).

  • Requeue this pull request
2 merge conditions met
  • #review-threads-unresolved = 0 · required by GitHub branch protection
  • github-review-approved · required by GitHub branch protection

Times in UTC · dashboard · how the merge queue works

@XuPeng-SH
XuPeng-SH merged commit cb7ad54 into matrixorigin:main Nov 29, 2026
21 of 23 checks passed
@mergify mergify Bot added dequeued and removed queued labels Nov 29, 2026
XuPeng-SH added a commit that referenced this pull request Nov 29, 2026
## What type of PR is this?

- [ ] API-change
- [ ] BUG
- [ ] Improvement
- [ ] Documentation
- [ ] Feature
- [x] Test and CI
- [ ] Code Refactoring

## Which issue(s) this PR fixes:

Related to issue #33429.

## What this PR does / why we need it:

Pin the Coverage entrypoint, CS worker, Shanghai worker and identity
contract to `51450fbf782e8b502de1482ff7398fffefc2ba14`. This picks up
the reviewed S3 fixture from #33443 so otherwise eligible `main` PRs can
use the existing CS queue again. The protected entrypoint serves both
`main` and `4.2-dev`. [CI
fix](matrixorigin/CI#507)

Validated with 141 Coverage companion tests and 49 MatrixOne contract
tests, including failed-group retry, pinned worker identity and
superseded-run cleanup. A fresh MatrixOne PR run after merge will
exercise the updated production entrypoint.

This branch was successfully deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dequeued size/M Denotes a PR that changes [100,499] lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants