Skip to content

Fix Scanner fleet evidence and IAM lifecycle probes - #186

Merged
overtrue merged 39 commits into
mainfrom
codex/scanner-acceptance-3385
Dec 3, 2026
Merged

overtrue merged 39 commits into
mainfrom
codex/scanner-acceptance-3385

Conversation

@overtrue

@overtrue overtrue commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

Changes

The SSD run in rustfs/backlog#3385 exposed incorrect Scanner observations. The status handler reports lifetime work in each node’s metrics.source_work. Read all four signed endpoints, retain the counters seen before a node restarts, and use the published usage epoch and cycle. Check the corrupted part on its original physical drive while the workload runs, so a completed transition can release its local shards. Keep the deep-scan journal and end-to-end payload checks.

Count keys with historical versions behind a delete marker. Discover mirrored buckets in both directions only for exact fixture names confirmed absent before the run. Drain the source versions while the tier is registered, then remove the tier and its bucket.

IAM-102 and IAM-103 now read the location of a disposable bucket. The built-in readonly policy allows that operation. On the original fleet the previous positive probe returned AccessDenied for ListBuckets both before disable and after re-enable.

Verification

The shared rclone configuration now leaves the upload cutoff and chunk size at their client defaults. SDK-05 alone requests 5 MiB parts so its small multipart fixture still exercises multipart uploads. The generated-config regression failed before the change. All ten compatibility-runner tests passed after it, including the live boto3 harness. The separate default-size SSE-S3 transfer is tracked in backlog #3385.

TIER-103 now uses the health endpoint for connectivity and the tier list to verify the rotated account and redacted secret. The old case stopped on an empty HTTP 200 before it could run a transition. The positive control reaches the transition, and six negative controls reject an unhealthy or unverifiable configuration. The Linux Tier lifecycle suite and 243 combined QA unit tests passed. The original two-endpoint run is tracked separately in backlog #3385.

The existing-object replication run copied all 23 bytes. Its last cleanup poll timed out, then a fresh inventory on the same bucket found no multipart uploads, versions, delete markers or objects. Cleanup now accepts that confirmed empty inventory. A truncated upload listing, an inspection error or remaining entries still fail. The two regression controls failed before the change and passed after it. All 19 replication tests passed, and the combined QA checkout passed 215 tests.

Each standalone pool expansion hook now seeds 16 deterministic objects, verifies all 16 SHA-256 digests after expansion and removes its probe keys and bucket. The original pool.status case observed one pool before expansion and two after it on the signed admin API, passed the CLI checks and cleaned up. The 13 pool contract tests and the shell endpoint and probe tests passed on both macOS and Linux arm64.

The replication installer now passes its environment to dpkg for both root and sudo. Failed setup stops before service startup and writes INFRA_ERROR with the outcome of teardown on all four members. The sixteen related tests passed on macOS and Linux arm64. The original source-versioning case then passed and cleaned up. Signed AdminInfo and the running executables confirmed a four-node source with four drives per node and a single-drive peer.

The final Scanner sample now follows the last fault-journal read. An injected late bitrot miss that previously passed now fails the live driver test. All 126 related tests passed on macOS and Linux arm64. On four local Linux guests with four ext4 volumes each, the cross-feature case passed all four assertions and cleaned up every service and drive. The final signed samples included both observed quorum failures for the damaged object and reported 0 missed bitrot jobs. The normal run ended before the retry policy suppressed further attempts.

94 Scanner, usage, and security harness tests passed. The local shard test writes a real file, verifies that the injected copy fails the hash check, and restores its original contents. The existing receipt gate still rejects incomplete evidence. The physical rerun is tracked in backlog #3385.

On the original SSD fleet, the damaged shard returned to its pre-injection digest. The signed readiness check was reaching the first node while the second node was restarting. The case now polls the node it restarted, selects all fixture objects for inspection, records per-object heal events, and writes an object before enabling bucket replication. It verifies the replica contents and waits for real work across all six sources. The tier source cases now provision MQTT before deployment and write a terminal receipt on interrupted setup. S3C-1206 cleans only the buckets it created if tier registration fails. The focused suites passed 111 tests, followed by 29 Scanner tests including the restarted-peer regression.

The OIDC provider now starts on a run-owned Docker bridge. All four original nodes fetched the same discovery document from the pinned Keycloak image. The provider container, network, and generated realm were removed. A simulated startup failure produced a terminal infrastructure result with the package identity, no installed binary digest, and verified cleanup. The OIDC, source-procedure and tier MQTT suites passed 25 tests.

The existing-object bucket sample now waits for the original version to reach COMPLETED on its site mirror, verifies the mirror digest, and lists the distinct operator target before enabling the bucket rule. The final read names the same version. This keeps initial site enrollment from satisfying the bucket-repair check. The Scanner usage and all-in-one test modules passed 84 tests. The previous SSD run copied the sample with the expected digest but recorded zero bucket-repair admissions.

The merged catalog includes the chart checkpoint restore case. The Iceberg procedure now commits with the returned table UUID, sends a stale token against existing metadata files, requires HTTP 409 with CommitFailedException, and reloads the committed location. The config probe requires HTTP 401 or 403 for an unauthenticated request. Seven table tests passed, and the catalog, implementation review and registry checks passed. Live SSD receipts are tracked separately in rustfs/backlog#3385.

The original SSD run of USAGE-09 sampled the same certified cycle six times. The case now sustains real overwrites between observations, compares counters and certificates across distinct publications, and checks a new inventory once writes stop. All 88 Scanner tests and the six hosted checks passed. The hardware rerun is tracked in rustfs/backlog#3385.

The SSH rolling test now verifies the service's MainPID before and after the planned crash. Ten rolling harness tests passed, including cases for an absent or replaced process.

The Ceph runner resolves the actual Python package in the checkout and keeps its historical baseline across the package rename. On the original four-node fleet the upstream JUnit contained 537 successful cases. The profile accepted 484 and classified 53 as vendor-specific. Mint now runs each supported SDK from its own directory, passes its two required log paths, and checks that each target produced records. It retains SDK process failures after earlier successes and removes each temporary credentials file. Ten conformance harness tests and six hosted checks passed at this head. The separate six-SDK hardware run is tracked in backlog #3385.

The five-client run on the original four nodes passed 38 of 50 cases. The distro boto3 1.34.46 rejected conditional PUT arguments before sending a request. All five clients also lacked the KMS key required by SDK-09 and SDK-10. The preflight now checks both conditional PUT fields. SDK-03 uses directory-to-directory rclone copy, checks the immutable error, and reads the original bytes back. On rclone 1.60.1 the old command returned success and overwrote the file. The corrected command returned an immutable-file error and preserved the bytes. All seven runner tests passed on the jump host, including the negative controls. Six hosted checks passed at e2c1c1d69. The SSD rerun will verify the shared KMS key through writes and readbacks on all four nodes.

At 971ff8c2d the SDK matrix checks the client identity and requires exactly one result per case. Only SDK-10 may skip when KMS is disabled. A client timeout now produces a failed report. The runner clears the private rclone configuration and continues with the next client. All nine runner tests passed locally with boto3 and botocore 1.44.15, including the ten-operation boto3 run against the test server. All six hosted checks passed at 971ff8c2d.

A loopback test ran the generated rclone driver with a stand-in client. Before 166e1fbe2, the client kept its connection open after the driver timed out. The runner now terminates the native driver's POSIX process group. The same test observed the connection close. All ten SDK runner tests and 88 Scanner tests passed locally. Changes to the harness or its tests now trigger S3 Script Tests. At 24b6aba9c, Ubuntu ran all ten tests, including the boto3 contract and the child cleanup check. The job fails before running tests if its pinned boto3 model lacks conditional writes. Linux test log

The original four-node SSD rerun is pending.

