Skip to content

Commit 07416ba

Browse files
Merge pull request #867 from corbitsdev/cl-7616-clip-fleet-dry-wait-results-with-a-spill-uri-not-a-silent
Spill oversized fleet-dry reports to a retrievable URI
2 parents 4914046 + 877922f commit 07416ba

6 files changed

Lines changed: 402 additions & 69 deletions

File tree

src/plugins/result-truncation-plugin.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export function spillBlobKey(callId: string): string {
5555
return `${callId}:full`;
5656
}
5757

58-
function truncationNotice(args: {
58+
export function truncationNotice(args: {
5959
maxChars: number;
6060
remaining: number;
6161
fullLength: number;
@@ -92,7 +92,7 @@ function truncationNotice(args: {
9292
* remaining/fullLength (and optional absolutePath), so shrink kept until the
9393
* assembled result fits.
9494
*/
95-
function truncateWithReservedNotice(
95+
export function truncateWithReservedNotice(
9696
text: string,
9797
maxChars: number,
9898
buildNotice: (keptLen: number) => string,

0 commit comments

Comments
 (0)