remote build: do not truncate snap name in log file
Metadata
Current evaluation
Remote-build log filenames now preserve full project names, including hyphens, via craft-application PR #351 (commit 26021675).
Resolution: closed resolved
Reason: Merged craft-application PR #351 fixed the filename generation to use the full project name. The change is recorded in commit 26021675.
Evaluated by: mr-cal-bot
No scores available.
Issue body
### Bug Description
When using remote build, the name of the log file returned is `<snap name>_<arch>-<timestamp>.txt` from what I can see.
In cases where the snap has a `-`, this name get's truncated. For example, the log file I received when remote building `signal-desktop` was named `signal_arm64-<date>.txt` rather than `signal-desktop_arm64-<date>.txt`
### To Reproduce
git clone https://github.com/snapcrafters/signal-desktop
cd signal-desktop
snapcraft remote-build
### Environment
Ubuntu 22.04, Snapcraft 8.2.0
### snapcraft.yaml
```shell
n/a
```
### Relevant log output
```shell
https://github.com/snapcrafters/signal-desktop/actions/runs/8834314689/job/24473525329#step:2:683
```
### Additional context
_No response_
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Remote-build log filenames now preserve full project names, including hyphens, via craft-application PR #351 (commit 26021675). | |
| stealth/space-bunny-alpha | — | closed resolved | Fixed by craft-application PR #351, which now preserves full project names, including hyphens, in remote-build log filenames. | |
| stealth/space-bunny-alpha | — | closed resolved | Remote-build log filenames now preserve complete hyphenated project names via merged canonical/craft-application#351. | |
| stealth/space-bunny-alpha | — | closed resolved | Remote-build log filenames now preserve full project names, including hyphens, through merged craft-application PR #351. | |
| stealth/space-bunny-alpha | — | closed resolved | Remote-build log filenames were fixed to preserve full project names, including hyphens, by merged craft-application PR #351. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed. The truncation bug was resolved by fixing a legacy name-splitting hack in craft-application to extract the project name directly from the configuration instead of parsing it. | |
| qwen/qwen3.6-35b-a3b | — | — | Fixed by extracting the project name directly from the project configuration instead of parsing it. The truncation stemmed from a leftover craft-application hack that reached production. Closed after confirming the resolution. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed as a craft-application upstream issue. The truncation bug stemmed from an accidental string-splitting hack. Resolution requires fixing the upstream service to extract the project name directly from the configuration. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed after identifying the root cause in craft-application. The log filename truncation resulted from a legacy parsing hack. A fix to extract the project name directly was tracked internally. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/craft-application#351
(confidence 99%)
Its merged change replaced truncated project-name handling for remote-build log filenames.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #351 fix(remotebuild): use full project name in log files | craft-application | merged | Merged in craft-application#351 via commit 26021675, preserving full project names in remote-build log filenames and fixing canonical/snapcraft#4781. |