Latest Scanner catalog

Commit c5d8707 includes the new USAGE-23 registration from #188. It binds one native assertion to the Scanner receiver test for signed progress across different worker and leader publication epochs. The catalog has 454 cases, one more than the previous revision. Both reviewed source hashes were recomputed after the merge. The 158 historical migration rows retain their earlier results.

All 58 Scanner usage tests, 30 all-in-one Scanner tests and 10 SDK harness tests passed locally with boto3 and botocore 1.43.19. The shell harness, catalog check and migration review passed as well. The original four-node SSD run is tracked in backlog #3385.

At 5d37745, the catalog checker matched the SHA-256 of the upstream catalog at 524eb5b32 with the recorded snapshot. It found 158 source cases and 296 local cases. The combined test checkout also includes the supplemental three-node, three-directory-per-node Heal driver from 1810520. The fixture now checks automatic retirement after a DELETE through a different peer. Shell syntax, the migration review and all 98 Scanner and SDK unit tests passed at this exact commit. The designated SSD run of the supplemental driver is pending. Heal fixture change · SSD verification

Latest compatibility checks

The S3C-703 update from main is included. Its GET tag-count assertion caught a missing header on the RustFS candidate with AWS CLI 1.35.24. The migration review covers the new assertion and the raw HEAD fallback while retaining all 158 catalog dispositions. The two focused shell suites passed 18 tests, and all eight applicable PR checks passed on 7fff857.

The standalone three-node MRF fixture now honors TMPDIR and uses the Docker stop and restart flags supported by Docker 27. On a native arm64 run it reached the cross-peer deletion assertion. One held record persisted after the 120-second window. The runner preserved that failure and removed its containers and network.

Scanner usage sampling

In the local four-node run, ILM created a delete marker 2.592 seconds after the last Admin reading. The runner compared that reading with a later S3 version listing and reported a marker discrepancy. The new probe reads the version inventory on both sides of a fresh Admin sample, checks version IDs and marker IDs, and retries within the original convergence deadline. It still requires certified values for all four counters.

The previous driver reproduced the discrepancy in all three cases. The new tests cover a late marker, a stale publication, persistent undercounting, and a version change with unchanged totals. All 51 focused tests passed. The live rerun uses the same RustFS binary and four Linux VMs.

Snowball quota readiness

SNW-110 now retries a below-quota PUT when the AWS CLI reports SlowDown for that operation. It keeps the existing limit of 60 attempts. On fresh local servers the old case stopped at its first 503. The updated case retried, completed the same upload, rejected the oversized archive with InvalidRequest and confirmed the rejected member was absent with HEAD 404. The test fixtures also exercise permanent errors and retry exhaustion.

All 22 S3 fixture and catalog tests passed locally. The clean Linux run passed 113 scanner, S3 catalog and migration tests.

The tier removal deadline fixture used both Bash's live clock and a simulated sleep. A 1.25-second scheduling pause reproduced the CI failure: the second request received one second instead of two. The fixture now advances time only through its simulated sleep. The same delayed check passed on macOS and Linux, with the request budget and absence assertions intact.

Concurrent faults and rolling restarts

The cross-feature fixture previously matched any file named part.*, including integrity sidecars. Five simultaneous file changes on five drives could therefore overstate the number of damaged data shards. The revised selector requires exactly one nonempty part.1 per drive and the same data directory on both sides of the fault window. Sidecar-only, second-part, empty, and ambiguous-version layouts now fail the control.

In an isolated Linux checksum control, all 16 object headers reported 12 data and 4 parity shards. One damaged data shard recovered and its 4 MiB payload matched. With five damaged data shards, scanner heal reported a quorum error and GET returned 503. This control used 16 logical directories on one device. The four-node acceptance run is separate.

The journal is collected again before teardown. On the original four-node run, the first snapshot missed the repair proof. Before object deletion, the same correlation check found scanner cycle 14 and the completed task. The four quorum errors seen after deletion are excluded. The containment check now requires a scanner-admitted task for the same bucket and object after the fault was observed.

