Repository navigation
[#3143] Added an opt-in provision check that fails on errors in the Drupal status report. - #3243
Merged
Merged
Conversation
|
📖 Documentation preview for this pull request has been deployed to Netlify: https://6ae3b809e843f775aa98bbb3--vortex-docs.netlify.app This preview is rebuilt on every commit and is not the production documentation site. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
AlexSkrypnyk
force-pushed
the
feature/3143-provision-status
branch
from
October 29, 2026 20:57
32235c4 to
50dd272
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
1 similar comment
Member
Author
|
Code coverage (threshold: 90%) Per-class coverage |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3243 +/- ##
==========================================
- Coverage 92.28% 92.09% -0.20%
==========================================
Files 113 105 -8
Lines 5097 4931 -166
Branches 49 3 -46
==========================================
- Hits 4704 4541 -163
+ Misses 393 390 -3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Code coverage (threshold: 90%) Per-class coverage |
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.
Closes #3143
Summary
vortex-provisioncan now read the Drupal status report after its last operation and fail when any requirement has the error severity. WithVORTEX_PROVISION_VERIFY_STATUS_REPORT=1, it runsdrush core:requirements --severity=2 --field=title --format=listonce maintenance mode is off and the optional configuration check has passed.Provisioning used to report success based on its own steps finishing, so a site with a pending schema update, a files directory that isn't writable or a missing PHP extension built green. The failure output now lists the title of each failing requirement, and a non-zero exit from Drush fails with
Unable to read the Drupal status report.instead of passing on empty output. Warnings never fail the run.The check is opt-in (
0in.envand in the script), like the otherVORTEX_PROVISION_VERIFY_*checks: a freshly provisioned template site reports errors for cron that has never run and for XML Sitemap, so enabling it by default fails every build.VORTEX_PROVISION_VERIFY_STATUS_REPORT_EXCLUDEtakes a comma-separated list of requirement keys passed to--ignore, so a project can accept known errors and keep the check on. Runs that skip post-provision operations (VORTEX_PROVISION_POST_OPERATIONS_SKIP=1, including the profile fallback) never reach the check.Before / After
Changes
Provision script
.vortex/tooling/src/vortex-provisionadds the 2 variables, aVerify status reportline in the settings summary and the verification step.Configuration and docs
.envdocumentsVORTEX_PROVISION_VERIFY_STATUS_REPORT=0and an emptyVORTEX_PROVISION_VERIFY_STATUS_REPORT_EXCLUDE..vortex/docs/content/development/provision.mdxdescribes both variables, and the regeneratedvariables.mdxtable carries them.Tests and fixtures
.vortex/tooling/tests/unit/provision.batsadds 4 scenarios: errors found, status report unreadable, errors excluded and check off by default..vortex/installer/tests/Fixtures/handler_process/are regenerated for the new.enventries.