Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(server): apply Effect overrides at pinned-runtime install root #11232

Closeddeepso7(GitHub profile, opens in a new tab)wants to merge 5 commits intomain fromrefs/pull/11232/headopened View on GitHub

Showing 3 changed files with 143 additions and 16 deletions (loading 1).

x
0 of 3 viewed, 3 left
9 additions and 3 deletionsapps/server/src/cloud/bootService.tsModified
View file
@@ -389,13 +389,18 @@
exitCode: Schema.optional(Schema.Number),
stdoutLength: Schema.optional(Schema.Number),
stderrLength: Schema.optional(Schema.Number),
+ outputTail: Schema.optional(Schema.String),
cause: Schema.optional(Schema.Defect()),
) {
override get message(): string {
- return this.exitCode === undefined
- ? `Background setup failed while ${this.step}.`
- : `Background setup failed while ${this.step} (exit code ${this.exitCode}).`;
+ const base =
+ this.exitCode === undefined
+ ? `Background setup failed while ${this.step}.`
+ : `Background setup failed while ${this.step} (exit code ${this.exitCode}).`;
+ return this.outputTail === undefined || this.outputTail.length === 0
+ ? base
+ : `${base}\n${this.outputTail}`;
​
@@ -745,6 +750,7 @@
exitCode: error.exitCode,
stdoutLength: error.stdoutLength,
stderrLength: error.stderrLength,
+ outputTail: error.outputTail,
cause: error,