agentleFS
NVIDIAKnown publisherNVIDIA/dcgm-exporter/tests/AGENTS.md

dcgm-exporter / tests

AGENTS.md1.9k starsChanged 5 months agoApache-2.0View on GitHub

The test tree contains multiple layers with different prerequisites. Pick the lowest layer that proves the behavior. - Package/unit tests: normal go test packages, no GPU expected. - tests/static: rendered chart, source, package, and Dockerfile checks with no live infrastructure. - tests/host: GPU/DCGM-backed exporter behavior on the host. - tests/container: container startup, metrics, health, and runtime checks; requires local images or pullable images plus Docker/GPU access. - tests/k8s: Kubernetes/Helm deployment flows; requires a GPU-capable Kubernetes cluster or the local e2e…

Trending

Quiet since September.about the whole repository

Dec 2025: 2 mentionsJan 2026: 1 mentionFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 1 mentionMay 2026: 1 mentionJun 2026: 1 mentionJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 1 mentionOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the NVIDIA/dcgm-exporter repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about NVIDIA/dcgm-exporter

The biggest 5 of 21 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 21

Talked about on GitHub (21 times).

On GitHub · 21

16 more on GitHub

The file

We split this AGENTS.md into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not weaken assertions to avoid GPU or cluster prerequisites.

    line 20
  2. Very specific:

    Keep setup and teardown in the infrastructure-specific category, and move reusable exporter assertions to tests/internal.

    line 22
  3. Distinctive:

    Prefer readiness probes and explicit scrape/health checks over fixed sleeps.

    line 24
  4. Distinctive:

    When GPU, Docker, or Kubernetes prerequisites are unavailable, report the skipped gate and the missing prerequisite.

    line 25

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

tests - Agent Instructions

The test tree contains multiple layers with different prerequisites. Pick the lowest layer that proves the behavior.

Test Layers

  • Package/unit tests: normal go test packages, no GPU expected.
  • tests/static: rendered chart, source, package, and Dockerfile checks with no live infrastructure.
  • tests/host: GPU/DCGM-backed exporter behavior on the host.
  • tests/container: container startup, metrics, health, and runtime checks; requires local images or pullable images plus Docker/GPU access.
  • tests/k8s: Kubernetes/Helm deployment flows; requires a GPU-capable Kubernetes cluster or the local e2e k3d commands.
  • tests/internal: reusable test-only contracts and helpers.

Guidance

  • Do not weaken assertions to avoid GPU or cluster prerequisites. Use a lower test layer for logic that can be tested without hardware.
  • Keep setup and teardown in the infrastructure-specific category, and move reusable exporter assertions to tests/internal.
  • Prefer readiness probes and explicit scrape/health checks over fixed sleeps.
  • When GPU, Docker, or Kubernetes prerequisites are unavailable, report the skipped gate and the missing prerequisite.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.