You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Correctness:
- Project.get_summary: exclude is_monitor suites from test_suite_count /
test_definition_count / test_run_count subqueries (the rule applied per
CLAUDE.md monitor-exclusion).
- TableGroup._list_with_activity: separate COUNT(*) so total is correct on
out-of-range pages (window function over an empty page returned 0).
- TestSuite.test_definition_stats: render user-facing test_name_short labels
via LEFT JOIN to test_types instead of leaking raw test_type codes.
Output shape:
- list_table_groups: expose Columns + Rows + all 3 quality scores (profiling,
testing, overall), column header is "Quality Score" (overall).
- get_table_group: drop dev-facing first sentence; field labels via the
_DIFF_LABELS map for parity with create/update tools; Latest activity now
includes the calculated overall Quality Score via a new
TableGroup.quality_score property.
- get_connection: rendering consolidated through a new _render_connection_body
helper shared with _render_created_connection.
- get_project: restructured into UI-mirroring sections (Configuration /
Observability Integration / Data Retention) with UI-matching labels.
Defense in depth:
- get_test_suite / get_table_group route Connection / TableGroup lookups
through resolve_connection / resolve_table_group instead of Model.get().
- format_flavor_label helper centralizes the SQL_FLAVOR_CODE_TO_LABEL +
fallback pattern used across the read tools.
Tests:
- get_connection redaction test uses a real Connection with EncryptedBytea
fields populated; previously vacuous (mocks bypassed the columns entirely).
- get_test_suite monitor-rejection test now drives an actual is_monitor=True
suite through resolve_test_suite's filter (was only exercising the missing-
entity path).
- Updated mocks and assertions for the new label/field set.
Docs:
- mcp-patterns.md followable-IDs table updated with the new producers /
consumers introduced by this MR.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
0 commit comments