Skip to content

BM-3086: fix(examples): repair nightly examples — missing bytes-compat remapping - #2062

Merged
jonastheis merged 1 commit into
mainfrom
jonas/fix-nightly-examples
Jul 8, 2026
Merged

BM-3086: fix(examples): repair nightly examples — missing bytes-compat remapping#2062
jonastheis merged 1 commit into
mainfrom
jonas/fix-nightly-examples

Conversation

@jonastheis

Copy link
Copy Markdown
Contributor

Summary

The last two nightly examples runs failed (2026-07-08, 2026-07-07). This fixes the code regression behind one of the two failures and makes the other fail loudly at its actual source.

Changes

  • Add bytes-compat/ remapping to examples/smart-contract-requestor/remappings.txt. BM-3078: feat(contracts): run the router market on Taiko via the shared Shanghai profile #2044 added import {Bytes} from "bytes-compat/Bytes.sol" to contracts/src/types/Predicate.sol and the matching remapping to the root foundry.toml, but the example keeps its own remappings.txt, which was not updated. Since the example imports boundless-market/types/Predicate.sol (directly and via ProofRequest.sol), its forge build broke in the first nightly run on that commit. The new remapping points at the root OpenZeppelin checkout, matching how the rest of contracts/src resolves OZ imports in this build. Verified locally with forge build and forge test in the example.

  • Use curl --fail for the blake3 groth16 artifact download in nightly-examples.yml. The blake3-groth16 job failed both nights because blake3_groth16_artifacts.tar.xz is gone from the staging signal-artifacts bucket — the URL now serves a Cloudflare 404 HTML page, which curl happily saved and tar then rejected with a confusing "File format not recognized". With --fail, the download step itself fails on HTTP errors.

Note: this PR does not fix the blake3-groth16 job — the artifact needs to be re-uploaded to the bucket (likely deleted by the R2 retention policy; docker-services.yml bakes in the same URL and is affected too). That is an ops action tracked separately.

…equestor

PR #2044 added a bytes-compat import to contracts/src/types/Predicate.sol and the corresponding remapping to the root foundry.toml, but the smart-contract-requestor example has its own remappings.txt that was not updated, breaking its forge build in the nightly examples workflow.

Also add --fail to the blake3 groth16 artifact download so a missing artifact fails the download step instead of passing an HTML error page to tar.
@github-actions github-actions Bot changed the title fix(examples): repair nightly examples — missing bytes-compat remapping BM-3086: fix(examples): repair nightly examples — missing bytes-compat remapping Jul 8, 2026
@linear

linear Bot commented Jul 8, 2026

Copy link
Copy Markdown

BM-3086

@jonastheis

Copy link
Copy Markdown
Contributor Author

examples passed again on this branch: https://github.com/boundless-xyz/boundless/actions/runs/28934785576

@jonastheis
jonastheis enabled auto-merge (squash) July 8, 2026 11:27
@jonastheis
jonastheis merged commit 774f66e into main Jul 8, 2026
30 of 32 checks passed
@jonastheis
jonastheis deleted the jonas/fix-nightly-examples branch July 8, 2026 11:44
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