Repository navigation
CI: version-based OTA publish-skip (sha-skip never fired) - #54
Merged
Merged
Conversation
…ducible) The sha-based skip never fired — CI binaries embed build metadata, so a rebuild of unchanged source produces a different sha. Switch to skipping when the live manifest version already equals the variant's version. This actually skips the unchanged E variant on a B-only push, and matches the device OTA's own version-equality gate. Bump a variant's FW_VERSION to deploy it. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The sha-based publish-skip from #53 never triggers — CI binaries aren't byte-reproducible (embedded build metadata), so a rebuild of unchanged source yields a new sha. Result: the unchanged E variant got re-uploaded + re-manifested on every push (harmless — version unchanged so E boats don't re-OTA — but not the intended skip).
Switch the skip to version match: skip a variant when the live manifest version already equals the build's version. This:
Bump a variant's
FW_VERSIONto deploy it. On this merge, both E (06.29.02) and B (06.29.03) already match their live manifests → CI should skip both (clean no-op, validating the logic).🤖 Generated with Claude Code