agentleFS
GreptimeTeamGreptimeTeam/greptimedb/tests-integration/AGENTS.md

greptimedb / tests-integration

AGENTS.md6.7k starsChanged 4 months agoApache-2.0View on GitHub

Integration test modules are registered in tests/main.rs (autotests = false). Shared instance and storage helpers live in src/instance.rs and src/test_util.rs. See README.md for external-service setup. Import/export and COPY tests must work on Windows as well as Linux/macOS. #9227 records export tests failing because native Windows paths were compared with /-separated COPY locations. - Keep native filesystem paths (Path/PathBuf), file URIs, and /-separated object-store keys distinct. Compare filesystem paths as paths; for COPY location assertions, normalize both sides to the defined…

Trending

Quiet since September.about the whole repository

Dec 2025: 2 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 2 mentionsMay 2026: 0 mentionsJun 2026: 2 mentionsJul 2026: 3 mentionsAug 2026: 6 mentionsSep 2026: 8 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the GreptimeTeam/greptimedb repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about GreptimeTeam/greptimedb

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

See all 56

Talked about on GitHub, Bluesky and Hacker News (56 times).

On GitHub · 36

31 more on GitHub

On Bluesky · 14

9 more on Bluesky

The file

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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Import/export and COPY tests must work on Windows as well as Linux/macOS.

    line 9
  2. Very specific:

    Keep native filesystem paths (Path/PathBuf), file URIs, and /-separated object-store keys distinct.

    line 14
  3. Very specific:

    Do not compare native PathBuf::join().display() strings directly with /-separated export locations.

    line 17
  4. Distinctive:

    Run focused cases from the repository root:

    line 30

≈ “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-integration — Agent & Contributor Guide

Integration test modules are registered in tests/main.rs (autotests = false). Shared instance and storage helpers live in src/instance.rs and src/test_util.rs. See README.md for external-service setup.

Import/export portability

Import/export and COPY tests must work on Windows as well as Linux/macOS. #9227 records export tests failing because native Windows paths were compared with /-separated COPY locations.

  • Keep native filesystem paths (Path/PathBuf), file URIs, and /-separated object-store keys distinct. Compare filesystem paths as paths; for COPY location assertions, normalize both sides to the defined location format. Do not compare native PathBuf::join().display() strings directly with /-separated export locations.
  • Build filesystem fixtures with temporary directories and convert absolute paths to file URIs with Url::from_file_path; do not hard-code /tmp or concatenate file:// with native paths. Close file handles before rename or cleanup, including import-state writes.
  • Linux Nightly Build runs tests as root in dev-builder; chmod/read-only permissions cannot reliably force I/O failures. For storage error propagation tests, reuse object_store::layers::mock to inject deterministic failures rather than relying on execution-user permissions.

Validation

Run focused cases from the repository root:

cargo nextest run -p tests-integration --test main -E 'test(<test-name>)'

For import/export changes, run affected tests on Windows. The reference job is test-on-windows in Nightly CI (cargo nextest run -F dashboard). Linux/macOS success does not establish Windows compatibility. If Windows execution is unavailable, explicitly report that gap and inspect platform-specific paths and file operations.

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.