Skip to content

Bumped 'drupal/drupal-driver' and 'drupal/drupal-extension' to RC1.#636

Merged
AlexSkrypnyk merged 1 commit into
mainfrom
feature/drupal-rc1
May 18, 2026
Merged

Bumped 'drupal/drupal-driver' and 'drupal/drupal-extension' to RC1.#636
AlexSkrypnyk merged 1 commit into
mainfrom
feature/drupal-rc1

Conversation

@AlexSkrypnyk
Copy link
Copy Markdown
Member

@AlexSkrypnyk AlexSkrypnyk commented May 18, 2026

Summary

Tightens the Composer stability constraints for drupal/drupal-driver and drupal/drupal-extension from @alpha to @RC now that the upstream maintainers have shipped their first RC tags (v3.0.0-rc1 and v6.0.0-rc1). The minimum-stability field is updated from alpha to RC to match. This is the natural follow-up to #631, which introduced the initial migration to the 6.0/3.0 line under alpha stability; with RC tags now available, consumers of this library no longer need to whitelist alpha stability project-wide.

Changes

Composer

  • drupal/drupal-driver constraint: ^3.0@alpha^3.0@RC (resolves to v3.0.0-rc1).
  • drupal/drupal-extension constraint: ^6.0@alpha^6.0@RC (resolves to v6.0.0-rc1).
  • minimum-stability: alphaRC.

No library source code changed - this is a Composer-metadata-only change. prefer-stable: true is unchanged, so every other dependency continues to resolve to its latest stable tag.

Consumer impact

Downstream projects no longer need to whitelist alpha stability for these two packages. With this release, the following root composer.json snippet is sufficient:

"require-dev": {
    "drevops/behat-steps": "^3.9",
    "drupal/drupal-driver": "^3.0@RC",
    "drupal/drupal-extension": "^6.0@RC"
}

Or, project-wide:

"minimum-stability": "RC",
"prefer-stable": true

Once the upstream packages ship stable v3.0.0 and v6.0.0 tags the per-package @RC flags can be dropped entirely.

Summary

This PR updates Composer dependency constraints for two Drupal Behat packages to their release-candidate versions, reflecting upstream RC1 releases.

Changes

Composer.json updates:

  • drupal/drupal-driver: ^3.0@alpha^3.0@RC
  • drupal/drupal-extension: ^6.0@alpha^6.0@RC
  • minimum-stability: alphaRC

No source code changes or step definition modifications.

Impact

This is a metadata-only change. Downstream projects can now require these packages with per-package @RC flags, or set "minimum-stability": "RC" with "prefer-stable": true. Once upstream releases stable v3.0.0 and v6.0.0 tags, the @RC flags can be removed.

Step Definition Compliance: Not applicable — this PR contains no step definition code changes.

Review Change Stack

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 18, 2026

Walkthrough

Composer dependency constraints for drupal/drupal-driver and drupal/drupal-extension are upgraded from alpha-pinned versions to RC-pinned versions. The project minimum-stability setting is raised from alpha to RC to align with the RC requirement pins.

Changes

Dependency Stability Update

Layer / File(s) Summary
RC stability upgrade
composer.json
drupal/drupal-driver and drupal/drupal-extension constraints are changed from ^3.0@alpha and ^6.0@alpha to ^3.0@RC and ^6.0@RC respectively, and minimum-stability is raised from alpha to RC.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

  • drevops/behat-steps#631: Both PRs directly update composer.json dependency constraints for drupal/drupal-driver and drupal/drupal-extension.

Poem

