- 
        Couldn't load subscription status. 
- Fork 225
Open
Description
Summary
The function getChecksums in src/utils/githubChecksums.ts assumes that each asset returned by the GitHub Releases API contains a digest property. However, the GitHub API does not include a digest field in asset objects, which causes the generated checksums mapping to contain undefined values and likely breaks checksum validation.
How to Reproduce
- Trigger the getChecksumsfunction (e.g., by running the site in production mode).
- Observe the returned mapping from asset name to digest—values are undefinedfor each asset.
Expected Behavior
The code should extract the correct checksum values for assets. This might involve parsing a separate checksum file attached to releases or another method, since the API does not natively provide a digest field.
Relevant Code
for (const asset of assets) {
  checksums[asset.name] = asset.digest
}Additional Notes
- See the GitHub Releases API documentation for asset object fields.
Labels
bug
Metadata
Metadata
Assignees
Labels
No labels