Skip to content

gateway: fix update_refs crash on untagged transitive entries#858

Merged
potiuk merged 1 commit into
mainfrom
fix-update-refs-none-details
May 20, 2026
Merged

gateway: fix update_refs crash on untagged transitive entries#858
potiuk merged 1 commit into
mainfrom
fix-update-refs-none-details

Conversation

@potiuk
Copy link
Copy Markdown
Member

@potiuk potiuk commented May 19, 2026

Summary

Test plan

update_refs crashed with AttributeError when actions.yml contained
an entry where the SHA key had no nested value (parses as None in
Python). Two such untagged-transitive entries were added in #853
(carabiner-dev install/{ampel-bootstrap,download-and-verify}),
which made the update_actions workflow fail on every subsequent
dependabot bump touching those keys (e.g. PR #856 bumping
carabiner-dev/actions 1.1.7 -> 1.2.0).

Initialize the empty dict in place so the expiry update path runs
on these entries the same way it does on any other.

Generated-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@potiuk potiuk requested review from dfoulks1 and ppkarwasz as code owners May 19, 2026 22:39
@potiuk potiuk merged commit 9a273c1 into main May 20, 2026
10 checks passed
@potiuk potiuk deleted the fix-update-refs-none-details branch May 20, 2026 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants