Skip to content

test(ffe): import evaluation suites structurally - #8651

Draft
typotter wants to merge 1 commit into
mainfrom
typotter/ffe-import-consumed-suites
Draft

typotter wants to merge 1 commit into
mainfrom
typotter/ffe-import-consumed-suites

Conversation

@typotter

@typotter typotter commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Motivation

Follow-up to #8649. The fixture importer should mirror the canonical corpus structure without knowing feature names. Whether a repository executes discovered suites automatically or requires explicit opt-in is a separate test-runner decision.

Changes

  • Discover every self-contained directory under evaluation-suites/.
  • Copy each suite's ufc-config.json, cases/, and optional flag-tags.json.
  • Exclude only the regular AGENTS.md and README.md suite guides.
  • Continue rejecting unknown entries, symbolic links, invalid suite shapes, and an empty suite collection.
  • Document the boundary between importing a suite and selecting it for execution.
  • Cover multiple existing-style suites plus a synthetic future suite, optional flag tags, guides, guide symlinks, unknown entries, and an empty suite collection.

Verification

  • ./format.sh
  • ./run.sh TEST_THE_TEST tests/test_the_test/test_update_ffe_fixtures.py — 45 passed
  • End-to-end import of ffe-system-test-data@cd0081d88e3170acf4db876a50c5c41f7eca0b17 — 667 evaluation cases, 38 selection cases, and all five suites imported
  • Mutation controls confirm the tests fail when a newly named suite is omitted or arbitrary Markdown is ignored

🤖 Generated with Codex

@github-actions

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

CODEOWNERS have been resolved as:

tests/ffe/README.md                                                     @DataDog/feature-flagging-and-experimentation-sdk
tests/test_the_test/test_update_ffe_fixtures.py                         @DataDog/feature-flagging-and-experimentation-sdk
utils/scripts/update_ffe_fixtures.py                                    @DataDog/feature-flagging-and-experimentation-sdk @DataDog/system-tests-core

Base automatically changed from cbeauchesne/ffe-fixtures-ignore-markdown to main November 23, 2026 18:50
Discover every self-contained evaluation suite from the corpus directory
instead of hard-coding feature names. Copy each suite's runtime entries,
exclude only recognized guide files, and retain strict validation for unknown
entries and symbolic links.

Document that importing suites is independent from each test harness's choice
of discovery or explicit activation.

Environment: Datadog workspace

Co-Authored-By: Codex GPT-5 <noreply@localhost>
@typotter
typotter force-pushed the typotter/ffe-import-consumed-suites branch from b9a98e4 to 8b50358 Compare November 23, 2026 21:41
@typotter typotter changed the title test(ffe): import only consumed evaluation suites test(ffe): import evaluation suites structurally Nov 23, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant