coverage:
  status:
    project:
      default:
        target: 70%
        threshold: 2%
    patch:
      default:
        target: 70%

comment:
  layout: "reach, diff, flags, files"
  behavior: default
  require_changes: false

ignore:
  - "**/*_test.go"
  - "cmd/**"
  - "scripts/**"
  - "docs/**"
  - "assets/**"

  # thin wiring / transport wrappers
  - "**/router.go"
  - "**/server.go"
  - "**/response.go"

  # runtime/host integration-heavy paths (containerd, gVisor, iptables, CNI)
  - "sandboxd-let/network/**"
  - "sandboxd-let/sandbox/**"
  - "sandboxd-let/http/handlers.go"

  # data-only definitions
  - "**/types.go"
  - "**/dto.go"
  - "sandboxd-orch/docs/**" # generated by swaggo/swag
  - "sandboxd-let/docs/**" # generated by swaggo/swag

  # sbxctl is a CLI tool, so we don't need to cover it
  - "sandboxd-ctl/**"
