feat: add dx print command, drive hotpatching engine directly. (#4602)

* feat: add dx print command

* small tweak to how client_target is handled

* hotpatching engine wired up!

* small cleanups

* lighter diff

* little bit more light cleanups

* remove changes to manganis

* fix wrong dir error

* move session_cache fixing to prebuild step
This commit is contained in:
Jonathan Kelley authored and GitHub committed 2025-08-21 20:29:49 -07:00
1 parent d899afaf4a
commit 083e04bb6c
19 files changed
+633 -234

No files matched your search

+4 -2
View File
@@ -63,7 +63,9 @@ async fn main() {
Commands::Run(opts) => opts.run().await,
Commands::SelfUpdate(opts) => opts.self_update().await,
Commands::Tools(BuildTools::BuildAssets(opts)) => opts.run().await,
Commands::Tools(BuildTools::HotpatchTip(opts)) => opts.run().await,
Commands::Doctor(opts) => opts.doctor().await,
Commands::Print(opts) => opts.print().await,
}
});
@@ -71,10 +73,10 @@ async fn main() {
// Make sure we do this as the last step so you can always `tail -1` it
match result.await {
StructuredOutput::Error { message } => {
tracing::error!(json = ?StructuredOutput::Error { message });
tracing::error!(json = %StructuredOutput::Error { message });
std::process::exit(1);
}
output => tracing::debug!(json = ?output),
output => tracing::info!(json = %output),
}
}