Skip to content

DEVELOPER_GUIDE and CONTRIBUTING: stale project tree and inconsistent test command #178

Closed

Description

@TMHSDigital

Summary

The contributor docs have drifted: DEVELOPER_GUIDE.md shows a stale project tree, and CONTRIBUTING.md tells contributors to gate PRs on make test while also requiring the race detector, which make test does not run.

Where

  • docs/DEVELOPER_GUIDE.md:68-69, 74-75, 96-131, 141-144, 329
  • docs/CONTRIBUTING.md:56-57, 62-63, 93-97, 153-157
  • Makefile:38-39, 63-65

Details

DEVELOPER_GUIDE:

  • :68-69 list .md issue templates; the tracked ones are .yml
  • :74-75 data/ lists only wordlist.txt; add subdomains-5k.txt and data.go
  • :96-131 internal/ omits ct/, permute/, report/, dns/pool.go, dns/takeover.go, dns/transport.go, scan/scope.go, scan/settings.go, scan/verdict.go, scan/verify.go, output/sarif.go, output/summary.go
  • :141-144 root lists four main*.go files; there are nine more main_*.go sources plus action.yml, CITATION.cff, .goreleaser.yaml, .devcontainer/
  • :329 says ~/.config/subenum/last.json; say "user config dir" with the Linux path as the example

CONTRIBUTING:

  • :93-97 "Test your changes: make test" conflicts with :153-157 "must pass ... go test -v -race ./..."; Makefile:38-39 has no -race. Make the PR step name the race command, or add -race to the target
  • :62-63 says make tidy "keeps the go 1.26.0 pin"; the target is plain go mod tidy (CI checks the pin). Reword to "run go mod tidy, then confirm the go directive is still 1.26.0"

The test snippet at DEVELOPER_GUIDE:199-227 was verified to compile against current signatures.

Acceptance criteria

  • Trees regenerated from git ls-files
  • One consistent test command across CONTRIBUTING, README and Makefile

Getting started

  • Relevant files: docs/DEVELOPER_GUIDE.md, docs/CONTRIBUTING.md, Makefile
  • How to run tests: go test .

Related: #79


Filed by repo-audit/full-audit at 3139c44. Severity: low. Effort: S. audit-key: documentation|docs/DEVELOPER_GUIDE.md|Project Structure

Activity

  1. added
    documentation
    good first issue
    area: docs
    severity: low
    on Nov 9, 2026
  2. TMHSDigital commented on Nov 9, 2026

    @TMHSDigital
    OwnerAuthor

    Fixed in 3911b9c: DEVELOPER_GUIDE tree regenerated from git ls-files, last.json path now points to the user config dir, CONTRIBUTING's PR step uses go test -race ./... like CI (make test as the no-cgo fallback), and the make tidy wording is corrected. Verified with go test . (doc checks).

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: docsdocumentationgood first issueseverity: low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions