Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

docs(render-farm): drop comments that restate the code

Richie McIlroyb63d7e66b8b9
diff --git a/apps/render-farm/src/planning.ts b/apps/render-farm/src/planning.ts
index 8e2b1eedf..a3d1bc24c 100644
--- a/apps/render-farm/src/planning.ts
+++ b/apps/render-farm/src/planning.ts
@@ -25,7 +25,7 @@ export type ChunkPlanInput = {
*/
/** Part numbers an export's chunks share: S3's 10,000 less the header's part 1 and a spare. */
const UPLOAD_PARTS = 9998;
-/** Fewest parts a dispatch range may hold. */
+/** Part size is planned over all but two of a range's parts (see planJob). */
export const MIN_RANGE_PARTS = 3;
/**
diff --git a/apps/render-farm/src/recovery.test.ts b/apps/render-farm/src/recovery.test.ts
index aa8ecad11..c945adcd0 100644
--- a/apps/render-farm/src/recovery.test.ts
+++ b/apps/render-farm/src/recovery.test.ts
@@ -12,7 +12,6 @@ const upload = {
],
};
-/** The upload as the coordinator passes it: its own part is the header. */
function uploadFor(s3: ReturnType<typeof store>) {
return {
...upload,
diff --git a/apps/render-farm/src/stitch.test.ts b/apps/render-farm/src/stitch.test.ts
index 695a506c6..6616133d0 100644
--- a/apps/render-farm/src/stitch.test.ts
+++ b/apps/render-farm/src/stitch.test.ts
@@ -10,7 +10,6 @@ import {
const MB = 1024 * 1024;
-/** A chunk of `bytes`, split the way a worker splits it. */
function chunk(index: number, bytes: number): StashedChunk {
const slot = 2 + index * 100;
const stash = stashBytes(bytes);