Skip to content

Fix build_report::clear_timer()'s implicit key variable usage#933

Merged
edmorley merged 1 commit into
mainfrom
edmorley/clear-timer-fix-var
Apr 16, 2026
Merged

Fix build_report::clear_timer()'s implicit key variable usage#933
edmorley merged 1 commit into
mainfrom
edmorley/clear-timer-fix-var

Conversation

@edmorley
Copy link
Copy Markdown
Member

Previously the key variable in build_report::clear_timer was implicitly inherited from its caller, rather than being explicitly defined via $1 - so while it works for now, would break if the caller was ever refactored.

Found by Claude/Opus when asking it to look for Bash bugs as part of debugging Heroku-26 support.

Previously the `key` variable in `build_report::clear_timer` was
implicitly inherited from its caller, rather than being explicitly defined
via `$1` - so while it works for now, would break if the caller was ever
refactored.

Found by Claude/Opus when asking it to look for Bash bugs as part
of debugging Heroku-26 support.
@edmorley edmorley self-assigned this Apr 16, 2026
@edmorley edmorley marked this pull request as ready for review April 16, 2026 12:28
@edmorley edmorley requested a review from a team as a code owner April 16, 2026 12:28
@edmorley edmorley enabled auto-merge (squash) April 16, 2026 12:28
@edmorley edmorley merged commit 6386336 into main Apr 16, 2026
9 checks passed
@edmorley edmorley deleted the edmorley/clear-timer-fix-var branch April 16, 2026 12:40
@heroku-linguist heroku-linguist Bot mentioned this pull request Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants