Skip to content

build: CI toolchain fix, mold, aws-lc-sys shed, tokio-tungstenite 0.29 - #5453

Merged
senamakel merged 4 commits into
tinyhumansai:mainfrom
senamakel:build-time-phase1
Aug 9, 2026
Merged

senamakel merged 4 commits into
tinyhumansai:mainfrom
senamakel:build-time-phase1

Conversation

@senamakel

Copy link
Copy Markdown
Member

Phase 1 of the build-time reduction program: three infrastructure quick wins with no product-surface change.

Changes

  1. CI toolchain unification — the CI image installed Rust 1.93.0 while rust-toolchain.toml pins 1.96.1, so every Rust job downloaded and installed a full toolchain before its first cargo call. All 17 openhuman_ci image references and 11 version-pinned dtolnay/rust-toolchain steps now match, guarded by a new scripts/ci/check-toolchain-image.mjs drift check wired into the Rust Quality lane. Also enables the already-installed-but-unused mold linker on the 9 Linux container jobs that run cargo, and adds scripts/dev-setup-linker.sh for opt-in local mold/lld setup (writes to $CARGO_HOME, never the repo config).
  2. aws-lc-sys shed — its sole activator was two dependency lines in vendor/tinychannels missing default-features = false, unioning rustls's default aws-lc provider into every consumer graph despite the ring provider being installed explicitly at all call sites. Gone from both Cargo worlds; now forbidden by scripts/check-linux-tls-dependencies.sh. Kernel profile: 312/285/6 native → 304/281/5 native. Depends on fix(deps): stop pulling the aws-lc rustls provider tinychannels#14 (gitlink bumped here).
  3. tokio-tungstenite 0.24 → 0.29 — unifies the kernel profile on one tungstenite major and sheds the duplicate thiserror 1.x + thiserror-impl 1.x proc-macro compile. The default profile still carries 0.24 transitively via socketioxide 0.15 (documented in kernel-floor.limits; a socketioxide bump is a separate follow-up). Depends on chore(deps): bump tokio-tungstenite to 0.29 in the Rust SDK tiny.place#273 (gitlink bumped here).

Measured

scripts/kernel-floor.sh flows: 312 pkgs / 285 names / 6 native → 304 / 281 / 5 (ratchet written back).

Ordering note

The workflow changes reference the image tag openhuman_ci:rust-1.96.1, which does not exist yet — build-ci-image.yml must run and publish it before this PR's container jobs can go green.

Part of the build-time reduction program; the Phase 2 deletions PR is stacked on this branch.

senamakel and others added 3 commits August 8, 2026 18:58
…inker setup

Co-authored-by: Medulla <medulla@tinyhumans.ai>
…in the TLS policy

Co-authored-by: Medulla <medulla@tinyhumans.ai>
…24 and thiserror 1.x from the kernel profile

Co-authored-by: Medulla <medulla@tinyhumans.ai>
@senamakel
senamakel requested a review from a team August 8, 2026 17:02
@coderabbitai

coderabbitai Bot commented Aug 8, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You’ve reached a temporary PR review limit under our Fair Usage Limits Policy.

Your recent review volume is higher than typical usage, so adaptive limits are currently applied.

Next review available in: 46 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: c665cae9-ea79-47a0-8589-e70214c01752

📥 Commits

Reviewing files that changed from the base of the PR and between 8df4483 and 7efed9a.

⛔ Files ignored due to path filters (2)
  • Cargo.lock is excluded by !**/*.lock
  • app/src-tauri/Cargo.lock is excluded by !**/*.lock
📒 Files selected for processing (24)
  • .github/Dockerfile
  • .github/workflows/android-compile.yml
  • .github/workflows/build-ci-image.yml
  • .github/workflows/build-desktop.yml
  • .github/workflows/ci-lite.yml
  • .github/workflows/e2e-agent-review.yml
  • .github/workflows/e2e-reusable.yml
  • .github/workflows/ios-appstore.yml
  • .github/workflows/ios-compile.yml
  • .github/workflows/pr-quality.yml
  • .github/workflows/release-packages.yml
  • .github/workflows/release-production.yml
  • .github/workflows/test-reusable.yml
  • Cargo.toml
  • gitbooks/developing/building-rust-core.md
  • scripts/check-linux-tls-dependencies.sh
  • scripts/ci/check-toolchain-image.mjs
  • scripts/dev-setup-linker.sh
  • scripts/kernel-floor.limits
  • src/openhuman/platform/socket/ws_loop.rs
  • src/openhuman/platform/socket/ws_loop_tests.rs
  • tests/raw_coverage/inference_voice_http_round23_raw_coverage_e2e.rs
  • vendor/tinychannels
  • vendor/tinyplace

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4b7d99ca7d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/check-linux-tls-dependencies.sh Outdated
Comment thread scripts/dev-setup-linker.sh
Comment thread .github/workflows/ci-lite.yml Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7efed9ad36

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

{
sub(/[[:space:]]*#.*/, "")
gsub(/^[[:space:]]+|[[:space:]]+$/, "")
if ($0 == table) found = 1

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Recognize quoted target table names

When an existing $CARGO_HOME/config.toml uses Cargo's valid quoted spelling—such as [target.'x86_64-unknown-linux-gnu'] or [target."x86_64-unknown-linux-gnu"]—this exact string comparison misses it and appends the unquoted equivalent. TOML treats these spellings as the same table, so Cargo subsequently rejects the configuration as a duplicate declaration. Fresh evidence beyond the prior thread is that the added guard handles whitespace and comments but does not normalize quoted table keys; parse or recognize all equivalent spellings before modifying the file.

Useful? React with 👍 / 👎.

@senamakel
senamakel merged commit 102e3ff into tinyhumansai:main Aug 9, 2026
11 of 21 checks passed
senamakel added a commit to nocstah/openhuman that referenced this pull request Sep 11, 2026
…\n\nbuild: CI toolchain fix, mold, aws-lc-sys shed, tokio-tungstenite 0.29\n
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.

1 participant