Repository navigation
fix snapcraft - #765
fix snapcraft#765
Conversation
Reviewer's GuideConfigurationDeclare supported amd64 and arm64 build platforms and set the Snap package version to 0.9.5.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Hey - I've found 1 issue
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location path="snap/snapcraft.yaml" line_range="9-12" />
<code_context>
base: core24
+platforms:
+ amd64:
+ build-on: [amd64]
+ arm64:
+ build-on: [arm64]
+
slots:
</code_context>
<issue_to_address>
**Architectures can ship different source**
When the `iptux-0-9` branch is updated while the amd64 and arm64 builds run, the amd64 and arm64 builds resolve `source-branch` independently while both set version 0.9.5; the Store can then publish packages from different commits under one version, so users get different code by architecture.
Pin both architecture builds to the same immutable commit or source snapshot for each release.
</issue_to_address>Sourcery assessment
Approval pending. 1 finding to address first.
Blocking findings: snap/snapcraft.yaml:12
| amd64: | ||
| build-on: [amd64] | ||
| arm64: | ||
| build-on: [arm64] |
There was a problem hiding this comment.
🟡 Medium · Architectures can ship different source
When the iptux-0-9 branch is updated while the amd64 and arm64 builds run, the amd64 and arm64 builds resolve source-branch independently while both set version 0.9.5; the Store can then publish packages from different commits under one version, so users get different code by architecture.
Pin both architecture builds to the same immutable commit or source snapshot for each release.
Prompt for AI agents
In `snap/snapcraft.yaml` at lines 9-12:
**Architectures can ship different source**
When the `iptux-0-9` branch is updated while the amd64 and arm64 builds run, the amd64 and arm64 builds resolve `source-branch` independently while both set version 0.9.5; the Store can then publish packages from different commits under one version, so users get different code by architecture.
Pin both architecture builds to the same immutable commit or source snapshot for each release.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## iptux-0-9 #765 +/- ##
=============================================
- Coverage 52.52% 52.51% -0.02%
=============================================
Files 64 64
Lines 8158 8158
=============================================
- Hits 4285 4284 -1
- Misses 3873 3874 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|



Summary by Sourcery
Update Snapcraft metadata to support architecture-specific builds and publish the correct package version.
New Features:
Bug Fixes: