fix: tabled review follow-ups (key path, rotation warning, CRLF idempotency)#22
Conversation
…-safe idempotency - _publicKeyYamlBlock prefers the public key next to the stored signing key path, covering keys generated with a custom --output-dir. - The preserve-existing-key branch in init now warns that a rotated-out key may have been preserved and points at keys register. - The keys-register idempotency check normalizes line endings before comparing.
Review — PR #22All three stated goals are correctly implemented. No Critical findings. Medium — Asymmetric CRLF coverage in
|
|
Triage: no Critical findings. Tabling the Medium (CRLF asymmetry in the key-replacement path — normalize |
Closes out the main-lineage items tabled (Medium/Low) from the PR #18 reviews:
~/.flutter_compilercfirst, sokeys generate --output-dir <custom>users get the key embedded incodepush.yaml; falls back to the default location.initpreserves an existing embedded key because no local key file exists, it now warns that a rotated-out key may have been preserved and points atfcp codepush keys register.keys registerup-to-date check normalizes line endings before comparing.The remaining two tabled items (atomic restore write, pid-qualified temp file) live on the checkpoint lineage and follow in a separate PR.