Repository navigation
ci: add 4 load-bearing crates to CI workflow (skipped openrouter-runtime) - #100
Conversation
Per audit B-7b, CI explicitly named only 7 of 92 workspace crates in the `build` job. The remaining ~80% of crate lib-tests were never run in CI. This commit adds 4 of the 5 highest-leverage crates by test count and user-surface criticality: - jcode-provider-core (127 tests) — shared provider surface - jcode-provider-openai-runtime (133 tests, 3 ignored) — most-used streaming - jcode-tui-markdown (148 tests) — render layer - jcode-command-risk (209 tests) — safety-critical classifier jcode-provider-openrouter-runtime is intentionally skipped: it has a pre-existing test failure at HEAD 748eeaa (`autodetected_profile_seeds_default_model_and_cache_namespace` expects `glm-4.5` but the autodetected default is now `glm-5.3`, a model-name drift). Tracked separately; the 4 added here are the audit-clean subset. Total: +617 lib tests per CI run, ~5 min added CI time. tx-agent: jcode tx-validated: test tx-task: B-audit-2026-10-16-option-b tx-scope: .github/workflows/ci.yml tx-intent: close ~10% of the 75-crate test-surface gap with the audit-clean subset of highest-leverage crates
🤖 CodeAnt AI — Review Status
|
Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 58 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
CodeAnt PR Risk: Low Risk
Assessed commit: |
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Overview
Files Reviewed (1 file)
Previous suggestion on Previous Review Summary (commit b01a3b0)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit b01a3b0)Status: 1 Suggestion (pre-existing inline comment) | Recommendation: Address before merge Overview
Issue Details (click to expand)SUGGESTION
Files Reviewed (1 file)
Reviewed by free · Input: 61.8K · Output: 5.6K · Cached: 143.1K |
|
FIXED: markdown_latex_image tests reset the global FAILED_RENDERS cache between assertions, so default libtest parallelism permits interference. Added --test-threads=1 to the jcode-tui-markdown lib test CI command. Validation: cargo check -p jcode-tui-markdown --no-default-features -j 1 passed; confirmed the flag is scoped to that target. |
|
Receipt: reviewed the finding against current PR tip ee32c05.
Validation: confirmed the shared FAILED_RENDERS/reset call sites and the CI command. Cargo validation was attempted; the environment did not complete it (details recorded in kcodeant-RESULT.md). No successful compile/test run is claimed. No additional fix commit was needed or pushed. |
* docs(audit): 2026-10-17 full-state audit mdset (10 lanes, 4 PRs) 10-agent subagent-driven audit of the KCode fork. 18 artifacts in this mdset cover all 10 audit lanes plus the new artifacts from the in-flight agents that completed during this cycle. In this cycle we shipped: - PR #99 fix(a2/auto-dream): make LLM-stub path honest - PR #100 ci: add 4 load-bearing crates to CI workflow - PR #101 docs(readme): correct provider count - PR #105 fix(tui/swarm-rename): wire TUI rename handler (A-1 retry) Investigated, not merged: - PR #94 (fork builds never auto-update): 3 real issues filed in #104 - 9 STALE PRs: 7 closed, 4 commented, label 'needs-operator-decision' created - 6 cherry-pick candidates identified (low-risk additive) - 1 critical security patch (rustls/quinn-proto) requires manual Cargo.lock fix Constraints honored: - No destructive git ops - No upstream PRs from KooshaPari/ (binding memo 2026-10-15) tx-agent: jcode tx-validated: manual tx-scope: docs/audits/2026-10-17-full-state/ tx-intent: persist 10-lane audit artifacts in the source repo * docs(audit): verify CLI test target and correct fork divergence counts
User description
Summary
Adds four previously-skipped load-bearing crates to the CI matrix:
jcode-provider-corejcode-provider-openai-runtimejcode-tui-markdownjcode-command-riskThese crates compile fine but were absent from CI, meaning regressions could land on master undetected.
Why one crate was skipped
jcode-provider-openrouter-runtimeis intentionally not added. At HEAD748eeaa1eit has a pre-existing test failure: the test expects theglm-4.5model to be the autodetected default, but the runtime now defaults toglm-5.3(the model catalog rotated). Fixing that requires either updating the test expectation or pinning the test fixture to an older catalog snapshot — both are small but neither is in scope for this PR.Filed as a separate follow-up issue so it can be tracked and resolved independently. Once that test passes, this crate should be added in a follow-up PR.
Audit source
~/.jcode/scratch/audit/B-test-integrity.md— coverage gaps in CI matrix.Acceptance criteria
jcode-provider-openrouter-runtime) is documented with a follow-up referencejcode-provider-openrouter-runtimemodel-default drift — separate issueCodeAnt-AI Description
Run four additional crate test suites in CI
What Changed
Impact
✅ Earlier detection of risk-classifier regressions✅ Earlier detection of Markdown-rendering regressions✅ Earlier detection of provider regressions💡 Usage Guide
Checking Your Pull Request
Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.
Talking to CodeAnt AI
Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:
This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.
Example
Preserve Org Learnings with CodeAnt
You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:
This helps CodeAnt AI learn and adapt to your team's coding style and standards.
Example
Retrigger review
Ask CodeAnt AI to review the PR again, by typing:
Check Your Repository Health
To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.