Skip to content

Conversation

@adityachopra29
Copy link

Thank you for contributing to Harbor!

Comprehensive Summary of your change

  • Add Harbor CA certificates to system's trusted certificates
  • Adds the missing WEBHOOK_ENDPOINT_UI endpoint needed for running Webhook e2e tests in the CI

Issue being fixed

Fixes the CI issue coming in PR #22591

Please indicate you've done the following:

  • Well Written Title and Summary of the PR
  • Label the PR as needed. "release-note/ignore-for-release, release-note/new-feature, release-note/update, release-note/enhancement, release-note/community, release-note/breaking-change, release-note/docs, release-note/infra, release-note/deprecation"
  • Accepted the DCO. Commits without the DCO will delay acceptance.
  • Made sure tests are passing and test coverage is added if needed.
  • Considered the docs impact and opened a new docs issue or PR with docs changes if needed in website repository.

bupd and others added 18 commits November 26, 2025 17:46
Signed-off-by: bupd <bupdprasanth@gmail.com>
Signed-off-by: bupd <bupdprasanth@gmail.com>
Signed-off-by: bupd <bupdprasanth@gmail.com>

fix: playwright github action

Signed-off-by: bupd <bupdprasanth@gmail.com>

fix: playwright github action

Signed-off-by: bupd <bupdprasanth@gmail.com>

fix: rename login logout test

Signed-off-by: bupd <bupdprasanth@gmail.com>

fix: playwright testing

Signed-off-by: bupd <bupdprasanth@gmail.com>

feat: correct test

Signed-off-by: bupd <bupdprasanth@gmail.com>
Signed-off-by: bupd <bupdprasanth@gmail.com>
Signed-off-by: bupd <bupdprasanth@gmail.com>
Signed-off-by: bupd <bupdprasanth@gmail.com>
Signed-off-by: bupd <bupdprasanth@gmail.com>
Signed-off-by: bupd <bupdprasanth@gmail.com>
Signed-off-by: bupd <bupdprasanth@gmail.com>
Signed-off-by: bupd <bupdprasanth@gmail.com>
Signed-off-by: bupd <bupdprasanth@gmail.com>
Signed-off-by: bupd <bupdprasanth@gmail.com>
Signed-off-by: bupd <bupdprasanth@gmail.com>
Signed-off-by: bupd <bupdprasanth@gmail.com>
Signed-off-by: bupd <bupdprasanth@gmail.com>
Signed-off-by: bupd <bupdprasanth@gmail.com>
Signed-off-by: Aditya Chopra <adityachopra2912@gmail.com>
Signed-off-by: Aditya Chopra <adityachopra2912@gmail.com>
@adityachopra29
Copy link
Author

To the maintainers: @bupd @OrlinVasilev @MinerYang @stonezdj @Vad1mo

During the community meeting, we discussed the failing CI for PR #22591, which is needed to validate the PoC for the Playwright migration. I identified the two issues causing the CI failures and have fixed them.

To verify the changes, I’ll need to run the CI. If you could approve the CI run, that would be great. Please let me know if anything else is missing or needs improvement.

@codecov
Copy link

codecov bot commented Feb 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 46.63%. Comparing base (c8c11b4) to head (70f4b0d).
⚠️ Report is 666 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main   #22791      +/-   ##
==========================================
+ Coverage   45.36%   46.63%   +1.26%     
==========================================
  Files         244      252       +8     
  Lines       13333    14287     +954     
  Branches     2719     2937     +218     
==========================================
+ Hits         6049     6663     +614     
- Misses       6983     7266     +283     
- Partials      301      358      +57     
Flag Coverage Δ
unittests 46.63% <ø> (+1.26%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 179 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.


// Perform the request (insecure curl -> we skip TLS validation)
// If you're using node-fetch or running in Node, set NODE_TLS_REJECT_UNAUTHORIZED=0
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';

Check failure

Code scanning / CodeQL

Disabling certificate validation High test

Disabling certificate validation is strongly discouraged.
}

export function runCommand(command: string): string {
console.log(`\n$ ${command}`);

Check failure

Code scanning / CodeQL

Clear-text logging of sensitive information High test

This logs sensitive data returned by
an access to HARBOR_PASSWORD
as clear text.
console.log('✅ Command output:\n', output.trim()); // print captured output
return output.trim(); // return for further processing
} catch (error: any) {
console.error(`❌ Command failed: ${command}`);

Check failure

Code scanning / CodeQL

Clear-text logging of sensitive information High test

This logs sensitive data returned by
an access to HARBOR_PASSWORD
as clear text.
* Runs a shell command and returns the output
*/
function runCommand(command: string): string {
console.log(`\n$ ${command}`);

Check failure

Code scanning / CodeQL

Clear-text logging of sensitive information High test

This logs sensitive data returned by
an access to HARBOR_PASSWORD
as clear text.
console.log('Command output:\n', output.trim());
return output.trim();
} catch (error: any) {
console.error(`Command failed: ${command}`);

Check failure

Code scanning / CodeQL

Clear-text logging of sensitive information High test

This logs sensitive data returned by
an access to HARBOR_PASSWORD
as clear text.
@adityachopra29
Copy link
Author

Looking into it..

Signed-off-by: Aditya Chopra <adityachopra2912@gmail.com>
@adityachopra29
Copy link
Author

adityachopra29 commented Feb 9, 2026

I had made the changes a few days ago, could someone please run the CI? Also is there a better alternative for doing the same? I dont want to nag anybody repeatedly. Thanks!

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.

5 participants