ci: build dev track and PR checks against dependency main #6

Merged
Breadway merged 1 commit from feature/dev-deps-main into main 2026-09-28 06:52:01 +08:00
Owner

Part of ECO-38.

check.yml and dev-release.yml now clone bread-ecosystem's main once, run scripts/lint-pins.sh (check.yml only) and scripts/dev-deps.sh to patch bread-theme, bread-utils, bread-onnx and bread-screenshots (all from bread-ecosystem) to their own main branch, and build without --locked. Cargo.toml stays tag-pinned throughout; nothing is committed back.

rc-release.yml and release.yml are untouched: tag pins plus --locked, no patching, as before.

DEV_DEPS_DIR is left at its default (a true sibling of the checkout): breadsearch is a Cargo workspace, so forcing the clone inside the checkout breaks Cargo's workspace-field inheritance (the bug found rolling this out to breadbox). ci/build.sh's pinned rev is bumped to bread-ecosystem's fix for this.

Verified locally end to end: lint-pins, dev-deps.sh with its default sibling DEV_DEPS_DIR, and a dockerized cargo clippy --workspace --all-targets --features full through ci/build.sh all pass against a real breadsearch checkout. Cargo.lock verified fresh and every git.breadway.dev dependency is already tag-pinned.

Part of ECO-38. check.yml and dev-release.yml now clone bread-ecosystem's main once, run scripts/lint-pins.sh (check.yml only) and scripts/dev-deps.sh to patch bread-theme, bread-utils, bread-onnx and bread-screenshots (all from bread-ecosystem) to their own main branch, and build without --locked. Cargo.toml stays tag-pinned throughout; nothing is committed back. rc-release.yml and release.yml are untouched: tag pins plus --locked, no patching, as before. DEV_DEPS_DIR is left at its default (a true sibling of the checkout): breadsearch is a Cargo workspace, so forcing the clone inside the checkout breaks Cargo's workspace-field inheritance (the bug found rolling this out to breadbox). ci/build.sh's pinned rev is bumped to bread-ecosystem's fix for this. Verified locally end to end: lint-pins, dev-deps.sh with its default sibling DEV_DEPS_DIR, and a dockerized `cargo clippy --workspace --all-targets --features full` through ci/build.sh all pass against a real breadsearch checkout. Cargo.lock verified fresh and every git.breadway.dev dependency is already tag-pinned.
ci: build dev track and PR checks against dependency main
All checks were successful
check / check (push) Successful in 3m12s
3c947c1f68
Part of ECO-38. check.yml and dev-release.yml now clone
bread-ecosystem's main, run scripts/lint-pins.sh (check.yml only) and
scripts/dev-deps.sh to patch bread-theme, bread-utils, bread-onnx and
bread-screenshots to their own main branch, and build without
--locked. rc-release.yml and release.yml stay on tag pins with
--locked, untouched.

DEV_DEPS_DIR is left at its default (a true sibling of the checkout):
breadsearch is a Cargo workspace, so forcing the clone inside the
checkout breaks Cargo's workspace-field inheritance. ci/build.sh's
pinned rev is bumped to bread-ecosystem's fix for this.

Verified locally end to end: lint-pins, dev-deps.sh with its default
sibling DEV_DEPS_DIR, and a dockerized cargo clippy --workspace
--features full through ci/build.sh all pass against a real
breadsearch checkout.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Breadway/breadsearch!6
No description provided.