Skip to content

Add CI build job to reduce broken main#969

Open
randavidovitz wants to merge 7 commits intoRightNow-AI:mainfrom
randavidovitz:ci/add-build-job
Open

Add CI build job to reduce broken main#969
randavidovitz wants to merge 7 commits intoRightNow-AI:mainfrom
randavidovitz:ci/add-build-job

Conversation

@randavidovitz
Copy link
Copy Markdown

Summary

  • Add build job to CI that runs cargo build --workspace --lib on all 3 platforms (ubuntu, macos, windows)
  • This catches compilation/linker errors before merge, preventing broken builds from being merged
  • Fix formatting issues
  • Fix audit critical issues (manual upgrade until handle by parent dependency)
  • Fix compilation issues related to xxx ( fixes Not compiling #959 )

Why

Previously CI only ran cargo check (type-level validation). Actual compilation errors could slip through. This ensures the code actually compiles before merging.

Testing

  • Verify CI passes on this PR
  • cargo clippy --workspace --all-targets -- -D warnings passes
  • cargo test --workspace passes
  • Live integration tested (if applicable)

Security

  • No new unsafe code
  • No secrets or API keys in diff
  • User input validated at boundaries

Copy link
Copy Markdown
Member

@jaberjaber23 jaberjaber23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Good addition of cross-platform build verification. The audit ignore for RUSTSEC-2026-0049 is appropriately documented (rumqttc upstream). Please rebase on main.

@jaberjaber23
Copy link
Copy Markdown
Member

This PR has merge conflicts. Please rebase onto the latest main branch and resolve conflicts so we can merge.

@randavidovitz
Copy link
Copy Markdown
Author

@jaberjaber23 this indicated "1 workflow awaiting approval"

randavidovitz and others added 4 commits April 11, 2026 17:44
Following rebase on head needed to fixed failure of checks
1. Formatting
2. Clippy
build is failing on dead code, i decided to add exception (ignore) this
since i assume this will be used in later commits
…_arg)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…95/0096)

Resolves 11 wasmtime vulnerabilities including two severity-9 sandbox
escapes (Winch backend and aarch64 Cranelift miscompilation). Adapts
sandbox.rs func_wrap closures to wasmtime 43's split Error type: replaced
anyhow::{bail,anyhow} with wasmtime's re-exported bail!/format_err! and
updated return types from Result<_, anyhow::Error> to wasmtime::Result<_>.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ANierbeck
Copy link
Copy Markdown

sorry ... didn't see this one before #1039 ... should be similar and it's based on the latest main.

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.

Not compiling

3 participants