fix: start the session even when the agent environment can't be prepared (#1579)

This commit is contained in:
Kurt Himebauch authored and GitHub committed 2026-10-25 17:57:52 -04:00
commit 4e00b40333
2 files changed
+6 -4

No files matched your search

@@ -432,7 +432,9 @@ class SessionService : Service() {
killStragglers()
for (pack in listOf(AddonPack.PROOT, AddonPack.DIRECTAUDIO))
if (!pack.await(this, { gen == sessionGen && SessionState.running })) Log.w(TAG, "${pack.name} pack unavailable")
val agentEnvironment = com.droiddeck.launcher.agent.AgentEnv.beginSession(this)
val agentEnvironment = runCatching { com.droiddeck.launcher.agent.AgentEnv.beginSession(this) }
.onFailure { Log.w(TAG, "agent environment skipped", it) }
.getOrDefault(emptyList())
SessionFiles.stage(this, root, startsSession = true)
// Earlier sessions' reports still read the Steam logs and VAC marker this session replaces.
SessionArtifacts.awaitCollections()