Skip to content

Conversation

@jerader
Copy link
Collaborator

@jerader jerader commented Dec 18, 2025

Overview

Added the new location update key to the migration, it is empty so its a small migration

Test Plan and Hands on Testing

test importing an old protocol and see that it imports correctly

Changelog

create migration file and plug it in

Risk assessment

low

@jerader jerader requested a review from ncdiehl11 December 18, 2025 17:13
Copy link
Contributor

@TamarZanzouri TamarZanzouri left a comment

Choose a reason for hiding this comment

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

LGTM!

@codecov
Copy link

codecov bot commented Dec 18, 2025

Codecov Report

❌ Patch coverage is 5.12821% with 37 lines in your changes missing coverage. Please review.
✅ Project coverage is 56.06%. Comparing base (6ee83fc) to head (284735c).

Files with missing lines Patch % Lines
protocol-designer/src/load-file/migration/8_8_0.ts 2.63% 37 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             edge   #20418      +/-   ##
==========================================
- Coverage   56.06%   56.06%   -0.01%     
==========================================
  Files        3663     3664       +1     
  Lines      308848   308887      +39     
  Branches    45926    45926              
==========================================
+ Hits       173168   173170       +2     
- Misses     135435   135472      +37     
  Partials      245      245              
Flag Coverage Δ
protocol-designer 19.47% <5.12%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
protocol-designer/src/load-file/migration/index.ts 44.30% <100.00%> (+0.71%) ⬆️
protocol-designer/src/load-file/migration/8_8_0.ts 2.63% <2.63%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

...acc,
[id]: {
...form,
moduleStateUpdate: {},
Copy link
Collaborator

Choose a reason for hiding this comment

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

So we're committed to this now? :) :)

// @ts-expect-error
'8.7.0': migrateFileEightSeven,
// @ts-expect-error
'8.8.0': migrateFileEightEight,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Hehe, were we going to rename this to migrateTwoThousandSixDotOne for the new PD versioning scheme?

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.

4 participants