Skip to content

Nested manifests are folded into the root product unit or judged as products: benchmark/example/test/template/docs sub-projects #188

Open

Description

@leftibot

Vapor's Benchmarks/Package.swift, SwiftFormat's PluginTests/Package.swift, swift-nio's IntegrationTests/.../template/*/Package.swift, graphql-inspector's and graphql-eslint's workspace packages, zod's private packages/{integration,resolution,treeshake,tsc}, koyo's blueprints/, dbt-utils' integration_tests/dbt_project.yml, rust-lang/book's 562 listings/** crates, drift's non-workspace pubspecs, phoenix's installer/ and integration_test/, fpm's example_packages/, json-fortran's visual_studio/, sqlfluff's docsv VitePress site: each is either merged into the root product (its manifests, lockfiles, eslint configs and licenses credited to or demanded of the product) or a product unit of its own. Expected: a nested manifest is a unit whose role follows its directory (Benchmarks, examples, blueprints, integration_tests, listings, docs) and the root-level checks name only the product's own manifests. Also: typed-racket's typed-racket-test/external/ is marked vendored though it is the project's own tests.

Evidence from the corpus audit

geerlingguy/ansible-for-devops / detection (units)

  • kind: DETECTION
  • actual: units nodejs-role/app and nodejs/provisioning/app role product (build system npm, language
    JavaScript); dependency-management WARN "nodejs-role/app: dependencies are declared in
    nodejs-role/app/package.json (npm packages) but not locked", vcs-ignore WARN "JavaScript/TypeScript: .gitignore
    does not ignore node_modules", JavaScript FAILs in code-formatting, compiler-warnings, coverage,
    function-limits, fuzz-testing, type-checking, warnings-as-errors.
  • expected: role example: these are the 10-line Node "hello world" apps a book chapter's playbook deploys
    (app.js + package.json), not a product of the repository; the repository is the companion examples of a book.
  • evidence: nodejs-role/app/: app.js package.json; nodejs/provisioning/app/: app.js package.json;
    README.md:1: # Ansible for DevOps Examples (the directory names are chapter names: first-ansible-playbook,
    lamp-infrastructure, ...).
  • repro: playbook.yml at root + nodejs/provisioning/app/package.json with one dependency.
  • confidence: low (the root being product is defensible for an examples repository; the nested npm units are the
    dubious part)

phoenixframework/phoenix / detection (integration_test/ role, nested Mix projects)

  • kind: DETECTION
  • actual: integration_test/docker.sh, integration_test/entrypoint.sh role "product" -> Shell ecosystem ->
    tests-run FAIL "Shell: no tests found", code-formatting "Shell: CI never runs shfmt", warnings-as-errors FAIL
    although "BEAM: warnings are treated as errors"; map units: only . although installer/mix.exs and
    integration_test/mix.exs are separate Mix projects (also ecto examples/friends/mix.exs)
  • expected: integration_test is a test directory (role test); installer/ (the phx_new Hex package) a product
    unit of its own, integration_test/ a test unit, ecto's examples/friends an example unit.
  • evidence: facts: SourceFile origin "integration_test/docker.sh" language "Shell" role "product";
    project_validator/facts/roles.py:49-50: test_named = part.endswith(("-tests", "_tests")) or part.startswith(("tests-", "tests_", "test-", "test_")) - integration_test (singular) matches neither;
    structure.py:_unit_roots (lines 260-283) keeps only each build system's outermost directories unless the build
    file declares workspace members, so nested mix.exs fold into .. .github/workflows/ci.yml:119-123:
    working-directory: installer / run: mix test.
  • repro: mix.exs + installer/mix.exs + integration_test/mix.exs + integration_test/run.sh
  • confidence: medium

