Skip to content

refactor(core): remove dead validation_families, audit sync/async (#805) - #933

Merged
Sinity merged 1 commit into
masterfrom
feature/refactor/simplification-805
May 7, 2026
Merged

Sinity merged 1 commit into
masterfrom
feature/refactor/simplification-805

Conversation

@Sinity

@Sinity Sinity commented May 7, 2026

Copy link
Copy Markdown
Owner

Removed dead code, consolidated types, documented sync/async divergences. 8 files +35/-167.

…ON_FAMILY enum (#805)

- Remove ScenarioProjectionSourceKind.VALIDATION_FAMILY enum value
  dead since validation lane DSL collapse in #901.
- Remove validation_families field from AuthoredScenarioCatalog,
  QualityRegistry, and validation_catalog.py. The field always
  returned () after #901 flattened the ValidationLaneFamily DSL.
- Remove _render_validation_family_table and "Validation Families"
  section from render_quality_reference.py.
- Delete tests/unit/devtools/test_validation_family_models.py
  tested the deleted devtools.validation_family_models module.
- Fix #805 regression: propagate execution metadata (path_targets,
  artifact_targets, operation_targets) into LaneEntry fields during
  _build_lane_entry. Previously fields defaulted to () and execution
  metadata was lost after DSL collapse removed ExecutableScenario
  inheritance chain.
- Update tests for removed types.
- Document 10 intentional sync/async divergences between
  SQLiteArchiveMixin and SQLiteQueryStoreArchiveMixin in
  async_sqlite_archive.py module docstring.

Co-Authored-By: Claude Opus 4.7 <[email protected]>
Copilot AI review requested due to automatic review settings May 7, 2026 17:45
@Sinity
Sinity merged commit 3b91a42 into master May 7, 2026
@Sinity
Sinity deleted the feature/refactor/simplification-805 branch May 7, 2026 17:46
@coderabbitai

coderabbitai Bot commented May 7, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@Sinity has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 41 minutes and 44 seconds before requesting another review.

To continue reviewing without waiting, purchase usage credits in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 3f6838fe-6a17-4d46-9f99-80a18315d459

📥 Commits

Reviewing files that changed from the base of the PR and between eacb282 and d3b449b.

📒 Files selected for processing (8)
  • devtools/authored_scenario_catalog.py
  • devtools/quality_registry.py
  • devtools/render_quality_reference.py
  • devtools/validation_catalog.py
  • polylogue/scenarios/projections.py
  • tests/unit/devtools/test_quality_registry.py
  • tests/unit/devtools/test_render_quality_reference.py
  • tests/unit/devtools/test_validation_family_models.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/refactor/simplification-805

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes the (now-unused) “validation family” abstraction from the devtools quality/validation catalogs and updates projections + documentation rendering to treat composites as ordinary validation lanes.

Changes:

  • Deleted the old validation-family tests and removed validation-family handling from quality registry + quality reference rendering.
  • Updated scenario projections to drop the validation-family source kind and instead project the relevant composite validation lane (with optional family= metadata).
  • Improved validation lane metadata aggregation by merging execution-derived targets into compiled lane entries.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tests/unit/devtools/test_validation_family_models.py Removes tests for the deleted validation-family DSL/models.
tests/unit/devtools/test_render_quality_reference.py Updates fixtures/assertions to use validation lanes instead of families in the rendered reference.
tests/unit/devtools/test_quality_registry.py Removes assertions that depended on validation-family registry surfaces/projections.
polylogue/scenarios/projections.py Removes VALIDATION_FAMILY from ScenarioProjectionSourceKind.
devtools/validation_catalog.py Drops build_validation_family_entries and merges execution metadata targets into lane entries.
devtools/render_quality_reference.py Removes the “Validation Families” section and related snapshot counters.
devtools/quality_registry.py Removes the validation_families property.
devtools/authored_scenario_catalog.py Removes validation_families from the authored scenario catalog and construction.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@@ -13,7 +13,6 @@

class ScenarioProjectionSourceKind(str, Enum):
EXERCISE = "exercise"
Sinity added a commit that referenced this pull request May 7, 2026
Structural simplification slice for #805. The validation-family
DSL had become parallel scaffolding with no remaining live
consumers, and several sync/async helper pairs had drifted into
near-duplicates documented as such only in code review.

- Deletes the dead `validation_families` test plus its supporting
  catalog and projection wiring (`devtools/render_quality_reference.py`,
  `polylogue/scenarios/projections.py`,
  `tests/unit/devtools/*`).
- Documents the remaining sync/async divergences inline at the
  call sites instead of through a synthetic abstraction layer.
- Net effect: 1 insert, 120 deletions across 5 files, with no
  behavior change in the affected validation lanes.

Refs #805
Sinity added a commit that referenced this pull request May 7, 2026
Structural simplification slice for #805. The validation-family
DSL had become parallel scaffolding with no remaining live
consumers, and several sync/async helper pairs had drifted into
near-duplicates documented as such only in code review.

- Deletes the dead `validation_families` test plus its supporting
  catalog and projection wiring (`devtools/render_quality_reference.py`,
  `polylogue/scenarios/projections.py`,
  `tests/unit/devtools/*`).
- Documents the remaining sync/async divergences inline at the
  call sites instead of through a synthetic abstraction layer.
- Net effect: 1 insert, 120 deletions across 5 files, with no
  behavior change in the affected validation lanes.

Refs #805
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.

2 participants