Skip to content

Make bvt ut pass 2 - #22

Merged
aunjgr merged 2 commits into
aunjgr:dedupjoinfrom
ouyuanning:make-bvt-ut-pass-2
Oct 14, 2024
Merged

aunjgr merged 2 commits into
aunjgr:dedupjoinfrom
ouyuanning:make-bvt-ut-pass-2

Conversation

@ouyuanning

Copy link
Copy Markdown

What type of PR is this?

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

Which issue(s) this PR fixes:

issue #

What this PR does / why we need it:

@ouyuanning
ouyuanning requested a review from aunjgr as a code owner October 14, 2024 02:30
@aunjgr
aunjgr merged commit 911795e into aunjgr:dedupjoin Oct 14, 2024
@ouyuanning
ouyuanning deleted the make-bvt-ut-pass-2 branch October 24, 2024 09:41
aunjgr added a commit that referenced this pull request May 6, 2026
- Add explanatory comments on hasUnsafeRangeOp: documents why only OR
  arms are recursed (AND pre-rejected by checkIndexFilter) and why
  in_range flags are not checked (only emitted for numParts==1).
- Add BVT #22b: OR-of-range with safe ops on single-part index.
- Add EXPLAIN assertion to BVT #24 (empty range) to catch plan regressions.
- Fix test #22 comment: was labeled "OR" but uses AND.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
aunjgr added a commit that referenced this pull request Sep 28, 2026
## What type of PR is this?

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

## Which issue(s) this PR fixes:

Refs matrixorigin#28966. This prerequisite does not close the migration issue.

## Review notes

- The owner [superseded the earlier optional-manifest
decision](matrixorigin#28966 (comment)):
Pixi is the sole GPU build provider in the final embedded shape;
CPU-only builds remain Pixi-free.
- [GPU toolchain design v2 at this
head](https://github.com/matrixorigin/matrixone/blob/3ee87c0426bf02c0de57e0fcabea6ce57a0a2b9f/docs/design/sirius-gpu-toolchain.md)
describes the provider, native provenance, and upgrade contract. Sirius
#22 removed its duplicate exporter; draft MO matrixorigin#29203 owns shared-prefix
enforcement and combined runtime packaging.
- MO GPU-only builds retain a small standalone Pixi lock. Combined
MO/Sirius builds use Sirius's single `mo` prefix. The upgrade helper
aligns shared direct constraints from Sirius's locked `mo` manifest and
lets Pixi resolve MO's own lock; it does not copy Sirius's
multi-environment lock.
- `@cpegeric` is a CODEOWNER for `cgo/cuda` and `cgo/cuvs`; CODEOWNER
and independent design review remain required.

Current-head validation at `3ee87c0426`: required MO CI passed,
including UT, Coverage, SCA, native-contract checks, and active multi-CN
BVT lanes. Both GPU Dockerfiles built at this head with rootless Podman;
their final runtime images passed the 333-ELF loader, dangling-link,
driver-stub, and outside-Pixi audit
([evidence](matrixorigin#29254 (comment))).
XuPeng-SH approved this exact design and implementation head. Sirius #22
has merged at `6adc9c0`; the combined MO/Sirius CGo bridge remains
separate draft matrixorigin#29203. CODEOWNER cpegeric's formal change request is
still outstanding. Earlier failed or pending CI runs belong to
superseded heads.

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

Make Pixi the sole provider for MatrixOne GPU builds while keeping
CPU-only builds independent of Pixi. Derive CUDA/cuVS inputs from the
activated frozen environment, rebuild native thirdparties when its lock
changes, and package GPU runtime libraries without dangling links,
conflicting basenames, or driver stubs. Remove the system CUDA/Conda
path and separate toolchain manifest, retain both GPU Dockerfiles, and
provide a safe upgrade helper for MO's standalone Pixi lock. Both
Dockerfiles now produce the same 2.67 GB final runtime image, about 70%
smaller than the historically reported 8.97 GB CUDA/Conda image.

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
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.

2 participants