Skip to content

Pass context down to pre/post build functions - #3635

Merged
peterebden merged 6 commits into
thought-machine:masterfrom
peterebden:pass-context
Oct 20, 2026
Merged

peterebden merged 6 commits into
thought-machine:masterfrom
peterebden:pass-context

Conversation

@peterebden

Copy link
Copy Markdown
Collaborator

This was a little lazy, to reinvent a context.Background() in the middle of things. This plumbs it through so it doesn't need to get a new one.

There's a potential edge case involving one of these being needed for a preload and triggering more parses which now lack the correct context info. It seems fairly niche but possible that such a thing might happen somewhere (hyrum's law etc).

@peterebden
peterebden requested a review from jwong-beep October 20, 2026 13:46
@peterebden
peterebden merged commit 444511e into thought-machine:master Oct 20, 2026
16 checks passed
@peterebden
peterebden deleted the pass-context branch October 20, 2026 14:37
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