Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

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

Richie McIlroy797fa35f8755
diff --git a/apps/render-farm/src/coordinator.test.ts b/apps/render-farm/src/coordinator.test.ts
index 4bf390084..661af17e1 100644
--- a/apps/render-farm/src/coordinator.test.ts
+++ b/apps/render-farm/src/coordinator.test.ts
@@ -456,7 +456,6 @@ describe("assembly", () => {
size: number;
};
const moovEnd = moov.start + moov.size;
- // The moov is followed directly by the mdat that holds every byte.
const view = new DataView(file.buffer, file.byteOffset);
expect(
String.fromCharCode(...file.subarray(moovEnd + 4, moovEnd + 8)),
diff --git a/apps/render-farm/src/s3.ts b/apps/render-farm/src/s3.ts
index f9cb1b52c..826f3ebc1 100644
--- a/apps/render-farm/src/s3.ts
+++ b/apps/render-farm/src/s3.ts
@@ -443,7 +443,6 @@ export class S3 {
return decodeXml(etag);
}
- /** Whether this client can copy objects from `other` server side. */
sharesStoreWith(other: S3) {
return (
this.config.endpoint === other.config.endpoint &&
diff --git a/apps/render-farm/src/stitch.test.ts b/apps/render-farm/src/stitch.test.ts
index 4043722e4..f1df7d46f 100644
--- a/apps/render-farm/src/stitch.test.ts
+++ b/apps/render-farm/src/stitch.test.ts
@@ -25,7 +25,6 @@ function chunk(index: number, bytes: number): StashedChunk {
return { slot, stash: { key: `s/${index}`, bytes: stash }, parts };
}
-/** The whole file as S3 will join it: header, then every chunk in order. */
function layout(header: number, chunks: StashedChunk[]) {
const plan = planStitch(header, chunks);
const all = [