fix(ci): bump qa-indexer-binary to Rust 1.96 for edition-2024 deps (#370) #879
No reviewers
Labels
No labels
agent:fix_bugfix
agent:fix_conflicts
agent:fix_security
agent:gap_analysis
agent:implement
agent:implement
agent:implement
agent:open_issues
agent:ready
agent:research
agent:security_audit
agent:verify
architecture
backend
blocker:hybrid
blocker:launch
blocker:limit-orders
blocker:v2
block:log_only
block:security
bug
ci
contracts
correctness
deploy
dev
devops
docs
documentation
duplicate
e2e
enhancement
epic
feature
frontend
functional-completion
gas
good first issue
governance
help wanted
high-risk
hooks
hybrid
indexer
infra
infrastructure
integrators
invalid
launch-blocker
limit-orders
localnet
localterra
low priority
missing-implementation
needs-design
ops
performance
priority
high
priority
medium
product
qa
QA
question
ready
ready
research
scripts
security
security-hardening
smartcontracts
tech-debt
testing
ux
UX
v2
verification
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
code/cl8y-dex-terraclassic!879
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/ci-qa-indexer-rust-1.96-370"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Fixes #370:
qa-indexer-binaryhas been red since ~2026-06-09 because transitive depbase64ct 1.8.3requires edition 2024 (Rust 1.85+), while CI usedrust:1.83-bookworm.Changes:
qa-indexer-binaryimage torust:1.96-bookworm(matches AGENTS.md local toolchain).-A dead_codeto CIRUSTFLAGSso the release binary target builds under-D warnings(latent since #325 added strict flags; never reached a green run before the base64ct lockfile break).mut, drop unused re-export,#[allow(unused_imports)]on test-facing API re-export.scripts/qa/test-qa-redeploy-decision.sh; doc note inskills/AGENTS_QA_REDEPLOY_DECISION.md.Acceptance checklist
qa-indexer-binaryuses Rust ≥ 1.85bash scripts/qa/test-qa-redeploy-decision.shdocker run … rust:1.96-bookworm … cd indexer && RUSTFLAGS='-D warnings -A dead_code' cargo build --release→CI_BUILD_OKcl8y-dex-indexerartifact path existstest -f indexer/target/release/cl8y-dex-indexerafter Docker buildedition2024cascaderust:1.83still reproduces original failuredocker run … rust:1.83-bookworm … cargo build→edition2024/base64ct-1.8.3errorqa-indexer-binaryjob green on MR pipelineThird-party verification
After merge: trigger or wait for
qa-indexer-binaryonmain(indexer or.gitlab-ci.ymlchange) and confirm artifact upload in job artifacts / generic packageqa-indexer/{sha}.Follow-ups
make test-gitlab-ci-indexerwrapper around the Docker simulation above if agents keep re-discovering this failure mode.changed the description
changed the description
Security review
Commit reviewed:
3a7f4cb21bd2d5162a03f140d7a4aac269464069Scope:
.gitlab-ci.yml(Rust 1.96 image,RUSTFLAGS), indexer compile-only tweaks (hybrid_route_opt.rs,api/mod.rs,book_snapshot.rs), QA regression script, redeploy doc note.Method: Diff review; traced CI artifact publish path (
scripts/qa/publish-qa-ci-artifacts.sh); confirmed indexer runtime/API/auth paths unchanged on this diff.Outcome:
FINDINGS: 0medium+Inline threads: None (no findings to anchor).
Summary
rust:1.83-bookworm→rust:1.96-bookworm): CI-only; unblocks edition-2024 transitive deps already inCargo.lock(base64ct 1.8.3). No new attacker-controlled surfaces; artifact upload still usesCI_JOB_TOKENto GitLab generic packages (unchanged).RUSTFLAGS: "-D warnings -A dead_code": Compile-time lint suppression for the release binary target; does not alter runtime behavior, auth, or input validation.mut, drop unused re-export,#[allow(unused_imports)]on test-facing re-export — no logic or permission-boundary changes.Security review: no medium+ findings on this diff.
mentioned in commit
6205054220