🐰 From alpha's realm to RC's steady ground,
We pin the Drupal packages round and round,
With stability raised, the project stands tall,
RC versions answer the update's call! 🚀

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and specifically summarizes the main change: upgrading two Drupal packages from alpha to RC versions in composer.json.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/drupal-rc1

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@composer.json`:
- Around line 23-24: The composer dependency stability tags for
drupal/drupal-driver and drupal/drupal-extension are incorrect (they use "`@RC`"
which causes resolution failures); update the version constraints for the
packages "drupal/drupal-driver" and "drupal/drupal-extension" to use the
published stability (e.g., change "^3.0@RC" and "^6.0@RC" to "^3.0@alpha" and
"^6.0@alpha") or revert to a released stable version once RCs are actually
published, then run composer update to verify resolution.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 43eb3570-5eb4-418d-8b5f-0e315625d1cd

📥 Commits

Reviewing files that changed from the base of the PR and between d5adf24 and d73e4ca.

📒 Files selected for processing (1)
  • composer.json

Comment thread composer.json
Comment on lines +23 to +24
"drupal/drupal-driver": "^3.0@RC",
"drupal/drupal-extension": "^6.0@RC",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Verify RC versions exist on Packagist and check for breaking changes

echo "=== Checking drupal/drupal-driver ==="
curl -s "https://repo.packagist.org/p2/drupal/drupal-driver.json" | \
  jq -r '.packages["drupal/drupal-driver"] | to_entries[] | select(.key | startswith("3.0.0-rc")) | .key' | \
  head -5

echo -e "\n=== Checking drupal/drupal-extension ==="
curl -s "https://repo.packagist.org/p2/drupal/drupal-extension.json" | \
  jq -r '.packages["drupal/drupal-extension"] | to_entries[] | select(.key | startswith("6.0.0-rc")) | .key' | \
  head -5

echo -e "\n=== Checking GitHub releases for breaking changes ==="
gh api repos/drupal/drupal-driver/releases --jq '.[] | select(.tag_name | startswith("v3.0.0-rc")) | {tag: .tag_name, name: .name, body: .body}' | head -50

gh api repos/drupal/drupal-extension/releases --jq '.[] | select(.tag_name | startswith("v6.0.0-rc")) | {tag: .tag_name, name: .name, body: .body}' | head -50

Repository: drevops/behat-steps

Length of output: 632


🏁 Script executed:

#!/bin/bash

echo "=== Checking available versions from Packagist for drupal-driver ==="
curl -s "https://repo.packagist.org/p2/drupal/drupal-driver.json" | jq '.packages | keys' | head -30

echo -e "\n=== Checking available versions from Packagist for drupal-extension ==="
curl -s "https://repo.packagist.org/p2/drupal/drupal-extension.json" | jq '.packages | keys' | head -30

Repository: drevops/behat-steps

Length of output: 266


🏁 Script executed:

#!/bin/bash

echo "=== Searching for drupal-driver releases on GitHub ==="
# Try different possible repository locations
for repo in "drupal/drupal-driver" "drush/drupal-driver" "selenium/drupal-driver"; do
  echo "Trying: $repo"
  gh api repos/$repo/releases --paginate 2>/dev/null | jq -r '.[] | "\(.tag_name): \(.prerelease)"' | grep -i "3.0" | head -10
done

echo -e "\n=== Searching for drupal-extension releases on GitHub ==="
for repo in "drupal/drupal-extension" "drupal/Behat-Drupal-Extension" "drupal-extension/drupal-extension"; do
  echo "Trying: $repo"
  gh api repos/$repo/releases --paginate 2>/dev/null | jq -r '.[] | "\(.tag_name): \(.prerelease)"' | grep -i "6.0" | head -10
done

Repository: drevops/behat-steps

Length of output: 821


🏁 Script executed:

#!/bin/bash

echo "=== Raw Packagist response structure for drupal-driver ==="
curl -s "https://repo.packagist.org/p2/drupal/drupal-driver.json" | jq '.packages["drupal/drupal-driver"] | keys' 2>/dev/null | head -50

echo -e "\n=== Raw Packagist response structure for drupal-extension ==="
curl -s "https://repo.packagist.org/p2/drupal/drupal-extension.json" | jq '.packages["drupal/drupal-extension"] | keys' 2>/dev/null | head -50

Repository: drevops/behat-steps

Length of output: 757


🌐 Web query:

drupal/drupal-driver 3.0.0-rc1 packagist releases

💡 Result:

As of May 18, 2026, the drupal/drupal-driver package on Packagist has not released a 3.0.0-rc1 version [1]. The most recent release in the 3.x development line is v3.0.0-alpha1, which was published on May 3, 2026 [1]. The 3.x branch of DrupalDriver is currently under active development, with the primary goal of supporting modern Drupal versions while dropping support for Drupal 6 and 7 [1]. Development progress is tracked via the 3.x epic on the project's GitHub repository [1][2]. Users looking for stable, production-ready versions should continue to use the 2.x maintenance line [1].

Citations:


🌐 Web query:

drupal/drupal-extension 6.0.0-rc1 packagist releases

💡 Result:

As of May 18, 2026, there is no 6.0.0-rc1 release for the drupal/drupal-extension package on Packagist [1]. The most recent version released for this package is v6.0.0-alpha1, which was published on May 4, 2026 [1]. The drupal/drupal-extension package, which provides the Drupal extension for Behat, currently maintains a 6.x development line that requires DrupalDriver 3.x [1]. Users are advised to use the 5.x branch for the current maintenance line [1]. You can verify the available versions and release history directly on the official Packagist page for the package [1].

Citations:


RC versions do not exist on Packagist — this will cause dependency resolution to fail.

As of May 2026, neither drupal/drupal-driver v3.0.0-rc1 nor drupal/drupal-extension v6.0.0-rc1 have been released. The latest versions available are v3.0.0-alpha1 (May 3) and v6.0.0-alpha1 (May 4), respectively. The constraints on lines 23–24 should remain at @alpha stability, or wait until the RC versions are actually published.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@composer.json` around lines 23 - 24, The composer dependency stability tags
for drupal/drupal-driver and drupal/drupal-extension are incorrect (they use
"`@RC`" which causes resolution failures); update the version constraints for the
packages "drupal/drupal-driver" and "drupal/drupal-extension" to use the
published stability (e.g., change "^3.0@RC" and "^6.0@RC" to "^3.0@alpha" and
"^6.0@alpha") or revert to a released stable version once RCs are actually
published, then run composer update to verify resolution.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.94%. Comparing base (d5adf24) to head (d73e4ca).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #636   +/-   ##
=======================================
  Coverage   96.94%   96.94%           
=======================================
  Files          43       43           
  Lines        3040     3040           
=======================================
  Hits         2947     2947           
  Misses         93       93           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@AlexSkrypnyk AlexSkrypnyk merged commit 2dedcbf into main May 18, 2026
15 checks passed
@AlexSkrypnyk AlexSkrypnyk deleted the feature/drupal-rc1 branch May 18, 2026 02:03
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