Skip to content

Improve handling of sourceDescription#109

Open
tanyafortuna wants to merge 4 commits into
mainfrom
feat/pw-improve-source-description-passthru
Open

Improve handling of sourceDescription#109
tanyafortuna wants to merge 4 commits into
mainfrom
feat/pw-improve-source-description-passthru

Conversation

@tanyafortuna
Copy link
Copy Markdown
Collaborator

The code previously generated sourceDescription as structured data, wrote it into a TypeScript file as an annotation, then regex-parsed it back out. This was fragile and could silently fail if formatting changed.

This PR has refactored that so now sourceDescription is passed through the pipeline as data instead of being re-extracted.

@tanyafortuna tanyafortuna self-assigned this May 21, 2026
@tanyafortuna
Copy link
Copy Markdown
Collaborator Author

@brandonjpierce @belsrc could you please review this refactor PR? We want to pass sourceDescription through the various generated files, but previously it was being re-extracted with regex each time and there was some potential for breakage that way. Now we just pass it directly.

Should be merged after #108

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