ci: enable 6 previously-uncovered crates, drop orphan oserver #132

Merged
mahmoud merged 3 commits from development_cleanup_ci_coverage into development 2026-04-21 10:32:39 +00:00
Owner

Summary

Re-enables 6 crates that had silently been skipped in CI.

Changes

Test coverage: 10 → 16 of 16 workspace crates

ci_rust.sh only tested 10 crates. A stale header comment disabled herolib_os, herolib_virt, herolib_sid for reasons that no longer apply (verified locally); herolib_acp, herolib_tools, herolib_webserver were silently uncovered. All six have passing tests — they are now in the PACKAGES list.

Per-crate handling in the test runner:

  • herolib_os / herolib_acp / herolib_tools: skip doctests (live-git-URL assertions, missing rt-multi-thread feature, missing tokio_test dev-dep respectively)
  • herolib_virt: skip doctests + the nerdctl::container_test module (needs a running containerd daemon beyond what CI provides)

Phantom entry removal

The stale disabled-crates comment referenced herolib_osis — that crate does not exist in the workspace. Same pattern as the herolib_do ghost entry removed in PR #131.

Nit

Removed duplicate blank echo lines in ci_rust.sh final summary.

Scope note

An earlier commit on this branch proposed removing crates/oserver/ (orphan — not in workspace members, no downstream consumers, only dep was the already-deleted herolib_osis). That removal was reverted pending decision on whether to revive the OSIS server work — see issue #97. No net change to crates/oserver/ on this PR.

Verification

bash ci_rust.sh locally: 16/16 packages pass.

Test plan

  • bash ci_rust.sh locally passes all 16 packages
  • Forgejo Tests CI green on this branch
  • Lint CI green
## Summary Re-enables 6 crates that had silently been skipped in CI. ## Changes ### Test coverage: 10 → 16 of 16 workspace crates `ci_rust.sh` only tested 10 crates. A stale header comment disabled `herolib_os`, `herolib_virt`, `herolib_sid` for reasons that no longer apply (verified locally); `herolib_acp`, `herolib_tools`, `herolib_webserver` were silently uncovered. All six have passing tests — they are now in the PACKAGES list. Per-crate handling in the test runner: - `herolib_os` / `herolib_acp` / `herolib_tools`: skip doctests (live-git-URL assertions, missing `rt-multi-thread` feature, missing `tokio_test` dev-dep respectively) - `herolib_virt`: skip doctests + the `nerdctl::container_test` module (needs a running containerd daemon beyond what CI provides) ### Phantom entry removal The stale disabled-crates comment referenced `herolib_osis` — that crate does not exist in the workspace. Same pattern as the `herolib_do` ghost entry removed in PR #131. ### Nit Removed duplicate blank echo lines in `ci_rust.sh` final summary. ## Scope note An earlier commit on this branch proposed removing `crates/oserver/` (orphan — not in workspace members, no downstream consumers, only dep was the already-deleted `herolib_osis`). That removal was reverted pending decision on whether to revive the OSIS server work — see issue [#97](https://forge.ourworld.tf/lhumina_code/hero_lib/issues/97). No net change to `crates/oserver/` on this PR. ## Verification `bash ci_rust.sh` locally: 16/16 packages pass. ## Test plan - [x] `bash ci_rust.sh` locally passes all 16 packages - [ ] Forgejo Tests CI green on this branch - [ ] Lint CI green
ci: enable 6 previously-uncovered crates, drop orphan oserver
Some checks failed
Lint / lint-linux (pull_request) Successful in 1m43s
Tests with Services / test-linux (pull_request) Has been cancelled
0591be8b58
- Add herolib_acp, herolib_os, herolib_sid, herolib_tools, herolib_virt,
  herolib_webserver to ci_rust.sh PACKAGES (total: 10 → 16 of 16 workspace
  crates covered).
- Remove phantom herolib_osis entry from disabled-crates comment; crate
  does not exist in the workspace.
- Add per-crate handling in ci_rust.sh:
  - herolib_os / herolib_acp / herolib_tools: skip doctests (live git URL
    assertions, missing rt-multi-thread feature, missing tokio_test dev-dep)
  - herolib_virt: skip doctests + nerdctl::container_test module (needs
    a running containerd daemon beyond what CI provides)
- Delete crates/oserver/ — orphan crate not in workspace members; its only
  dep (herolib_osis at ../osis) was already removed. Any future OSIS server
  work should track issue #97.
- Remove duplicate echo cruft in ci_rust.sh final summary block.

Local run: 16/16 packages pass.
revert: keep crates/oserver/ for now, pending OSIS decision (issue #97)
All checks were successful
Lint / lint-linux (pull_request) Successful in 1m14s
Tests with Services / test-linux (pull_request) Successful in 9m54s
5c6c3cd68f
Merge branch 'development' into development_cleanup_ci_coverage
All checks were successful
Lint / lint-linux (pull_request) Successful in 2m6s
Tests with Services / test-linux (pull_request) Successful in 12m21s
0e865d0340
mahmoud merged commit 9fe89eb6a5 into development 2026-04-21 10:32:39 +00:00
mahmoud deleted branch development_cleanup_ci_coverage 2026-04-21 10:32:43 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_lib!132
No description provided.