Repository navigation
Add opt-in PR comparisons and pinned onboarding - #2
Merged
Merged
Conversation
Devscope ReportHeuristic grade: A Devscope: A · Low risk · Easy onboarding Devscope PR comparisonMerge base
Changed review areasNo changed review areas detected. Advisory heuristics, not defect predictions or code coverage. Committed snapshots only; git activity, symlinks, submodules and export-ignored files are excluded. |
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.
With
compare: 'true', the Action now compares the event's exact base/head commits and includes the resulting metric deltas and changed review areas in its job summary and existing bot comment. Acomparison-reportoutput exposes the Markdown file to later steps. Comparisons default off and are skipped outside PRs; absolute threshold gates retain their existing behavior.Because compare is not released on PyPI,
devscope-refaccepts a full commit SHA from the upstream Devscope repository. The copyable workflow pins a merged compare-capable CLI commit and this integration's code commit, with full-history PR-head checkout. The README covers permissions, missing history, root-only comparison, outputs, truncation and release availability. Source and Action tags remain unchanged.Validation: four Python tests for exact refs/report transport, partial-report prevention, subdirectory and invalid-ref rejection; six Node tests for comment create/update, literal content, normal reports, read-only tokens, API errors and size limits; existing shell integration checks pass. Actionlint passes on the CI and example workflows. CI additionally exercises the actual comparison and pinned CLI on Ubuntu, macOS and Windows.
Related CLI onboarding PR will provide a tested read-only summary-only workflow.