Skip to content

Testing#4

Draft
l0lawrence wants to merge 15 commits into
l0lawrence/python-regen-html-difffrom
testing
Draft

Testing#4
l0lawrence wants to merge 15 commits into
l0lawrence/python-regen-html-difffrom
testing

Conversation

@l0lawrence

Copy link
Copy Markdown
Owner

No description provided.

@l0lawrence l0lawrence closed this Jun 23, 2026
@l0lawrence l0lawrence reopened this Jun 23, 2026
@github-actions

github-actions Bot commented Jun 23, 2026

Copy link
Copy Markdown

🐍 Python emitter — generated test diff

195 files changed · +195 / -0

👉 View the rendered HTML diff

👇 This PR changes generated output — update the baseline

Review the rendered diff above. If the changes are expected, refresh the
baseline and pin the new tag so it ships with this PR:

cd packages/http-client-python
npm run regenerate            # produce fresh generated output
npm run regenerate:push-assets  # publish baseline + bump assets.json

Then commit the updated packages/http-client-python/assets.json (its
Tag now points at the new baseline). Pushing it makes this check pass
with 0 differences.

Baseline tag: `python/tests_481763e148` · updated for the latest commit. Re-runs of CI refresh this preview.

github-actions Bot added a commit that referenced this pull request Jun 23, 2026
github-actions Bot added a commit that referenced this pull request Jun 23, 2026
github-actions Bot added a commit that referenced this pull request Jun 23, 2026
github-actions Bot added a commit that referenced this pull request Jun 23, 2026
l0lawrence and others added 3 commits June 23, 2026 13:14
# Conflicts:
#	packages/http-client-python/eng/scripts/ci/regenerate-common.ts
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
github-actions Bot added a commit that referenced this pull request Jun 23, 2026
github-actions Bot added a commit that referenced this pull request Jun 23, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
github-actions Bot added a commit that referenced this pull request Jun 23, 2026
git diff --no-index prefixes each path with baseline/ vs current/, so
diff2html mistook every file for a rename ({baseline -> current}). Strip
those temp-dir prefixes from the per-file chunk header so old == new path
and it renders as a normal modification.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
github-actions Bot added a commit that referenced this pull request Jun 23, 2026
Add a --open flag that prints a clickable file:// URL and opens the
rendered diff in the default browser, plus two npm scripts:
  - regenerate:diff     render the diff and open it
  - regenerate:review   regenerate then render+open
so contributors get the same grouped HTML diff locally, no PR/CI needed.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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