The rolling restart now measures the active leader and a separate follower, records both service PID changes and waits for a publication from the new epoch before starting the strict cycle check. The original run collected six cached publications at epoch 1, cycle 16 and then a certified publication at epoch 2, cycle 18 that matched every bucket inventory. Checkpoint verification now reads the service PID from journald and matches a nonempty cursor for the same bucket, pool, set, and saved cycle across two process lifetimes. A local four-node journal contained one such match on the wide bucket. PID 118164 recorded cycle 11 in epoch 1, and PID 122706 adopted that cycle in epoch 3. Swapping PIDs or excluding that bucket made the check fail. The earlier canonical receipt remains failed.

At this head, the four affected suites ran 121 tests on native Linux arm64 and macOS. The native test container was removed. Two fixture controls failed with the previous sequential counter. The restart controls cover a stale epoch, a regressing cycle, an idle owner, competing leaders and a single-node topology.

Rolling restart evidence

On the four-node Linux run, the kernel killed the validation driver at 2,584,520 KiB of anonymous RSS. The four journals contained 607,016 records totaling 1,023,028,884 bytes in that window. The collector now streams each journal on its node. It discards only routine successful HTTP access records and retains errors, lock timeouts, replication-loop messages and scanner events, including their journald PIDs. The 503 counter reads the service's actual status_code field as well as the historical spellings.

Replaying the same four journals returned 30,306 records (41,347,535 bytes). Every retained record matched the independent capture, including order and PID on each node. The unit fixture checks how much data crosses the SSH boundary and rejects a failed journal command after partial output. All 123 affected tests passed on both macOS and native Linux arm64. The interrupted run remains unqualified; the corrected four-node acceptance run is queued.

@overtrue overtrue left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Self-review verdict: Needs rebase (CONFLICTING / DIRTY against main) on 3b2681ec.

Assessment

  • CI passed 9/9 active jobs (contract-tests, environment-compatibility, kms-script-tests, package-install-tests, s3-script-tests, security-script-tests, test, unit-and-governance, upgrade-script-tests; local-smoke-profile skipped).
  • Scanner all-in-one (journal.py, oracles.py, runner.py, topology.py), Scanner usage, multi_sdk_compat_runner.py, s3_conformance_runner.py, and the domain harness updates are well covered by unit and counterexample tests.

Items to Address on Rebase

  1. Merge conflicts: Rebase codex/scanner-acceptance-3385 onto current main (reconciling validation-migration-review.json and shared scripts).
  2. scripts/validation_scanner_all_in_one/oracles.py (resumed_bucket_checkpoint): Requiring old_pid and new_pid bucket_checkpoint_prepared events on the same restarted node can be flaky if leadership moves to a non-restarted peer after restart.
  3. scripts/validation_scanner_all_in_one/runner.py (_site_a_inventory): Uses a single list-object-versions call without pagination/IsTruncated handling.
  4. scripts/s3_conformance_runner.py (execute_minio_mint): Synthetic failure lines on non-zero returncode are appended to mint-results.jsonl but not written back to per-target mint-logs/<target>/log.json.
  5. docs/sse-contract-cases.zh-CN.md: ENC-210 and KMS-609 descriptions are currently in English.

@overtrue overtrue left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Self-review verdict: Needs rebase and minor fixes (CONFLICTING / DIRTY against main) on 3b2681ec.

Merge Gate Status

  • CI passed 9/9 active checks (contract-tests, environment-compatibility, kms-script-tests, package-install-tests, s3-script-tests, security-script-tests, test, unit-and-governance, upgrade-script-tests; local-smoke-profile skipped), but the branch is CONFLICTING / DIRTY against main.

Findings to Address on Rebase

  1. Rebase conflicts: Rebase codex/scanner-acceptance-3385 onto main and refresh validation-migration-review.json digests.
  2. scripts/validation_scanner_all_in_one/oracles.py (resumed_bucket_checkpoint): Matching old_pid and new_pid bucket_checkpoint_prepared events only within the same node can flake if scanner leadership fails over to another peer after restart.
  3. scripts/validation_scanner_all_in_one/runner.py (_site_a_inventory): Add pagination (IsTruncated / KeyMarker / VersionIdMarker) to list-object-versions.
  4. scripts/s3_conformance_runner.py (execute_minio_mint): Write target_log_dir / "log.json" after appending any synthetic run.sh FAIL line so mint-logs/<target>/log.json matches mint-results.jsonl.
  5. docs/sse-contract-cases.zh-CN.md: Translate the ENC-210 and KMS-609 rows into Chinese.

@overtrue overtrue left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Self-review verdict: Needs fixes (rebase required, no CI checks on head 8e5d1986, and 4 open items)

Status at 8e5d19865a67a720b6752f5d6a2b347db6c850dc

  • Mergeability: CONFLICTING (mergeStateStatus: DIRTY) against main.
  • CI status: gh pr checks reports no checks on codex/scanner-acceptance-3385 for the current head 8e5d1986.
  • New commit (8e5d1986, test(pools): verify live reload on a four-node cluster (#198)): Updates scripts/validation_pool/pool_behavior.py (case_hot_reload_expand, case_hot_reload_decommission, case_hot_reload_negative_guards), scripts/validation_pool/run_case.sh (configure_pool_layout, start_initial_pool, prepare_expanded_pool, expand_fixture_pools, expand_with_integrity_probe), test_validation_pool.py, and validation-migration-review.json. The 4-node layout switching, preflight polling, surviving-peer status verification, and negative-guard reason checks look solid.

Items to Address

  1. Merge conflicts & CI: Rebase codex/scanner-acceptance-3385 onto main, reconcile shared files and validation-migration-review.json, and ensure CI runs green on the updated head.
  2. scripts/validation_scanner_all_in_one/oracles.py (resumed_bucket_checkpoint): Matching old_pid and new_pid bucket_checkpoint_prepared events only within the same node can miss checkpoint resumption if scanner leadership fails over to another peer after restart.
  3. scripts/validation_scanner_all_in_one/runner.py (_site_a_inventory): Uses a single list-object-versions call without IsTruncated / KeyMarker / VersionIdMarker pagination.
  4. scripts/s3_conformance_runner.py (execute_minio_mint): Appends synthetic run.sh FAIL records to collected_lines (mint-results.jsonl) after log_file.write_text(...), leaving mint-logs/<target>/log.json without the synthetic failure entry.
  5. docs/sse-contract-cases.zh-CN.md: ENC-210 and KMS-609 rows remain untranslated in English.

@overtrue overtrue left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Self-review verdict: Needs fixes (rebase required, 0 CI checks on head 8e5d1986, and 4 open items)

Re-reviewed head 8e5d19865a67a720b6752f5d6a2b347db6c850dc:

  • mergeable: CONFLICTING (mergeStateStatus: DIRTY) against main, and 0 CI checks reported on codex/scanner-acceptance-3385.
  • Open items remain: node-failover checkpoint correlation in scripts/validation_scanner_all_in_one/oracles.py::resumed_bucket_checkpoint, list-object-versions pagination in runner.py::_site_a_inventory, synthetic FAIL entries in scripts/s3_conformance_runner.py::execute_minio_mint, and untranslated ENC-210/KMS-609 rows in docs/sse-contract-cases.zh-CN.md.

@overtrue overtrue left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Self-review verdict: Changes Needed (rebase required, 0 CI checks on head 8e5d1986, and 4 open items)

Reviewed head 8e5d19865a67a720b6752f5d6a2b347db6c850dc (+2730/-602 across 48 files):

  • CI & Mergeability: CONFLICTING (mergeStateStatus: DIRTY) against main, and 0 CI checks/statuses ran on current head 8e5d1986 (though rustfs/auto-testing configures 37 CI workflows).
  • Latest commit (8e5d1986, test(pools): verify live reload on a four-node cluster (#198)): scripts/validation_pool/pool_behavior.py (case_hot_reload_expand, case_hot_reload_decommission, case_hot_reload_negative_guards) cleanly polls preflight readiness, validates surviving-peer reloaded state, and enforces maintenance-mode/config-check error reasons.
  • Open items to resolve on rebase:
    1. Rebase codex/scanner-acceptance-3385 onto main, refresh validation-migration-review.json, and ensure CI passes on the rebased head.
    2. scripts/validation_scanner_all_in_one/oracles.py (resumed_bucket_checkpoint): Requiring old_pid and new_pid bucket_checkpoint_prepared events on the same node can miss checkpoint resumption if scanner leadership fails over to another peer after restart.
    3. scripts/validation_scanner_all_in_one/runner.py (_site_a_inventory): Single list-object-versions call lacks IsTruncated / KeyMarker / VersionIdMarker pagination.
    4. scripts/s3_conformance_runner.py (execute_minio_mint): Appends synthetic run.sh FAIL records to lines after log_file.write_text(...), leaving mint-logs/<target>/log.json without the synthetic failure entry.
    5. docs/sse-contract-cases.zh-CN.md: Translate the ENC-210 and KMS-609 rows into Chinese.

@overtrue overtrue left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Self-review verdict: Changes Needed (rebase required and 0 CI checks on head 8e5d1986).

Re-reviewed head 8e5d19865a:

  • Branch is CONFLICTING (mergeStateStatus: DIRTY) against main with 49 commits needing rebase/cleanup.
  • 0 CI checks have executed on 8e5d19865a. Rebase onto main and verify CI before merge.

@overtrue overtrue left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Self-review verdict: Changes Needed (rebase required, 0 CI checks on head 8e5d19865a67a720b6752f5d6a2b347db6c850dc, and open review items).

Re-reviewed head 8e5d19865a67a720b6752f5d6a2b347db6c850dc (Fix Scanner fleet evidence and IAM lifecycle probes, +2730/-602 across 48 files):

  • Mergeability & CI: Branch remains CONFLICTING (mergeStateStatus: DIRTY) against main, and 0 workflow CI checks have reported on codex/scanner-acceptance-3385 at head 8e5d1986.
  • Latest commit (8e5d1986, test(pools): verify live reload on a four-node cluster (#198)): scripts/validation_pool/pool_behavior.py (case_hot_reload_expand, case_hot_reload_decommission, case_hot_reload_negative_guards), scripts/validation_pool/run_case.sh, and test_validation_pool.py cleanly poll preflight readiness and validate surviving-peer reloaded topology.
  • Open items to address on rebase:
    1. Rebase codex/scanner-acceptance-3385 onto current main, refresh validation-migration-review.json, and ensure CI runs green on the rebased head.
    2. scripts/validation_scanner_all_in_one/oracles.py (resumed_bucket_checkpoint): Matching old_pid and new_pid bucket_checkpoint_prepared events only within the same node can miss checkpoint resumption if scanner leadership fails over to another peer.
    3. scripts/validation_scanner_all_in_one/runner.py (_site_a_inventory): Single list-object-versions call lacks IsTruncated / KeyMarker / VersionIdMarker pagination.
    4. scripts/s3_conformance_runner.py (execute_minio_mint): Appends synthetic run.sh FAIL records to lines after log_file.write_text(...), leaving mint-logs/<target>/log.json without the synthetic failure line.
    5. docs/sse-contract-cases.zh-CN.md: ENC-210 and KMS-609 descriptions remain untranslated in English.

@overtrue overtrue left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Self-review verdict: Changes needed (CONFLICTING / DIRTY against main, 0 CI checks on 8e5d1986, and 4 open items).

Mergeability & CI Status

  • Merge state: CONFLICTING (DIRTY) against main (8e5d19865a67a720b6752f5d6a2b347db6c850dc, +2730/-602 across 48 files).
  • CI: 0 workflow checks reported on codex/scanner-acceptance-3385 for head 8e5d1986.

Items to Address on Rebase

  1. Rebase & CI: Rebase codex/scanner-acceptance-3385 onto current main, reconcile shared files and validation-migration-review.json, and run CI to green.
  2. Cross-node checkpoint correlation (scripts/validation_scanner_all_in_one/oracles.py::resumed_bucket_checkpoint): Matching old_pid and new_pid bucket_checkpoint_prepared events only within the same node can miss a valid checkpoint handoff if scanner leadership fails over to another peer after restart.
  3. Unpaginated inventory (scripts/validation_scanner_all_in_one/runner.py::_site_a_inventory): Calls list-object-versions once without handling IsTruncated / KeyMarker / VersionIdMarker pagination.
  4. Mint log consistency (scripts/s3_conformance_runner.py::execute_minio_mint): Writes target_log_dir / "log.json" before appending synthetic run.sh FAIL entries to lines, so mint-logs/<target>/log.json lacks the failure record included in mint-results.jsonl.
  5. Untranslated docs (docs/sse-contract-cases.zh-CN.md): ENC-210 and KMS-609 rows are still in English.

@overtrue
overtrue force-pushed the codex/scanner-acceptance-3385 branch from 8e5d198 to caaa1f5 Compare December 3, 2026 00:56

@overtrue overtrue left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Self-review verdict: Approved (LGTM) — rebased onto main (5d7407c), resolved conflicts across test_validation_scanner_all_in_one.py and validation-migration-review.json, and fixed all 4 review items in caaa1f5bd9; awaiting completion of the remaining CI checks before merge.

Reviewed head caaa1f5bd9577a9a3cc40e982775d870a6a023a8:

  • Cross-node checkpoint correlation (scripts/validation_scanner_all_in_one/oracles.py::resumed_bucket_checkpoint): Matches pre-restart bucket_checkpoint_prepared events (epoch <= before_epoch) against post-restart resumption events (before_epoch < epoch <= after_epoch) across peers so scanner leadership failover does not drop valid checkpoint handoffs.
  • Paginated inventory (scripts/validation_scanner_all_in_one/runner.py::_list_object_versions_all): Uses --no-paginate and loops across IsTruncated / NextKeyMarker / NextVersionIdMarker with stall protection for _site_a_inventory and site_b_inventories.
  • Mint log consistency (scripts/s3_conformance_runner.py::execute_minio_mint): Re-writes target_log_dir / "log.json" after appending synthetic run.sh FAIL entries to lines.
  • Docs & governance (docs/sse-contract-cases.zh-CN.md, validation-migration-review.json): Translates ENC-210 and KMS-609 to Chinese and updates reviewed_files SHA-256 digests.
  • Local verification: validation_catalog.py check, validation_migration_review.py --require-complete, validation_registry.py check, validation_heal/matrix.py check, bash -n across all .sh files, and 356 targeted unit tests (335 + 21) passed.

overtrue and others added 20 commits December 3, 2026 08:58
@overtrue
overtrue force-pushed the codex/scanner-acceptance-3385 branch from caaa1f5 to 7ef5823 Compare December 3, 2026 00:59

@overtrue overtrue left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Self-review verdict: Approved (LGTM) — rebased onto main (a488ac0, including #196) at head 7ef5823606, preserving rustfs-storage-test.sh's SHA-256 digest in validation-migration-review.json and all 4 review fixes; awaiting fresh CI completion before merge.

Verified on 7ef58236067056d816a05c267453a6acdb656ada:

  • mergeable: MERGEABLE.
  • validation_catalog.py check, validation_migration_review.py --require-complete, and validation_registry.py check all pass after the rebase.

@overtrue
overtrue merged commit 4772c40 into main Dec 3, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant