GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test(server): use valid matching metadata in oversized-metadata guard… · pingdotgg/t3code@89fe94a

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • apps/server/src/provider/acp
    • AntigravityBackgroundCommands.test.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎apps/server/src/provider/acp/AntigravityBackgroundCommands.test.ts‎

Copy file name to clipboardExpand all lines: apps/server/src/provider/acp/AntigravityBackgroundCommands.test.ts
+10-1Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,14 +530,23 @@ describe("readAntigravityRunningCommands", () => {
530530
Effect.gen(function* () {
531531
const fs = yield* FileSystem.FileSystem;
532532
const profileDirectory = yield* fs.makeTempDirectoryScoped();
533+
// Valid, matching metadata padded past MAX_METADATA_BYTES so removing the size guard would match.
534+
const validMatchingMeta = commandStepMetadata({
535+
callId: `${SESSION_ID}:13`,
536+
args: { CommandLine: "pytest -q tests/", Cwd: "/repo" },
537+
});
538+
const oversizedValidMeta = Uint8Array.from([
539+
...validMatchingMeta,
540+
...field(30, "x".repeat(256 * 1024)),
541+
]);
533542
yield* writeSessionDb({
534543
profileDirectory,
535544
rows: [
536545
{
537546
idx: 14,
538547
stepType: RUN_COMMAND_STEP_TYPE,
539548
status: STATUS_RUNNING,
540-
metadata: new Uint8Array(256 * 1024 + 1),
549+
metadata: oversizedValidMeta,
541550
payload: null,
542551
},
543552
],

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.