Runs the full resolution ladder once. Explicit paths never fall back; discovery mode tries, in order: the startup path, a fresh cwd walk-up (an intervening `tracedecay init` can create an enclosing project), the remembered initialize roots, then the global registry.
(&self)
| 637 | /// walk-up (an intervening `tracedecay init` can create an enclosing |
| 638 | /// project), the remembered initialize roots, then the global registry. |
| 639 | async fn resolve_once(&self) -> Result<TraceDecay> { |
| 640 | Box::pin(self.resolve_once_with_origin()) |
| 641 | .await |
| 642 | .map(|(cg, _origin)| cg) |
| 643 | } |
| 644 | |
| 645 | async fn resolve_once_with_origin(&self) -> Result<(TraceDecay, ServeProjectResolutionOrigin)> { |
| 646 | let first_error = match ensure_initialized(&self.project_path).await { |
no test coverage detected