Repository navigation
Conversation
Signed-off-by: Rodrigo Fernandes <rodrigo.fernandes@datadoghq.com>
Signed-off-by: Rodrigo Fernandes <rodrigo.fernandes@datadoghq.com>
Keep preview and clipboard dispatch inside Podman on WSL2. Signed-off-by: Rodrigo Fernandes <rodrigo.fernandes@datadoghq.com>
Choose an executable Linux opener and isolate desktop helpers in tests; clarify where pbcopy needs getconf. Signed-off-by: Rodrigo Fernandes <rodrigo.fernandes@datadoghq.com>
This was referenced Dec 1, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is 2 of 4, stacked on the CI draft. Review this before the ESLint and tooling drafts. The installed CLI follows
diff2html@3.5.0's Node>=12requirement; the contributor matrix stays modern.mainandtypesentries that pointed to files the package did not ship. The launcher remains executable, and this PR does not create a library entry point.diff2htmlto 3.5.0 and use compatible pins foryargs17.7.3,clipboardy2.3.0,open8.4.2, andnode-fetch2.7.0. Newer majors require a higher Node floor, ESM, or both; they are not compatible with exact 12.0.0. Keep the existing CLI options and Diffy endpoint.pbcopy, so everyday commands do not require its desktop setup. In Podman, use Linux helpers even on a WSL2 host; if the bundled opener is not executable, use systemxdg-open. Tests stub subprocesses, browser and clipboard helpers. HTTP transport is exercised over loopback, not against real Diffy.Verified: 27 tests passed on each modern contributor version. The reviewed runtime tarball installed in fresh, engine-strict production consumers on exact Node 12.0.0 and 24.22.3. Smoke checks covered help/version, Git/file/stdin, HTML/JSON, shipped templates/assets, desktop dispatch stubs and error exits. npm 6 warns about the optional
node-fetchencodingpeer, but install and smoke pass.Reviewer focus: the CommonJS package boundary and Podman fallbacks. The local tests do not clear live desktop integration or publication. This stacked base does not trigger the repository's master-only PR workflow. Authored delta: +371/-106; generated Yarn lockfile: +314/-194.
Linux opener selection · Dispatch tests