Skip to content

Route tests pass the builder schema to node as one argument, which the catalogue is outgrowing #724

Todo

Description

@aitianshi

Priority

P3 · When convenient: wording, layout, tests

Evidence

  • Route tests run the builder's JavaScript as subprocess.run([node, "-e", program, ...]). Several programs embed the whole builder schema, which grows with every catalogue entry.
  • Linux refuses one argument over 128 KB: OSError: [Errno 7] Argument list too long.
  • SWE-bench Pro (feat(catalogue): add SWE-bench Pro #699) and ARC-AGI-2 (feat(catalogue): add ARC-AGI-2 #701) each crossed it for a test; those three calls now send the program on stdin (node -).
  • 16 calls under app/ui_tests/ still pass it as an argument.

Expected

Adding a catalogue entry never breaks a route test by size.

Acceptance

  • Every route test that embeds the schema gives node its program on stdin

Activity

  1. self-assigned this
    on Dec 2, 2026
  2. added
    bug
    P3
    on Dec 2, 2026
  3. added theissue type on Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P3bug

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions