Repository navigation
fix(ci): skip offline workspace metadata in web-build.sh and clear 3 rune warnings - #2670
Merged
Merged
Conversation
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
wwwCI failure inscripts/web-build.sh:copy_inter_facespreviously rancargo metadata --format-version 1 --offline --filter-platform wasm32-unknown-unknownwhenever dep-info had noInter-Regular.ttfentry (such asrune-www, which builds withdefault-features = falseagainst the workspace's pathrune). Becausecargo metadataresolves every workspace member,--offlinefailed trying to fetch unrelated crates liketoml_writerforrune-cli.Cargo.lockcontains no non-path (git/registry)runepackage, skipcargo metadataentirely (dep-info already covers path crates).cargo metadatais still needed (git/registryruneor missing dep-info), try--offlinefirst and fall back to without--offlineif an unrelated workspace member has uncached crates.runecompiler warnings:crates/rune/src/a11y/roles.rs: remove duplicate unreachableRole::Articlematch arm.crates/rune/src/window/spec.rs: allowdead_codeonErased::{handle, secondary}for releasewasm32builds withouttooling.crates/rune/src/overlay/after_hidden.rs: cfg-gateEvent::{SyncAnswered, SyncFailed}and theirsteparms to Wayland-capable Unix targets andtest.Verification
bash -n scripts/web-build.shpassed.cargo check -p rune,cargo check-wasm, andcargo check --release -p rune --no-default-features --target wasm32-unknown-unknownpassed with 0 warnings inrune.cargo test -p rune --lib overlay::after_hiddenpassed (6/6).