You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8b18024
Browse filesBrowse the repository at this point in the historyBrowse files
Review fixes for #418 / matrixone#27077 (XuPeng-SH, aptend, LeftHandCold):
[P0] No credential may share a runner with PR-controlled code. The
shared build job drops environment: ci and every registry secret; all
ci-builder pulls (build-mo and the three seed steps) are now anonymous
and the checkout no longer persists its token. If anonymous ACR pulls
are not permitted, provision a pull-only credential at the runner/node
level via infrastructure — never via workflow-level docker login, which
persists credentials in runner docker state that later PR-controlled
steps can read.
[P1] The prebuilt thirdparties/install tree now restores only on an
exact fingerprint match (schema, os, arch, git rev-parse
HEAD:thirdparties — the tree hash covers every archive, header, the
Makefile with its flags, and the download script) at all four
consumers; any mismatch clears the seed and builds native deps from
source. Go module/build caches remain best-effort acceleration, which
is always correctness-safe.
[P2] Fallback now lives inside the producer: the cached container build
is best-effort (continue-on-error) with ownership repair and a loader
smoke test; on any failure the job sets up the checkout's Go toolchain
and runs the existing make clean cold build, and packaging (with a
final env -u LD_LIBRARY_PATH smoke test) runs after either path. A
consumer skip via needs now only happens on a genuine compile failure,
which is the intended behavior.
Also per review: every runtime DSO ships under lib/ ($ORIGIN/lib), the
prebuilt-cgo/ contract is gone, and the Docker Hub fallback pull is
time-bounded like the ACR attempt so a registry outage cannot make the
optimized path slower than the cold baseline (layers are content-
addressed, so a timed-out ACR attempt still counts toward the Docker
Hub attempt).
Co-Authored-By: Claude Fable 5 <[email protected]>
0 commit comments