Repository navigation
ci: cross-compile tole-core for the mobile targets (E9 partial) - #82
Merged
Merged
Conversation
Embedder profile (--no-default-features: no subprocess tools, no MCP) is now compile-checked on aarch64-apple-ios (macos-14) and aarch64-linux-android (ubuntu runner + preinstalled NDK). Check-only — no link, no device. Android needs the NDK clang for bundled sqlite, so the job points the cc crate env vars at the newest runner NDK. Both invocations verified locally before landing: the iOS check on this macOS host, the android check with the same CC/AR env pattern against NDK r28.
🔍 Cora AI Code Review✅ No issues found. Code looks good! Review powered by cora-code · BYOK · MIT |
4 tasks
ajianaz
added a commit
that referenced
this pull request
Sep 18, 2026
…d rewrite, CLA files (#91) Docs pass aligned with the uteke workflow-standard rooms (codecora-workflow-standard + codecoradev-conventions): - README: badges, install from crates.io (tole-cli IS published — the 'build from source only' claim was stale), CLI command table, env-var reference table, sessions-location note, ecosystem repo links, workspace/evals layout, documentation index with CLA links. - CONTRIBUTING: rewritten to the ecosystem standard — branch-name prefixes, issue-first + templates, PR body sections (What/Why/ Changes/Testing), merge-gate checklist (real Cora verdict required, not just a green check), Cora Review 10-min split rule, CLA section, crates.io claim corrected. - AGENTS.md: restructured to the adopted 6-section Gatehouse standard (repo layout, branch & merge discipline, pre-commit checks, tooling, cross-session continuity, infra facts). New tooling mandate: cora index/brain/callers/impact/affected/query before and during coding (brain over blind grep), review/scan after; uteke recall/remember for cross-session continuity (namespace repo-tole, standards rooms are the source of truth). - CLA_INDIVIDUAL.md + CLA_CORPORATE.md added (org-generic, mirrored from codecoradev/cora-code per the every-repo-ships-CLA standard). - CHANGELOG: deduplicated the double '### Added' heading under Unreleased (artifact of merged PRs). - docs/architecture.md: 'Cross-build CI deferred to Phase 3' stale claims updated (landed in #82). Co-authored-by: ajianaz <[email protected]>
ajianaz
added a commit
that referenced
this pull request
Sep 29, 2026
#9) - perf_threshold.rs (CI-enforced regression gates): text-only turn, 10-call tool chain (full intent→effect→settle sandwich per call), crash-resume replay — each under a documented 2s budget (observed <50ms; ~40x headroom, so failures are real regressions not noise). Results recorded in docs/perf.md. - fuzz_lite.rs (deterministic LCG corpus, no rand dep): 400 hostile inputs x 5 tools (traversal, control chars, zero-width, flag injection, shell metacharacters, 300-char blobs) must settle Ok/Err — never panic; 600 fuzzed argv shapes through check_destructive_argv (teardown payloads never pass); truncation invariants (40 MiB stream → capped 32 MiB WITH the marked suffix — generated child-side, argv limits forbid shipping the payload). - epics Track C marked DONE; README links docs/perf.md. E9 acceptance: cross-build CI (#82) ✓, fuzz/panic-free ✓, perf doc ✓, public-ready (#79/#91) ✓.
ajianaz
added a commit
that referenced
this pull request
Sep 29, 2026
#9) - perf_threshold.rs (CI-enforced regression gates): text-only turn, 10-call tool chain (full intent→effect→settle sandwich per call), crash-resume replay — each under a documented 2s budget (observed <50ms; ~40x headroom, so failures are real regressions not noise). Results recorded in docs/perf.md. - fuzz_lite.rs (deterministic LCG corpus, no rand dep): 400 hostile inputs x 5 tools (traversal, control chars, zero-width, flag injection, shell metacharacters, 300-char blobs) must settle Ok/Err — never panic; 600 fuzzed argv shapes through check_destructive_argv (teardown payloads never pass); truncation invariants (40 MiB stream → capped 32 MiB WITH the marked suffix — generated child-side, argv limits forbid shipping the payload). - epics Track C marked DONE; README links docs/perf.md. E9 acceptance: cross-build CI (#82) ✓, fuzz/panic-free ✓, perf doc ✓, public-ready (#79/#91) ✓.
ajianaz
added a commit
that referenced
this pull request
Sep 29, 2026
#9) - perf_threshold.rs (CI-enforced regression gates): text-only turn, 10-call tool chain (full intent→effect→settle sandwich per call), crash-resume replay — each under a documented 2s budget (observed <50ms; ~40x headroom, so failures are real regressions not noise). Results recorded in docs/perf.md. - fuzz_lite.rs (deterministic LCG corpus, no rand dep): 400 hostile inputs x 5 tools (traversal, control chars, zero-width, flag injection, shell metacharacters, 300-char blobs) must settle Ok/Err — never panic; 600 fuzzed argv shapes through check_destructive_argv (teardown payloads never pass); truncation invariants (40 MiB stream → capped 32 MiB WITH the marked suffix — generated child-side, argv limits forbid shipping the payload). - epics Track C marked DONE; README links docs/perf.md. E9 acceptance: cross-build CI (#82) ✓, fuzz/panic-free ✓, perf doc ✓, public-ready (#79/#91) ✓.
ajianaz
added a commit
that referenced
this pull request
Sep 29, 2026
#9) - perf_threshold.rs (CI-enforced regression gates): text-only turn, 10-call tool chain (full intent→effect→settle sandwich per call), crash-resume replay — each under a documented 2s budget (observed <50ms; ~40x headroom, so failures are real regressions not noise). Results recorded in docs/perf.md. - fuzz_lite.rs (deterministic LCG corpus, no rand dep): 400 hostile inputs x 5 tools (traversal, control chars, zero-width, flag injection, shell metacharacters, 300-char blobs) must settle Ok/Err — never panic; 600 fuzzed argv shapes through check_destructive_argv (teardown payloads never pass); truncation invariants (40 MiB stream → capped 32 MiB WITH the marked suffix — generated child-side, argv limits forbid shipping the payload). - epics Track C marked DONE; README links docs/perf.md. E9 acceptance: cross-build CI (#82) ✓, fuzz/panic-free ✓, perf doc ✓, public-ready (#79/#91) ✓.
ajianaz
added a commit
that referenced
this pull request
Sep 29, 2026
#9) (#139) - perf_threshold.rs (CI-enforced regression gates): text-only turn, 10-call tool chain (full intent→effect→settle sandwich per call), crash-resume replay — each under a documented 2s budget (observed <50ms; ~40x headroom, so failures are real regressions not noise). Results recorded in docs/perf.md. - fuzz_lite.rs (deterministic LCG corpus, no rand dep): 400 hostile inputs x 5 tools (traversal, control chars, zero-width, flag injection, shell metacharacters, 300-char blobs) must settle Ok/Err — never panic; 600 fuzzed argv shapes through check_destructive_argv (teardown payloads never pass); truncation invariants (40 MiB stream → capped 32 MiB WITH the marked suffix — generated child-side, argv limits forbid shipping the payload). - epics Track C marked DONE; README links docs/perf.md. E9 acceptance: cross-build CI (#82) ✓, fuzz/panic-free ✓, perf doc ✓, public-ready (#79/#91) ✓. Co-authored-by: ajianaz <[email protected]>
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.
What
New
cross-compileCI matrix job:cargo check -p tole-core --no-default-featuresforaarch64-apple-ios(macos-14) andaarch64-linux-android(ubuntu + preinstalled NDK, cc env vars pointed at the newest runner NDK).Why
E9 acceptance (issue #9) requires the cross-build matrix. The embedder/mobile profile (no subprocess tools, no MCP) is core to the "mobile-ready core" claim but was never compile-checked by CI — default-feature invocations never touch that configuration.
Changes
.github/workflows/ci.yml: one matrix job, per-target rust-cache key, conditional NDK env setup (android only; iOS needs no extra toolchain)Testing