Skip to content

gstack-pregate: binary assets, licence text and tool config fail lanes with PREGATE_NO_LANE #3267

Closed

Description

@dgrant

What happened

A file that no test could load still fails lanes with PREGATE_NO_LANE, so /ship stops on it, even in a repo that never opted in to pregate (no .gstack/pregate.json).
#3210 fixed this for Markdown; the same happens to tool config and binary assets.
From dry runs (gstack-pregate --base master --explain) over recent branches of one Django project:

  • .pre-commit-config.yaml: on a branch whose other 4 changed files were Markdown, the whole branch was refused for this one file
  • .impeccable/config.json (a design tool's config)
  • templates/socialaccount/snippets/google_g_mark.svg
  • users/static/users/fonts/roboto-latin-500-normal.woff2
  • users/static/users/fonts/roboto-LICENSE.txt

Steps to reproduce

  1. Any repo with no .gstack/pregate.json.
  2. On a branch, change only .pre-commit-config.yaml, or add a .woff2 font or a *-LICENSE.txt.
  3. gstack-pregate --base master.

Observed: FAIL lanes — <file> has no test lane.
Expected: files no runner can import (binary assets such as .woff2, .png and .svg, licence text, dotfile tool config) take the docs/no-tests empty lane or warn, unless a test names the file; only source code blocks.

Readiness report

gstack doctor 1.91.134.0
ok              install root    /home/dgrant/.claude/skills/gstack: claude global current (1.91.134.0)
ok              rescue refs     none in /home/dgrant/.claude/skills/gstack
ok              state root      /home/dgrant/.gstack durable=yes (selected by default)
ok              bun             1.4.3 at /home/dgrant/.bun/bin/bun (floor 1.3.3, tested 1.4.2)
ok              hooks           9 hook(s) parse
ok              codex           codex-cli 0.163.0; self-locate ok; model gpt-6-astra (source: /home/dgrant/.codex-personal/config.toml model)
ok              codex probe     cached MODEL_OK, 11m ago (not re-run; --live probes now)
not configured  artifacts sync  off; cross-machine artifacts sync is unavailable
                                fix: /home/dgrant/.claude/skills/gstack/bin/gstack-artifacts-init
ok              browse bundle   browse/dist built
ok              binaries        find-browse, design, pdf, gstack-global-discover launch (4 of 4)
ok              cso             native helper 1.91.134.0 (a2a6cabfa635)
ok              claude code     2.1.302 (Claude Code) at /home/dgrant/.local/bin/claude
ok              session journal largest of 1: 1.5 MiB
ok              guard log       103 decisions (4 denied)
warn            CLAUDE.md       the gstack section in /home/dgrant/.claude/CLAUDE.md lists 35 skills; Claude Code lists installed skills itself, and a pasted list goes stale with each release
13 ok, 1 warn, 1 not configured, 0 fail

Environment

  • Host: Claude Code 2.1.302
  • OS: Ubuntu 24.04.5 LTS
  • gstack 1.91.134.0

Activity

  1. capy-ai commented on Oct 19, 2026

    @capy-ai
    Contributor

    Thanks @dgrant. Fixed in #3306: when no test names the file, images, fonts, media and PDFs and an allowlist of tool config (.pre-commit-config.yaml, .editorconfig, lint/format config, .vscode/, .idea/, .impeccable/, GitHub issue templates and CODEOWNERS) take a no-tests (assets and tool config) empty lane, and licence text under any vendored name (roboto-LICENSE.txt) is documentation. Your .pre-commit-config.yaml + Markdown branch now passes. We kept it an allowlist on purpose: unknown dotfiles can be runner input (.rspec, .taprc) or executable (.husky/ hooks), and stylesheets import each other, so those still need a lane or an empty_lanes entry. It closes when #3306 merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions