Skip to content

perf(ci): start long race packages first and scope runner analysis - #33653

Merged
XuPeng-SH merged 4 commits into
matrixorigin:mainfrom
zuyu:codex/ci-race-package-order-sca
Dec 3, 2026
Merged

XuPeng-SH merged 4 commits into
matrixorigin:mainfrom
zuyu:codex/ci-race-package-order-sca

Conversation

@zuyu

@zuyu zuyu commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

What type of PR is this?

  • API-change
  • BUG
  • Improvement
  • Documentation
  • Feature
  • Test and CI
  • Code Refactoring

Which issue(s) this PR fixes:

Related to #29562. Follows #33644.

What this PR does / why we need it:

The required check for #33644 finished in 80m45s. Race UT finished last. In the ordinary embedded phase, the upgrade package took 7m05s of an 8m05s phase. The heavy/plan phase took 8m12s and ended with TAE database tests running alone. Start upgrade first in the parallel embedded pool and place the TAE tests first in the heavy package list. Both changes use the existing workers and test inventory. Baseline race job

The same run spent about 45 minutes on whole-repository Go analysis for edits to the race runner and its tests. Route modifications to four named runner scripts and changes to top-level optools Go tests through the existing package selector. Other files in the diff still contribute their usual scope. Unknown scripts, changes to the selector, and unverified inventories retain full analysis. Baseline static analysis

Replaying #33644's three changed paths against the current 505-package graph selects ./optools. Both pinned analyzers passed on that selection. The focused race scheduler suite passed 127 tests and subtests, and the two Node CI suites passed all 37 tests. This PR edits the selector itself, so its own hosted run exercises full static analysis.

@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 Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

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

@XuPeng-SH

XuPeng-SH commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

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

Commit: be24982b05b3de0726a0ded0c0693bf08732df04

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: be24982b05b3de0726a0ded0c0693bf08732df04

Assessment: approve

The change reuses the existing analysis selector and race-test scheduling controls, preserves conservative fallbacks and package partitioning, and introduces no actionable defect found in the assigned scope.

Model: gpt-6.1-terra / max

Session: 01a23504-137d-7f93-9b91-fd29f7f60fa2 · slot 1 · generation 42

Validation:

  • The static-analysis and change-scope Node suites passed all 37 tests after disabling VCS stamping for a temporary fixture.

  • A source-derived scheduler probe passed all 32 cases, including both new ordering cases, using the assigned test executor and Go 1.26.6.

  • Bash syntax and Git whitespace checks passed. A Go list check confirmed argument-order preservation with the locally installed toolchain.

  • The supplied head snapshot reports successful required, UT and SCA jobs. The PR also reports successful focused scheduler and pinned-analyzer checks.

Limitations:

  • The full checkout package test could not run locally: Go 1.26.6 is older than the required Go 1.27.1, and the toolchain download timed out. The scheduler probe is not a full package or cluster test.

  • No independent before-and-after CI timing or peak-resource comparison was performed.

@mergify mergify Bot added the queued label Dec 2, 2026
@mergify

mergify Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

❌ Left the queue · Matrixone CI execution / SCA Test on Linux/arm64 fails with this pull request

1 h 42 min in the queue, 1 h 36 min of it CI.

So far

  • ✅ Entered the queue Wed 2 Dec, 18:15 · rule main · triggered by rule Automatic queue on approval for main
  • ❌ Checks failed · in place
  • 🚫 Left the queue 19:56 · d68c51c

The failure is in this pull request. It failed on its own head commit.

Reason

The merge conditions cannot be satisfied due to failing checks

Failing checks:

To get back in the queue

  • Push a fix, then tick the box below to queue the pull request again.
  • If the failure is a flake, 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 66002aa into matrixorigin:main Dec 3, 2026
12 of 14 checks passed
@zuyu
zuyu deleted the codex/ci-race-package-order-sca branch December 3, 2026 01:54
XuPeng-SH added a commit that referenced this pull request Dec 3, 2026
## What type of PR is this?

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

## Which issue(s) this PR fixes:

Related to #32278 and #33700.

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

Use the same conditional upgrade reference in the Codex and Claude
development and review skills. Ordinary reviews skip release lookup,
cluster setup and upgrade reporting when the changed path has no
affected contract. Design review identifies the needed proof and
implementation review can reuse qualifying evidence.

- For a shared function ID or overload, compare the changed allocation
and binding against pinned releases and peer branches. Before landing,
refresh only comparisons whose registry inputs changed. A scoped
registry and binding check is sufficient for a fresh allocation that
preserves existing calls.
- Preserve the published catalog `(Version, VersionOffset)`, migration
order and effects. A required migration must reopen the predecessor's
data, reach readiness and preserve the affected system or existing
tenant operation. #33548 distinguishes a development-snapshot mismatch
from a released upgrade path.
- At a release cut, compare the predecessor's operations and maintenance
fixes toward the candidate, including features absent from the target
diff. A single PR checks its affected capability. A stateless operation
can use a released result or compatible client. For persisted
expressions, exercise old data and later writes. Examples include
#32924, #33558 and #33560.
- For a new durable format or a change to its selection, verify what the
existing setting and the explicit opt-in each write. #25272 introduces a
distinct disk layout. #32774 shows how existing byte and metadata checks
can close a buffer-only change.
- For restore, use the binding evidence actually available to the
loader. Check the restored definition on success and verify that an
unresolved binding leaves the definition and rows unchanged. #33036
documents a SQL-only archive where the same DDL can have two meanings.

All four skill entry points passed validation. Checked the routing
against CI scheduling (#33653), a test-only recovery fixture (#33684), a
CPU metrics dependency (#33635), same-binary batch transport (#33269),
and the actual #30833 ID collision. Reused the v4.2.9 catalog and
default-expression results from #33700 and inspected two
release-produced v1 manifests. The catalog reached READY before the old
default failed on clean main, and the unchanged restore control
reproduced its separate schema fingerprint rejection on both builds.

---------

Signed-off-by: XuPeng-SH <[email protected]>

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

kind/test-ci size/S Denotes a PR that changes [10,99] lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants