Repository navigation
Conversation
95b066b to
1b3cd06
Compare
KuSh
left a comment
There was a problem hiding this comment.
Apart from some unrelated changes in vitest_cmd and tracking, LGTM!
|
postponed by team |
|
"Postponed" by team and "invalid" label @aeppling, what can be done to improve and merge this refactoring? |
|
A side effect of this split that may be worth adding to the case for it: the crate currently has 24 rustdoc examples that can never run. Provenance: AI-assisted source audit, human-directed, at v0.44.2 ( There is no They have already drifted as a result. /// use rtk::tracking::Tracker;
/// use rtk::utils::strip_ansi;
The real paths are There is also at least one example whose assertion contradicts the code it documents — So the split would turn 24 currently-inert examples into checked ones — and, based on the two above, would surface a handful of pre-existing inaccuracies on the first run. Worth expecting that as part of the change rather than a surprise. No opinion on the bundling motivation itself; just adding a second reason that is independently verifiable. |
|
Hi @aeppling — this is exactly what’s needed for embedding RTK as a library in a tool with its own in-process bash execution (rather than a shell hook or an external binary on PATH). I noticed it’s currently shelved with the invalid label / “postponed by team” after being approved by both maintainers. Is the lib split still on the table? Would a rebase onto develop (or addressing what held it up) help get it landed? Happy to help rebase or to field questions on the downstream use case: in-process registry::rewrite_command plus core::runner::run_filtered/run_streamed for captured-output compression. |
|
Hey guys, @vpelikh @HetCreep @reneleonhardt Thanks for interest, yes still on the table, I'll try moving forward with this asap |
|
I'll move forward with this on next week I think, this week RTK 1.0.0 is landing with new features so this need to wait a little bit :) |
Summary
Test plan