Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Fix obsolete OVHcloud Passport Learn More URL - #402

Open
B-Mahdj wants to merge 1 commit into
OpenStackweb:masterfrom
B-Mahdj:fix/ovhcloud-passport-url
Open

B-Mahdj wants to merge 1 commit into
OpenStackweb:masterfrom
B-Mahdj:fix/ovhcloud-passport-url

Conversation

@B-Mahdj

@B-Mahdj B-Mahdj commented Nov 1, 2026 •

Copy link
Copy Markdown

On https://www.openstack.org/passport/, OVH Public Cloud's Learn more button opens https://www.ovh.com/public-cloud/openstack-passport.xml and returns HTTP 404. The public Passport API returns the same stale learn_more value for cloud service 91.

Replace that stored destination with https://www.ovhcloud.com/en/public-cloud/openstack/, which returns HTTP 200 and explicitly describes the Passport program. This uses the existing marketplace migration framework and matches only the obsolete URL; current/custom destinations and other fields are preserved, including on repeated execution.

Validation:

  • PHP 7.4.33 syntax and git diff --check passed.
  • Ran the actual migration SQL against isolated SQLite fixtures: matching URL corrected; current, unrelated, query-suffixed, empty and null values preserved; other fields preserved; rerun and empty-table cases passed.
  • Verified the live API value, old destination's HTTP 404 and replacement's HTTP 200.
  • Full SilverStripe/MySQL application test not run locally.

A direct edit of the OVHcloud Passport Learn More field in the CMS is the smallest operational fix; maintainers can use that instead of this migration. If merged, the migration still needs to be applied through the normal website deployment process. It follows the existing data-fix convention with no automatic down operation. Production data has not been modified.

Summary by CodeRabbit

  • Bug Fixes
    • Updated the “Learn more” link for OVHcloud Public Cloud passports when it pointed to the obsolete OVH URL. The link now directs users to the OVHcloud OpenStack page. Other links are unchanged.

@coderabbitai

coderabbitai Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3605a951-7dfb-4d08-bd84-0b724d572e16
Commits

Reviewing files that changed from the base of the PR and between 273d5a7 and d2066e6.

Files selected for processing: 2
  • marketplace/code/migrations/FixOVHCloudPassportUrlMigration.php
  • migrations/migrations.yml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Walkthrough

The migration replaces the obsolete OVH URL in matching PublicCloudPassport.LearnMore values with the OVHcloud OpenStack URL. The migration is added to the configured migrations list.

Changes: Passport URL migration

Layer / File(s) Summary
Update and register the passport URL migration
marketplace/code/migrations/FixOVHCloudPassportUrlMigration.php, migrations/migrations.yml
Adds a migration that updates matching obsolete LearnMore URLs in PublicCloudPassport and registers it in the migrations list.

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Bug fix

Merge Risk: Minimal · up to d2066

No actionable merge-blocking issue is established for this targeted URL correction. Apply the migration through the normal website deployment process.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "Fix obsolete OVHcloud Passport Learn More URL" matches the main change. The PR adds a migration that replaces the obsolete OVH Public Cloud URL in PublicCloudPassport.LearnMore with the OVH…
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
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.
Full details: Title check

Explanation

The title "Fix obsolete OVHcloud Passport Learn More URL" matches the main change. The PR adds a migration that replaces the obsolete OVH Public Cloud URL in PublicCloudPassport.LearnMore with the OVHcloud OpenStack URL, and the title names that same field and URL problem. It is short, specific, and free of noise.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 1 files. (1 skipped: 1 unsupported.)

Finishing Touches
Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Some tools did not complete. Review the errors below.

PHPStan (2.3.1)

Composer install failed: the lock file is not up to date with the latest changes in composer.json. Run composer update and commit the updated composer.lock.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

The OVHcloud Learn More button on the Passport page points to an old
ovh.com address that returns HTTP 404.

Use the existing marketplace data-migration mechanism to replace only
that obsolete address with OVHcloud's current OpenStack landing page.
Already-current and custom destinations are preserved, and running the
correction again is safe.
@B-Mahdj
B-Mahdj force-pushed the fix/ovhcloud-passport-url branch from e8b0115 to d2066e6 Compare November 1, 2026 22:54
@B-Mahdj B-Mahdj changed the title Fix obsolete OVHcloud Passport Learn More URL Fix broken community events links Nov 1, 2026
@B-Mahdj
B-Mahdj force-pushed the fix/ovhcloud-passport-url branch 2 times, most recently from caca641 to d2066e6 Compare November 1, 2026 23:33
@B-Mahdj B-Mahdj changed the title Fix broken community events links Fix obsolete OVHcloud Passport Learn More URL Nov 1, 2026
@B-Mahdj
B-Mahdj marked this pull request as ready for review November 1, 2026 23:34

This branch has not been deployed

No deployments
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