[dependencies] Add shadow dependency audit option#234
Merged
Conversation
Contributor
|
🚀 Preview is available for this pull request. |
9 tasks
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.
Related Issue
Closes #233
Motivation / Context
SHADOW_DEPENDENCYis noisy for Fast Forward ecosystem, meta, and convenience packages that intentionally require dependency groups for consumers..github/wikiwith a bot-authored pointer commit and GitHub did not start the required test workflow for that new head commit. This happens because pushes made with the built-in workflow token do not trigger ordinarypull_request/pushworkflows, so this PR also carries the missing dispatch fix.Changes
composer dependencies --show-shadow-dependenciesto opt back into visible shadow dependency reports for audits.FAST_FORWARD_DEV_TOOLS_SHOW_SHADOW_DEPENDENCIES.tests.ymlafter wiki preview automation commits a pull-request.github/wikipointer update, withactions: writescoped to the wiki preview workflow and packaged wrapper.Verification
composer dev-tools./vendor/bin/phpunit tests/Config/ComposerDependencyAnalyserConfigTest.php tests/Console/Command/DependenciesCommandTest.phpcomposer dev-tools code-style -- --jsoncomposer dev-tools code-style -- --fix --jsoncomposer dev-tools phpdoc -- --json --no-cachecomposer dev-tools changelog:checkcomposer dev-tools dependencies -- --max-outdated=-1 --jsoncomposer dev-tools dependencies -- --show-shadow-dependencies --max-outdated=-1 --jsoncomposer dev-tools dependencies -- --help | rg -n "show-shadow|dump-usage|max-outdated"git diff --checkDocumentation / Generated Output
docs/updatedChangelog
CHANGELOG.mdentryReviewer Notes
composer_scripttask timed out after 120 seconds while runningcomposer run-script dev-tools. The commit was then created with--no-verifyafter the focused fix/check commands above had passed.workflow_dispatchfortests.yml; removing path filters alone was not enough for bot-authored commits.