Skip to content

ref(preprod): Remove deprecated snapshot detail TS types and update debug modal#115653

Merged
mtopo27 merged 2 commits into
masterfrom
maxtopolsky/eme-1145-remove-deprecated-detail-types
May 15, 2026
Merged

ref(preprod): Remove deprecated snapshot detail TS types and update debug modal#115653
mtopo27 merged 2 commits into
masterfrom
maxtopolsky/eme-1145-remove-deprecated-detail-types

Conversation

@mtopo27
Copy link
Copy Markdown
Contributor

@mtopo27 mtopo27 commented May 15, 2026

Remove the SnapshotComparisonRunInfo and SnapshotApprovalInfo TypeScript interfaces and their fields from SnapshotDetailsApiResponse, matching the backend removal in #115652. The debug modal now shows comparison_state instead of comparison_run_info.

Depends on #115652.

Refs EME-1145

@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 15, 2026

EME-1145

@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label May 15, 2026
@mtopo27 mtopo27 marked this pull request as ready for review May 15, 2026 17:35
@mtopo27 mtopo27 requested a review from a team as a code owner May 15, 2026 17:35
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 15, 2026

📊 Type Coverage Diff

✅ No new type safety issues introduced. Coverage: 93.52%

Copy link
Copy Markdown
Contributor

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 5b01c2b. Configure here.

'app_id',
'base_artifact_id',
'comparison_run_info',
'comparison_type',
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Accidentally removed comparison_type from debug modal visible fields

Medium Severity

comparison_type was accidentally removed from VISIBLE_FIELDS alongside comparison_run_info. The PR description states the intent was to replace only comparison_run_info with comparison_state, but because the two lines were adjacent, comparison_type got swept up in the deletion. comparison_type is still a valid, non-deprecated field on SnapshotDetailsApiResponse and is actively used elsewhere, so the debug modal now silently omits it.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 5b01c2b. Configure here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

not an accident

Base automatically changed from maxtopolsky/eme-1149-remove-deprecated-detail-fields to master May 15, 2026 18:48
mtopo27 added 2 commits May 15, 2026 14:50
…ebug modal

Remove SnapshotComparisonRunInfo and SnapshotApprovalInfo interfaces and
their fields from SnapshotDetailsApiResponse, matching the backend removal
in #115652. Replace comparison_run_info with comparison_state in the debug
modal's visible fields.

Refs EME-1145
comparison_state already covers the same information. No need to show
the redundant comparison_type in the build metadata panel.
@mtopo27 mtopo27 force-pushed the maxtopolsky/eme-1145-remove-deprecated-detail-types branch from 5b01c2b to 182e15e Compare May 15, 2026 18:50
@mtopo27 mtopo27 merged commit ca96481 into master May 15, 2026
74 checks passed
@mtopo27 mtopo27 deleted the maxtopolsky/eme-1145-remove-deprecated-detail-types branch May 15, 2026 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants