Skip to content

feat(cli): mark sync-v2 parameters as safe and deprecate --x-* ones #935

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 30, 2024

Conversation

jansegre
Copy link
Member

Motivation

On the previous release sync-v2 was available as "experimental" and was marked as "unsafe", our tests showed it ran really well, so in this release it is being marked as "safe", making it more user friendly to enable.

Acceptance Criteria

  • --x-sync-v2-only and --x-sync-bridge are still accepted but give a warning saying they're deprecated and will be removed in a later release (possibly v0.60.0)
  • --sync-v2-only and --sync-bridge are added and have the same meaning as the --x-* variants.
    • internally they are mutually exclusive flags also with the --x-* variants, meaning --x-sync-v2-only and --sync-v2-only can't be used at the same time, and as long as one of them is true, the value used is true

Checklist

  • If you are requesting a merge into master, confirm this code is production-ready and can be included in future releases as soon as it gets merged

@jansegre jansegre self-assigned this Jan 26, 2024
@jansegre jansegre requested a review from msbrogli as a code owner January 26, 2024 18:43
@jansegre jansegre requested a review from glevco January 26, 2024 18:43
@jansegre jansegre force-pushed the feat/cli-mark-sync-v2-safe branch from e2de03c to a9ca056 Compare January 26, 2024 18:44
Copy link

codecov bot commented Jan 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (d01aecc) 85.32% compared to head (94696f2) 85.42%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #935      +/-   ##
==========================================
+ Coverage   85.32%   85.42%   +0.10%     
==========================================
  Files         290      290              
  Lines       22454    22460       +6     
  Branches     3377     3379       +2     
==========================================
+ Hits        19158    19186      +28     
+ Misses       2624     2609      -15     
+ Partials      672      665       -7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jansegre jansegre force-pushed the feat/cli-mark-sync-v2-safe branch from a9ca056 to e0e3e26 Compare January 29, 2024 13:21
@jansegre jansegre force-pushed the feat/cli-mark-sync-v2-safe branch from e0e3e26 to 94696f2 Compare January 30, 2024 15:58
@jansegre jansegre mentioned this pull request Jan 30, 2024
2 tasks
@jansegre jansegre merged commit a8b7357 into master Jan 30, 2024
@jansegre jansegre deleted the feat/cli-mark-sync-v2-safe branch January 30, 2024 16:35
@jansegre jansegre mentioned this pull request Feb 26, 2024
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants