Skip to content

CI: version-based OTA publish-skip (sha-skip never fired) - #54

Merged
avillach merged 1 commit into
mainfrom
ci/version-based-publish-skip
Jun 30, 2026
Merged

avillach merged 1 commit into
mainfrom
ci/version-based-publish-skip

Conversation

@avillach

Copy link
Copy Markdown
Contributor

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:

  • Actually skips the E variant on a B-only push (V_E unchanged).
  • Matches the device OTA's own semantics (version-equality gated — same version = no update anyway).
  • Is robust to non-reproducible builds.

Bump a variant's FW_VERSION to 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

…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>
@avillach
avillach merged commit a07f2a3 into main Jun 30, 2026
1 check passed
@avillach
avillach deleted the ci/version-based-publish-skip branch June 30, 2026 00:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant