beachball icon indicating copy to clipboard operation
beachball copied to clipboard

Feature: Handle partial publishes

Open kenotron opened this issue 6 years ago • 4 comments

Handle partial publishes:

minispec:

  • add a "sync" command that can synchronize a partially updated git repo with the current versions of the published npm packages.
  • ~delete change files for a subset of these~
  • ~should mark partially upgraded versions to be unpublished and set latest dist-tag to the last known good~
  • ~on publish AGAIN, make sure to skip over unpublished versions and apply a patch (with a changelog entry) about the skipped version~

kenotron avatar Jul 17 '19 22:07 kenotron

@leeviana @christiango - please do chime in to see if you can give more detail to the spec.

kenotron avatar Aug 21 '19 23:08 kenotron

Discussed a similar problem today and came up with another potential solution: retry fetch/push step (since this is what often fails) when there are issues.

leeviana avatar Sep 30 '19 19:09 leeviana

@dzearing - this came up again when npm had an outage during our publish time.

kenotron avatar Feb 11 '20 18:02 kenotron

The mini spec is too magical. We cannot guarantee these actions will address the issues. What we should do is only do the first line (sync command)

kenotron avatar Mar 30 '20 20:03 kenotron