feat(shorebird_cli): remove link % from patch summary (#2458)
This commit is contained in:
@@ -424,8 +424,6 @@ Please re-run the release command for this version or create a new release.''');
|
||||
'🟠 Track: ${lightCyan.wrap('Staging')}'
|
||||
else
|
||||
'🟢 Track: ${lightCyan.wrap('Production')}',
|
||||
if (patcher.linkPercentage != null)
|
||||
'''🔗 Running ${lightCyan.wrap('${patcher.linkPercentage!.toStringAsFixed(1)}%')} on CPU''',
|
||||
if (patcher.linkPercentage != null &&
|
||||
patcher.linkPercentage! < Patcher.minLinkPercentage)
|
||||
'''🔍 Debug Info: ${lightCyan.wrap(patcher.debugInfoFile.path)}''',
|
||||
|
||||
@@ -29,12 +29,6 @@ abstract class Patcher {
|
||||
});
|
||||
|
||||
// Link percentage that is considered the minimum before a user might notice.
|
||||
// Our early testing has shown that about:
|
||||
// - 1/3rd of patches link at 99%
|
||||
// - 1/3rd of patches link between 20% and 99%
|
||||
// - 1/3rd of patches link below 20%
|
||||
// Most lowering is likely due to:
|
||||
// https://github.com/shorebirdtech/shorebird/issues/1825
|
||||
static const double minLinkPercentage = 75;
|
||||
|
||||
/// The standard link percentage warning.
|
||||
|
||||
@@ -522,7 +522,6 @@ void main() {
|
||||
'📦 Release Version: ${lightCyan.wrap(releaseVersion)}',
|
||||
'''🕹️ Platform: ${lightCyan.wrap(patcher.releaseType.releasePlatform.name)} ${lightCyan.wrap('[arm32 (42 B)]')}''',
|
||||
'🟢 Track: ${lightCyan.wrap('Production')}',
|
||||
'''🔗 Running ${lightCyan.wrap('${patcher.linkPercentage!.toStringAsFixed(1)}%')} on CPU''',
|
||||
'''🔍 Debug Info: ${lightCyan.wrap(patcher.debugInfoFile.path)}''',
|
||||
];
|
||||
await expectLater(
|
||||
|
||||
Reference in New Issue
Block a user