fix: restore post-merge Rust coverage compilation - #6248
Conversation
Co-authored-by: Medulla <medulla@tinyhumans.ai>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (7)
📝 WalkthroughWalkthroughThe change removes flow entity definitions, reorganizes feature-gated skills modules, extracts the uninstall tool module, and updates coverage commands for feature-enabled ChangesFlow API removal
Skills module reorganization
Embed coverage updates
Estimated code review effort: 3 (Moderate) | ~25 minutes Change: Bug fix Suggested reviewers: ✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
A rabbit checks the modules bright Comment |
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
How this change flows2 changed behaviours across 11 relationships. 5 surrounding behaviours are shown (60 graph nodes walked). 30 further behaviours left out to keep the diagram readable. flowchart LR
n0["ops_create<br/>changed"]:::changed
n1["read_workflow_resource_with_profile<br/>changed"]:::changed
n2["from_value"]:::impacted
n3["...w_resource_with_profile_resolution_matrix"]:::impacted
n4["...input_def_deserializes_full_row_from_json"]:::impacted
n5["...reate_input_def_required_defaults_to_true"]:::impacted
n6["join"]:::impacted
n1 -->|calls| n6
n3 -->|calls| n1
n3 -->|tests| n1
n3 -->|calls| n6
n3 -->|tests| n6
n4 -->|uses| n0
n4 -->|calls| n2
n4 -->|tests| n2
n5 -->|uses| n0
n5 -->|calls| n2
n5 -->|tests| n2
classDef changed fill:#0d4429,stroke:#238636,color:#e6edf3
classDef impacted fill:#161b22,stroke:#6e7681,color:#c9d1d9
classDef flagged fill:#5a1e02,stroke:#d93f0b,color:#ffffff
classDef blocking fill:#67060c,stroke:#f85149,color:#ffffff
Green: changed behaviour. Grey: surrounding behaviour. Arrows name the call, use, implementation, or test relationship. Orange: has findings. Red: has a finding that blocks the merge. |
Summary
Fixes the post-merge CI Lite Rust Core Coverage failure on
main.openhuman-embedcoverage runs, so itsmcpandskillsfaçades are measured.openhuman-tuion its own featureless coverage invocation; it does not expose the embed/core product-feature vocabulary.flows/types.rsleft behind by the tinyflows-catalog migration.Bugs found
CI Lite run 34807334015 produced no lcov records for six files. Two split skill files were not in their parent module graph; three embed façades were gated by features that the coverage runner did not pass to the embed package. The result was a coverage-policy failure despite passing tests.
The follow-up validation also exposed a stale
Workflowimport after moving the resolver, whichclippy -D warningscorrectly rejected. The initial coverage-helper repair was too broad: it would have passed unknown core features to the TUI package. Both are corrected here.The next full coverage run found two final presence failures:
flows/types.rswas an unreachable pre-migration duplicate, whileopenhuman-embed/src/medulla.rsis deliberately excluded from the Tauri product by the existing Medulla product-boundary policy.The first final rerun was cancelled at the 90-minute job ceiling because
openhuman-embed/tests/harness_embed.rsstalled on its first mocked provider turn. The same test passes locally both normally (3.60s) and coverage-instrumented (3.54s); this is tracked as an intermittent CI stall and the cancelled job has been rerun without altering product behavior.Validation
cargo fmt --all -- --checkpassed.cargo clippy -p openhuman --features "$(bash scripts/ci/product-features.sh)" -- -D warningspassed locally after the import cleanup.cargo llvm-cov --features "$(bash scripts/ci/product-features.sh)" --no-report --no-fail-fast -p openhuman-embed --test harness_embed -- --test-threads=1passed locally.Summary by CodeRabbit