Skip to content

Conversation

@ezilber-akamai
Copy link
Contributor

@ezilber-akamai ezilber-akamai commented Feb 3, 2026

📝 Description

Enables using OBJ plugin with non-production environments by resolving OBJ endpoints dynamically from the LINODE_CLI_API_HOST environment variable, which configures the environment that the CLI is pointing at.

✔️ How to Test

Pointing at a non-production environment (i.e. DevCloud), attempt to run various OBJ plugin CLI commands

@ezilber-akamai ezilber-akamai requested a review from a team as a code owner February 3, 2026 19:27
@ezilber-akamai ezilber-akamai requested review from vshanthe and zliang-akamai and removed request for a team February 3, 2026 19:27
@ezilber-akamai ezilber-akamai added the improvement for improvements in existing functionality in the changelog. label Feb 3, 2026
Copy link
Contributor

@vshanthe vshanthe left a comment

Choose a reason for hiding this comment

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

Working LGTM

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR enables the OBJ plugin to work with non-production Linode environments by dynamically resolving OBJ endpoint domains from the LINODE_CLI_API_HOST environment variable instead of using hardcoded production domains.

Changes:

  • Extracts environment subdomain from LINODE_CLI_API_HOST to construct appropriate OBJ domains
  • Updates BASE_URL_TEMPLATE and BASE_WEBSITE_TEMPLATE to use dynamically resolved domains
  • Adds regex pattern matching to parse the API host and derive the corresponding OBJ domain

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ezilber-akamai ezilber-akamai force-pushed the TPT-3949-resolve-obj-endpoints-dynamically branch from da05cae to 07395a8 Compare February 4, 2026 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement for improvements in existing functionality in the changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants