Skip to content

Fix 21469 - #21476

Merged
mergify[bot] merged 2 commits into
matrixorigin:mainfrom
XuPeng-SH:fix-21469
Mar 4, 2025
Merged

Fix 21469#21476
mergify[bot] merged 2 commits into
matrixorigin:mainfrom
XuPeng-SH:fix-21469

Conversation

@XuPeng-SH

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:

issue #21469

What this PR does / why we need it:

  1. fix Test_Replayer9
  2. update ignore file

fengttt pushed a commit to fengttt/matrixone that referenced this pull request May 7, 2026
1. fix Test_Replayer9
2. update ignore file

Approved by: @fengttt, @jiangxinmeng1
@XuPeng-SH
XuPeng-SH deleted the fix-21469 branch July 4, 2026 19:50
mergify Bot pushed a commit that referenced this pull request Oct 19, 2026
…ecks (#30235) (#30592)

A clean checkout could not complete its first native build: native libraries compiled successfully, then the provenance `record` step failed with `native inputs changed while the build was running` (Makefile:367).

Root cause: `cgo/mo-native-provenance` classifies native *inputs* with `git status --porcelain --untracked-files=all -- Makefile cgo thirdparties` at `prepare`/`begin`/`record`/`verify` time. The thirdparties Makefile extracts and compiles inside scratch trees (`_croaring_build`, `_fp16`, `_jemalloc_build`, `_simsimd`, `_stringzilla`, `_usearch_build`, `_xxhash_build`) that are recreated from the tracked tarballs on demand — their contents are build *outputs*, never inputs. The historical versioned extraction trees (`SimSIMD-*`, `StringZilla-*`, `fp16`, `usearch-*`, `install`) were added to `.gitignore` in #21476 for exactly this reason, but the Makefile later switched to underscore scratch names and `.gitignore` was never updated. Any scratch tree left behind — by an in-flight build at `record` time, an interrupted `make`, or an exited recipe — therefore misjudged the build as having user-edited inputs, failing a genuinely clean first build.

Fix, mirroring the established pattern: ignore the seven scratch trees. Genuine input changes must still be detected, and they are: a modified tracked file or any non-scratch untracked file under `Makefile`/`cgo`/`thirdparties` still makes the same `git status` non-empty (verified locally), demoting the build to local-only (`reusable=no`).

Approved by: @XuPeng-SH

This branch was previously deployed

1 inactive deployment
ci — e1539c2c Deployed Mar 4, 2025 by mergify[bot]
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.

4 participants