feat: log Kit version info on AppLauncher startup#5844
Conversation
Prints Kit version, kernel version, and git hash to stderr after AppLauncher initialization completes. This makes it easy to verify which Kit/Isaac Sim runtime is actually being used in CI logs without needing to add ad-hoc version probes to individual tests. Output is best-effort (wrapped in try/except) so it never breaks existing tests.
Greptile SummaryThis PR adds a
Confidence Score: 4/5The change is a pure diagnostic addition, but calling the helper unconditionally in The new source/isaaclab/isaaclab/app/app_launcher.py — the Important Files Changed
Sequence DiagramsequenceDiagram
participant Caller
participant AppLauncher.__init__
participant omni.kit.app
participant carb.tokens
participant sys.__stderr__
Caller->>AppLauncher.__init__: AppLauncher(args)
AppLauncher.__init__->>sys.__stderr__: "AppLauncher initialization complete"
AppLauncher.__init__->>AppLauncher.__init__: _log_kit_version_info()
AppLauncher.__init__->>omni.kit.app: get_app()
omni.kit.app-->>AppLauncher.__init__: app
AppLauncher.__init__->>carb.tokens: get_tokens_interface()
carb.tokens-->>AppLauncher.__init__: tokens
AppLauncher.__init__->>omni.kit.app: app.get_kit_version()
omni.kit.app-->>AppLauncher.__init__: kit_version
AppLauncher.__init__->>omni.kit.app: app.get_kernel_version()
omni.kit.app-->>AppLauncher.__init__: kernel_version
AppLauncher.__init__->>carb.tokens: tokens.resolve(kit_git_hash)
carb.tokens-->>AppLauncher.__init__: hash or literal placeholder
AppLauncher.__init__->>sys.__stderr__: Kit version / kernel / hash lines
AppLauncher.__init__-->>Caller: AppLauncher instance
|
252fde9 to
8b40653
Compare
8b40653 to
fc42687
Compare
Summary
Prints Kit version, kernel version, and git hash to stderr after AppLauncher initialization completes.
Motivation
While debugging a multi-GPU CI issue (#5822), we discovered the CI was silently using Kit 110.0 (from a stale pip-installed
isaacsim==6.0.0) instead of Kit 111.0 from the container. Having version info printed on every startup would have caught this immediately.Changes
_log_kit_version_info()method toAppLauncherAppLauncher initialization completemessagesys.__stderr__(same stream as the init-complete signal)"unknown"if the git hash token is not definedExample output