simolus3/drift / detection (pub workspace members)

  • kind: DETECTION
  • actual: units are the workspace: members only; docs/, examples/encryption/, extras/legacy/drift_postgres/
    (each with its own pubspec.yaml) are folded into the root unit ("the root: dependencies are declared in
    docs/pubspec.yaml, examples/encryption/pubspec.yaml, extras/legacy/drift_postgres/pubspec.yaml and 1 more").
  • expected: each is a unit: docs/ role docs (a jaspr site whose tests CI runs), examples/encryption/ role example
    (its android/ios/linux/macos/windows children ARE units of role example, so the parent is missing while its
    scaffolding is present).
  • evidence: examples/encryption/pubspec.yaml:7-9: # This package can't be part of the drift workspace ... /
    #resolution: workspace; docs/pubspec.yaml:1-3: name: drift_website / publish_to: none;
    .github/workflows/main.yml:26: working-directory: docs and :48: run: dart test; validator
    project_validator/ecosystems/dart.py:57: members=_workspace_members.
  • repro: root pubspec with workspace: [a], plus b/pubspec.yaml not listed.
  • confidence: medium

dart-lang/http / detection (roles)

  • kind: DETECTION
  • actual: pkgs/flutter_http_example role product; pkgs/cupertino_http/ios_test/ios role product; tool role
    product; pkgs/cronet_http/example/android role example while pkgs/cronet_http/example is not a unit.
  • expected: example, test, tooling respectively: the directory names say so (_example suffix, _test suffix,
    tool), and tool/ holds the repo's maintenance scripts (tool/update_readme.dart).
  • evidence: .map.json units; validator project_validator/facts/roles.py:26-31: exact names example,
    examples, tools, tooling, scripts; :50-52: part.endswith(("-tests", "_tests")) or part.startswith(("tests-", "tests_", "test-", "test_"))
    (no _test/_example suffix, no singular tool).
  • repro: pkgs/foo_example/pubspec.yaml, ios_test/pubspec.yaml, tool/pubspec.yaml.
  • confidence: medium

rust-lang/book / detection (units)

  • kind: DETECTION
  • actual: .map.json lists 15 units: . (product, Cargo), 13 listings/ch14-more-about-cargo/**/add/{adder,add_one}
    (role product, two role test), packages/tools (tooling). packages/mdbook-trpl and packages/trpl (both with
    their own Cargo.toml; CI runs cargo test in packages/mdbook-trpl) are not units; the other 548 listing crates
    fold into the root ("TOML in the root: 532 TOML files parse", "locked in Cargo.lock ... and 543 more").
  • expected: units for packages/mdbook-trpl, packages/trpl; the 562 listings/** crates either as example
    units or excluded (the root workspace excludes them), not merged into the root product.
  • evidence: Cargo.toml:2: members = ["packages/tools"]; Cargo.toml:5-8: exclude = [ "linkchecker", ... "listings", # these are intentionally distinct from the workspace; packages/trpl/Cargo.toml ends with
    [workspace] (a standalone root). .github/workflows/main.yml:59-61: working-directory: packages/mdbook-trpl /
    cargo test. Validator: facts/structure.py:274-276: declared_member = any(fnmatchcase(directory, pattern) for pattern in members) ... if declared_member or outer: — a nested build file becomes a unit only if it is a
    declared member or not under another build file's directory; exclude is not read and listings is not a role
    directory (facts/roles.py:31 lists only example, examples, sample, samples, demo, demos).
  • repro: root Cargo.toml [workspace] members = ["a"] exclude = ["examples"], crates a/, b/ (not a member,
    own [workspace]), examples/e1/ → expect units ., a, b; b is missing, examples/e1 folds into ..
  • confidence: high

rust-lang/book / tests-run

  • kind: FALSE_POSITIVE
  • actual: PASS (per place, in .json): every listings/ch14-more-about-cargo/**/add/{adder,add_one} unit reports
    "status": "PASS", "message": "tests found in 1 file(s)", "tools": ["cargo test"].
  • expected: FAIL (or SKIP as examples): CI's cargo test runs at the root workspace, which excludes listings, and in
    packages/mdbook-trpl; no CI step runs tests of the listing crates.
  • evidence: .github/workflows/main.yml:57: cargo test (no working-directory, so the root workspace, whose
    Cargo.toml:5-7 has exclude = [ ... "listings"); main.yml:59-61: working-directory: packages/mdbook-trpl /
    cargo test.
  • repro: root Cargo.toml workspace with exclude = ["ex"], crate ex/a with a #[test], workflow run: cargo test
    → ex/a tests-run should not PASS.
  • confidence: medium (depends on whether a cargo test anywhere is meant to credit every Cargo unit)

fortran-lang/fpm / dependency-management, detection (example_packages)

  • kind: DETECTION
  • actual: PASS: Fortran: dependencies are declared in example_packages/c_includes/fpm.toml, example_packages/circular_example/fpm.toml, example_packages/circular_test/fpm.toml and 17 more (fpm); --map has a single unit . (product).
  • expected: example_packages/ (74 fixture packages exercised by ci/run_tests.sh) is an example/test-fixture unit; the message should name the root fpm.toml, whose dependencies are pinned by rev/tag.
  • evidence: fpm.toml [dependencies]: toml-f.rev = "d7b892b1d074b7cfc5d75c3e0eb36ebc1f7958c1", fortran-regex.tag = "1.1.2"; ci/run_tests.sh:13-17: pushd example_packages/ ... "$fpm" build -C $dir.
  • repro: fpm.toml at root plus example_packages/a/fpm.toml.
  • confidence: medium

jacobwilliams/json-fortran / detection (visual_studio unit)

  • kind: DETECTION
  • actual: --map unit visual_studio role product, build system MSBuild; tests-run reports visual_studio: tests found in 1 file(s) as a separate unit.
  • expected: an auxiliary (alternative-build) unit, not a product with its own MSBuild build: it holds a hand-made .sln and Intel Fortran .vfproj files (.vfproj is an unrecognised suffix, 2 files).
  • evidence: visual_studio/: jsonfortran.sln, jsonfortranlib/, jsonfortrantest/.
  • repro: visual_studio/x.sln next to a CMake root.
  • confidence: medium

graphql-hive/graphql-inspector, dimaMachina/graphql-eslint / detection: monorepo units

  • kind: DETECTION
  • actual: .map.json for both: a single unit "directory": ".", "role": "product"; graphql-eslint's dependency-management lists examples/code-file/package.json, examples/custom-rules/package.json, examples/graphql-config/package.json and 10 more, static-analysis lists examples/code-file/.eslintrc.cjs, examples/code-file/eslint.config.js and 15 more as the product's eslint configuration.
  • expected: one unit per workspace package (README: "each package of a monorepo" is a unit), with examples/* as role example and website as docs, so the examples' manifests and eslint configs are not the product's.
  • evidence: dimaMachina__graphql-eslint/pnpm-workspace.yaml:1-4: packages: / - packages/* / - examples/* / - website; graphql-hive__graphql-inspector/pnpm-workspace.yaml:1-4: packages: / - packages/* / - packages/commands/* / - packages/loaders/*; examples/prettier/package.json:1-2: "name": "@graphql-eslint/example-prettier" with its own lint script.
  • evidence (validator): ecosystems/javascript/init.py:144-147 has workspace_members(...) reading pnpm-workspace.yaml, yet --map shows one unit, so members are used for command scoping only, not as units.
  • repro: pnpm-workspace.yaml with packages: [packages/*, examples/*], packages/a/package.json, examples/b/package.json. Expect units packages/a (product) and examples/b (example).
  • confidence: medium (the README promises per-package units; whether pnpm workspaces are meant to be in scope is not stated)

colinhacks/zod / detection (private test and benchmark packages as product)

  • kind: DETECTION
  • actual: --map units packages/integration, packages/resolution, packages/treeshake, packages/tsc all role product
  • expected: roles test / benchmark: they are private workspace packages that exist only to test zod.
  • evidence: packages/integration/package.json: "name": "@zod/integration", "private": true; packages/resolution/package.json: "name": "@zod/resolution", "private": true;
    packages/treeshake/package.json: "name": "@zod/treeshaking", "private": true; packages/tsc/package.json: "name": "@zod/tsc-perftest", "private": true;
    .github/workflows/test.yml:39-41: - run: nub run --filter @zod/resolution test:all / - run: nub run --filter @zod/integration test:all.
    packages/bench (@zod/benchmarks) is correctly benchmark by its name; these need the package name/description, not the directory name.
  • repro: packages/integration/package.json {"name":"@x/integration","private":true} in a pnpm workspace.
  • confidence: medium

junit-team/junit5 / static-analysis, code-formatting (root conventions credited to fixture units)

  • kind: MESSAGE
  • actual: Java in platform-tooling-support-tests/projects/vintage: Error Prone runs, Java in platform-tooling-support-tests/projects/maven-surefire-compatibility: CI enforces the Spotless style (and the other three fixture units)
  • expected: those units are standalone Maven/Gradle fixture projects (pom.xml each) that neither apply Error Prone nor Spotless; the root Gradle convention plugins should not be credited to them (they are role test, so they could simply be left out)
  • evidence: platform-tooling-support-tests/projects/vintage/pom.xml (own build, no errorprone/spotless); the root result is defined by gradle/plugins/common/src/main/kotlin/junitbuild.java-errorprone-conventions.gradle.kts and junitbuild.spotless-conventions.gradle.kts
  • repro: a Gradle root with convention plugins plus fixtures/a/pom.xml with its own src/main/java
  • confidence: low (cosmetic; the overall status is unaffected)

Perl-Critic/Perl-Critic, PHPCSStandards/PHP_CodeSniffer, composer/composer / static-analysis, code-formatting, dependency-management

  • kind: MESSAGE
  • actual: Perl-Critic static-analysis: perlcritic is configured (examples/perlcriticrc, perlcriticrc); PHPCS
    code-formatting: PHP: phpcs.xml.dist, tests/Core/Ruleset/Fixtures/ProcessRulesetCliArgsTest/.phpcs.xml, tests/Core/Ruleset/Fixtures/ProcessRulesetCliArgsTest/phpcs.xml.dist is defined; composer dependency-management: dependencies are declared in composer.json, tests/Composer/Test/DependencyResolver/Fixtures/poolbuilder/mirrored-path-repo/composer.json, ... and 12 more (Composer)
  • expected: only the project's own configuration named: files under examples/ and tests/**/Fixtures/ are example
    and test-fixture data (roles the validator computes as example/test), not the project's tool configuration or
    dependency manifests.
  • evidence: paths as quoted; project_validator/facts/roles.py:2-3: settings readers "skip vendored projects'
    configuration" only.
  • repro: phpcs.xml.dist at the root plus tests/Fixtures/phpcs.xml.dist → both listed.
  • confidence: medium

Bogdanp/koyo / detection: blueprints and migration counting

  • kind: DETECTION
  • actual: units koyo-lib/blueprints/saas and koyo-lib/blueprints/standard are role: product (npm), producing dependency-management WARN "not locked", static-analysis "eslint is configured ... but does not run", type-checking "tsc is configured but does not run", code-formatting and tests-run lines for them; migration-safety WARN counts "the root: 9 migration files; koyo-lib: 9 migration files; koyo-lib/blueprints/saas: 3; koyo-lib/blueprints/standard: 2" — the same 9 files (4 + 3 + 2) counted in every ancestor unit; 8 .tpl files unrecognised.
  • expected: the blueprints are project templates (app-name-here/, *.tpl) that the owning package itself excludes from compilation and testing; role template or example, with their generated-app tests exercised by ci/test-blueprint.sh (raco koyo new --blueprint, then raco test); migrations counted once, in the unit that owns them.
  • evidence: koyo-lib/info.rkt:34-35: (define compile-omit-paths '("blueprints")) / (define test-omit-paths '("blueprints")); ls koyo-lib/blueprints/standard → Procfile README.md app-name-here app-name-here-tests build.mjs migrations package.json resources tsconfig.json; ci/test-blueprint.sh:15,19,22: raco koyo new --blueprint "$1" "$application" / raco pkg install --batch --auto "$application/" "$application-tests/" / raco test "$application-tests/"; all 9 migration files are under koyo-lib/ (koyo-lib/koyo/job/migrations/0001-create-status-domain.sql ... koyo-lib/blueprints/saas/migrations/20241222-add-workspaces-table.sql) and none at the root.
  • repro: lib/info.rkt with (define compile-omit-paths '("blueprints")), lib/blueprints/x/package.json, lib/blueprints/x/migrations/1.sql.
  • confidence: medium

racket/typed-racket / detection: vendored

  • kind: DETECTION
  • actual: vendored: 18 files under typed-racket-test/external/ (historical-counterexamples.rkt, tr-random-testing.rkt, succeed/*.rkt, fail/*.rkt, counterexamples.rktd)
  • expected: the project's own tests: external/ here means "tests that exercise external packages (math, plot)"; CI compiles and runs them directly, and the package's info.rkt lists them in compile-omit-paths/test-omit-paths as its own paths. external is too generic a name for VENDOR_DIRECTORIES.
  • evidence: .github/workflows/ci.yml:50-54: - run: racket -l typed-racket-test -- --external / - run: raco make typed-racket-test/external/historical-counterexamples.rkt / - run: racket -l typed-racket-test/external/historical-counterexamples / ... / - run: racket -l typed-racket-test/external/tr-random-testing; typed-racket-test/info.rkt:45-46: (define test-omit-paths '("fail" / "external/fail"; validator project_validator/facts/roles.py:13-22: VENDOR_DIRECTORIES = ("third_party", ..., "external", "extern", "vendor", "vendored", "deps").
  • repro: tests/external/foo.rkt with rackunit tests, referenced from CI.
  • confidence: medium

pallets/flask, python-poetry/poetry / code-formatting, static-analysis, dependency-management (fixture paths in messages)

  • kind: MESSAGE
  • actual: flask: PASS code-formatting "examples/celery/pyproject.toml, examples/javascript/pyproject.toml,
    examples/tutorial/pyproject.toml and 1 more is defined and CI runs ruff format" (static-analysis same list);
    poetry: PASS dependency-management "declared in pyproject.toml, tests/fixtures/directory/.../pyproject.toml,
    tests/fixtures/.../pyproject.toml and 39 more ... and locked in poetry.lock, tests/fixtures/deleted_directory_dependency/poetry.lock,
    ... and 11 more"
  • expected: the root pyproject.toml named first (it is the one with [tool.ruff], flask pyproject.toml:122), and
    example/fixture manifests omitted or named as such; 42 fixture manifests and 14 fixture lock files are not the
    project's dependency declarations.
  • evidence: flask examples/celery/pyproject.toml etc. have no [tool.ruff]; grep -c '\[tool.ruff\]' pyproject.toml = 1 at :122.
    poetry: every listed extra path is below tests/fixtures/.
  • repro: root pyproject with [tool.ruff] + examples/a/pyproject.toml without; expect the root named.
  • confidence: medium

dbt-labs/dbt-utils / detection

  • kind: DETECTION
  • actual: map: one unit . (product); dependency-management PASS "dependencies are declared in
    integration_tests/packages.yml (dbt packages) and locked in integration_tests/package-lock.yml"
  • expected: a second unit integration_tests with role test (its own dbt_project.yml, name
    dbt_utils_integration_tests); the product dbt-utils has no packages.yml, so the PASS credits the test project's
    dependencies to the product
  • evidence: integration_tests/dbt_project.yml:1: name: 'dbt_utils_integration_tests'; dbt_project.yml at root is
    the package; validator facts/structure.py:260-279 (_unit_roots) keeps only "each build system's outermost
    directories, and workspace members", so a nested dbt project under a test-named directory is folded into the root
    (sqlfluff's plugins/.../test/fixtures/dbt/dbt_project does become a unit only because its root is not dbt)
  • repro: root dbt_project.yml + integration_tests/dbt_project.yml + integration_tests/packages.yml
  • confidence: medium

sqlfluff/sqlfluff / detection (docsv)

  • kind: DETECTION
  • actual: map unit docsv role product, build system npm, languages JavaScript, Python; JavaScript/TypeScript then
    FAILs code-formatting, tests-run, platform-matrix, type-checking, warnings-as-errors and WARNs vcs-ignore
  • expected: role docs (a VitePress documentation site), judged as auxiliary
  • evidence: docsv/package.json:1-4: "name": "sqlfluff-docs" ... "description": "SQLFluff documentation with VitePress"; :10: "docs:build": "... vitepress build"; validator facts/roles.py:35 knows doc, docs, documentation, website but a vitepress dependency or docs:* scripts tell nothing
  • repro: docsv/package.json with a vitepress devDependency and docs:build script
  • confidence: medium

vapor/vapor, apple/swift-nio, pointfreeco/swift-composable-architecture, nicklockwood/SwiftFormat / detection (nested packages and example projects are one product unit)

  • kind: DETECTION
  • actual: every --map has exactly one unit ("directory": ".", "role": "product"), and dependency-management
    judges the nested manifests as the product's: vapor WARN dependencies are declared in Benchmarks/Package.swift, Package.swift, Performance/Package.swift (SwiftPM) but not locked; swift-nio WARN naming
    IntegrationTests/allocation-counter-tests-framework/template/HookedFunctionsDoHook/Package.swift and
    .../HookedFunctionsDoNotHook/Package.swift; SwiftFormat WARN dependencies are declared in PluginTests/Package.swift (SwiftPM) but not locked; TCA credits the product's lock from example/workspace files
    (Examples/Integration/Integration.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved).
  • expected: Benchmarks/Package.swift, Performance/Package.swift (role benchmark), PluginTests/Package.swift,
    IntegrationTests/.../template/*/Package.swift (role test/template) and Examples/*/*.xcodeproj (role example)
    are sub-projects: separate units with auxiliary roles, whose missing Package.resolved should not be a product
    warning; vapor's and nio's root packages are libraries (lock not required) with development executables.
  • evidence: vapor Benchmarks/Package.swift:13: .package(name: "vapor", path: ".."),; Benchmarks/Package.swift:20:
    .executableTarget(; Performance/Package.swift:10: .package(name: "vapor", path: "..");
    swift-nio IntegrationTests/allocation-counter-tests-framework/template/HookedFunctionsDoHook/Package.swift (a
    template rendered by the test framework); SwiftFormat PluginTests/Package.swift, PluginTests/test.sh;
    TCA --map ecosystems: "build directory CaseStudies.xcodeproj", ... "build directory Todos.xcodeproj", "build directory VoiceMemos.xcodeproj"
    (all under Examples/); project_validator/ecosystems/swift.py:390-398: PACKAGE_RESOLVED = lockfile_reader(...),
    lock=Lock.APPLICATIONS keyed on any .executableTarget( in any manifest.
  • repro: root Package.swift (library) plus Benchmarks/Package.swift with .package(path: "..") and an
    .executableTarget, no Package.resolved anywhere.
  • confidence: high

clap-rs/clap, astral-sh/ruff / detection (benchmark crates)

  • kind: DETECTION
  • actual: units clap_bench product, crates/ruff_benchmark product, crates/ty_completion_bench product;
    clap [FAIL] tests-run: ... clap_bench: no tests found (#[test] functions)
  • expected: role benchmark (not judged for tests)
  • evidence: clap_bench/Cargo.toml:20: [[bench]] (five [[bench]] tables, no lib tests); directory clap_bench/benches/;
    validator facts/roles.py:34: **dict.fromkeys(("bench", "benches", "benchmark", "benchmarks"), "benchmark") — exact
    names only, and a Cargo manifest with only [[bench]] targets is not used
  • repro: workspace with member foo_bench/ holding Cargo.toml ([[bench]] only) and benches/b.rs → unit role product, tests-run FAIL
  • confidence: medium

tokio-rs/tokio, serde-rs/serde / dependency-management (test-role units)

  • kind: FALSE_POSITIVE
  • actual: tokio WARN: tests-integration: dependencies are declared ... but not locked; tokio-stream/fuzz: ... but not locked; tokio/fuzz: ... but not locked / commit Cargo.lock, so the binary is always built with the dependencies it was tested with;
    serde WARN: test_suite: dependencies are declared in test_suite/Cargo.toml, test_suite/no_std/Cargo.toml (Cargo) but not locked
  • expected: PASS or not judged: these are test/fuzz-role units ([[bin]] test harnesses, publish = false) inside library workspaces that deliberately ignore Cargo.lock; the product crates are judged fine
  • evidence: tokio .gitignore:2: Cargo.lock; tests-integration/Cargo.toml:7: publish = false, :9: [[bin]]; map: tests-integration test, tokio/fuzz test;
    serde .gitignore: /Cargo.lock; test_suite/Cargo.toml:6: publish = false; validator ecosystems/rust/__init__.py CARGO_MANIFESTS: application=lambda _path, text: "[[bin]]" in text
  • repro: library workspace, .gitignore with Cargo.lock, member tests-integration/ with [[bin]] → WARN
  • confidence: medium

Found by the regression-corpus audit (235 real repositories, one or more per ecosystem profile; corpus and expected results in corpus/). Evidence is quoted from the audited checkouts at the commits pinned in corpus/projects.toml; <checkouts>/<owner>__<repo> is such a checkout.

🤖 Generated with Claude Code

https://claude.ai/code/session_01ByTXNqDWdM7HzezrFtEvQt

Activity

  1. added
    bug
    area: detection
    on Nov 19, 2026
  2. leftibot commented on Nov 24, 2026

    @leftibot
    CollaboratorAuthor

    #372 works toward this (Part of #188). Decision: nested manifests and workspace members are units of their own.

    • A new hook, BuildSystem.standalone, says whether a nested build file is a project of its own. Yes for Cargo, named package.json, SwiftPM, Mix, pub, fpm, dbt, Composer, Python packaging, Go modules, Cabal, Zig, Bundler, deps.edn and Leiningen. No for CMake subdirectories, Maven modules, LuaRocks rockspecs/, {"type": "module"} markers and test fixtures.
    • pnpm-workspace.yaml is read as a workspace declaration.
    • Test, benchmark, example and template units aren't asked for the product-only gates. Dependency-management is now one of those gates.
    • Manifests and tool configuration under tests/fixtures/, Fixtures/ and testdata/ are no longer named as the product's.

    Still open:

    • An example's own configuration is still named, e.g. Perl-Critic's examples/perlcriticrc. Example directories can't simply be set apart, because Flutter plugins keep their integration tests in their example app.
    • zod's private test packages get no role from their package names.
    • typed-racket's external/, koyo's migration counting, and json-fortran's visual_studio/.
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

    area: detectionbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions