Skip to content

Fix trailing-slash path construction and improve POST error handling … - #37

Open
petrkotas wants to merge 1 commit into
openshift:mainfrom
petrkotas:fix-ta-tests
Open

Fix trailing-slash path construction and improve POST error handling …#37
petrkotas wants to merge 1 commit into
openshift:mainfrom
petrkotas:fix-ta-tests

Conversation

@petrkotas

Copy link
Copy Markdown
Member

What type of PR is this?

bug.

What this PR does / Why we need it?

Fixes the trailing slash in TA calls.

Which Jira/Github issue(s) does this PR fix?

Resolves #

Special notes for your reviewer

Pre-checks (if applicable)

  • Generated new-client-pkg
  • Included documentation changes with PR

…in proxy tests

Use strings.TrimRight to guard against double slashes when the base URL already
has a trailing slash, and use t.Fatalf so the test stops on POST failure rather
than logging and continuing.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Sep 2, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Team

Run ID: 0de12f56-8c8a-4948-814a-fc88c93d06f3


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

@openshift-ci

openshift-ci Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: petrkotas
Once this PR has been reviewed and has the lgtm label, please assign joshbranham for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci

openshift-ci Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

@petrkotas: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@xiaoyu74

xiaoyu74 commented Sep 2, 2026

Copy link
Copy Markdown

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.

2 participants