Skip to content

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

Open
peterebden wants to merge 4 commits into
thought-machine:masterfrom
peterebden:pass-context
Open

peterebden wants to merge 4 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).

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.

1 participant