canonical / canonical/hardware-api
Link to the certification is not the best match
- Dominant language
- Python
- Stars
- 11
- Forks
- 5
- Avg merge
- 17h 4m
- Merged PRs (30d)
- 11
Description
### Check existing issues
- [x] I've verified that this bug isn't described by any existing issues.
### Bug description
I checked the certification link to my laptop, and it seems that's not the best match device:
```
{
"status": "CertifiedImageExists",
"certified_url": "https://ubuntu.com/certified/202103-28886",
"available_releases": [
{
"codename": "focal",
"distributor": "Ubuntu",
"version": "20.04",
"kernel": {
"name": null,
"version": "5.10.0-1023-oem",
"signature": null,
"loaded_modules": []
}
}
],
"valid_cache": true,
"hardware_mismatch": false,
"stale": false,
"stale_reason": null,
"source": "server",
"remote_access_enabled": true,
"server_url": "https://hw.ubuntu.com"
}
```
I'm not sure which characteristics from the device are used to make the match, but at least in my case the correct device seems to be this one: https://ubuntu.com/certified/202103-28819/20.04%20LTS
The most different thing is the GPU. In my case is a RTX 3060, which doesn't appear in the link provided as a result.
### Environment
_No response_
### Relevant log output
```shell
```
### Additional context
_No response_
Contributor guide
Research direction
Start by reproducing the certification lookup described in the issue and compare the returned URL with the reported RTX 3060 device and the expected certification page. Trace how device characteristics are used to select a certified match. Done means the API returns the more appropriate certification link for this hardware, with coverage for the reported mismatch.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100