← Back to issue list

Snapcraft needs a better User-Agent header for store requests.

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1663383
Type
issue
State
closed
Author
~joetalbott
Labels
—
Created
Updated
Closed

Current evaluation

Fixed by merged PR #1188 (commit 40aec20bf), adding Snapcraft version, OS, and architecture details to Store User-Agent headers.

Resolution: closed resolved

Reason: The linked PR #1188 was merged and implemented the requested User-Agent header in commit 40aec20bf. The issue was subsequently closed.

Evaluated by: mr-cal-bot

No scores available.

Issue body

If it's helpful, snapd user-agents currently look something like this: snapd/2.22.2 (series 16) ubuntu-core/16 (amd64) -- Kit Randel

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Fixed by merged PR #1188 (commit 40aec20bf), adding Snapcraft version, OS, and architecture details to Store User-Agent headers.
stealth/space-bunny-alpha — closed resolved Merged PR snapcore/snapcraft#1188 (40aec20bf) added Snapcraft version, OS, and architecture details to the Store User-Agent header.
stealth/space-bunny-alpha — closed resolved Fixed by merged PR #1188 (commit 40aec20bf), which added a snapcraft/version, OS, and architecture User-Agent header to store requests and removed the unused X-SNAPCRAFT-VERSION header.
qwen/qwen3.6-35b-a3b — — Requesting a better User-Agent header for Snapcraft store requests was closed without discussion or implementation. The feature was abandoned.
qwen/qwen3.6-35b-a3b — — Abandoned without implementation. The request to improve the Snapcraft User-Agent header for store requests was closed due to prolonged inactivity and no associated pull requests.
qwen/qwen3.6-35b-a3b — — Feature request for a better Snapcraft User-Agent header was closed without resolution. No implementation occurred, indicating the request was abandoned.
qwen3.6-35b-a3b-mtp-q6 — — Requesting a better User-Agent header for Snapcraft store requests was closed without implementation or discussion, indicating it was abandoned. No changes were made.

Update history

Date Change
created

Related work

  • Likely Fixed By: canonical/snapcraft#1188 (confidence 100%)

    Merged PR #1188 added the Store User-Agent header and was recorded in commit 40aec20bf.

Related issues

Issue Project State Summary Similarity
#1188 store: set User-Agent header in store requests. snapcraft merged Store requests now send a Snapcraft/version, OS, and architecture User-Agent; PR #1188 was merged in commit 40aec20bf.
84%
#1627865 Snapcraft errors when releasing a snap snapcraft (launchpad) closed Resolved by improving snapcraft's error handling to check HTTP status codes before JSON decoding, alongside a fix for the underlying store race condition (bug #1610948).
72%