Skip to content

Bug: newBranch created for E2E test failure with new namespace #1686

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 25 commits into
base: main
Choose a base branch
from

Conversation

aceppaluni
Copy link

Proposed changes

A new PR was created to resolve issues with test failures when adding a new namespace. This PR removes the setDefaults() function as it is not used in codebase.

Fixes #1545


Types of changes

  • Bug fix
  • New feature added
  • Documentation Update

Please make sure to follow these points

  • I have read the contributing guidelines.
  • I have performed a self-review of my own code or work.
  • I have commented my code, particularly in hard-to-understand areas.
  • My changes generates no new warnings.
  • I have added tests that prove my fix is effective or that my feature works.
  • My changes have sufficient code coverage (unit, integration, e2e tests).

Screenshots (If Applicable)


Other Information

Any message for the reviewer or kick off the discussion by explaining why you considered this particular solution, any alternatives etc.

EnriqueL8 and others added 20 commits December 19, 2024 10:49
Signed-off-by: Enrique Lacal <enrique.lacal@kaleido.io>
Signed-off-by: Enrique Lacal <enrique.lacal@kaleido.io>
Signed-off-by: Enrique Lacal <enrique.lacal@kaleido.io>
Signed-off-by: Enrique Lacal <enrique.lacal@kaleido.io>
actions/upload-artifact and actions/download-artifact have
been deprecated and need updated.

https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Signed-off-by: Ry Jones <ry@linux.com>
Signed-off-by: Enrique Lacal <enrique.lacal@kaleido.io>
Signed-off-by: Angelina <aceppaluni@gmail.com>
Signed-off-by: Angelina <aceppaluni@gmail.com>
Signed-off-by: Angelina <aceppaluni@gmail.com>
Signed-off-by: Ry Jones <ry@linux.com>
Signed-off-by: Angelina <aceppaluni@gmail.com>
Signed-off-by: Ry Jones <ry@linux.com>
Signed-off-by: Angelina <aceppaluni@gmail.com>
Signed-off-by: Angelina <aceppaluni@gmail.com>
@aceppaluni aceppaluni requested a review from a team as a code owner May 22, 2025 15:17
viper.SetDefault(string(CacheTokenPoolTTL), "1h")
}

func Reset() {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why did you remove this?

Copy link
Author

Choose a reason for hiding this comment

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

I had removed setDefualts() as it was not used through out codebase and had wanted to remove anything not in use. If this line serves an additional purpose, happy to add back :)

Copy link
Contributor

Choose a reason for hiding this comment

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

This is being used by the tests

Signed-off-by: Angelina <aceppaluni@gmail.com>
viper.SetDefault(string(CacheTokenPoolTTL), "1h")
}

func Reset() {
Copy link
Contributor

Choose a reason for hiding this comment

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

This is being used by the tests

Signed-off-by: Angelina <aceppaluni@gmail.com>
@EnriqueL8
Copy link
Contributor

@aceppaluni You have conflicts on the go.mod

@@ -360,126 +360,6 @@ var (
UIPath = ffc("ui.path")
)

func setDefaults() {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this removed?

Copy link
Author

Choose a reason for hiding this comment

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

This was the function not being used

Copy link
Contributor

Choose a reason for hiding this comment

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

It is being used

Signed-off-by: Angelina <aceppaluni@gmail.com>
@aceppaluni
Copy link
Author

I resolved the conflicts in mod :)

@EnriqueL8
Copy link
Contributor

Going to take this one over and clean it up

@EnriqueL8
Copy link
Contributor

@EnriqueL8
Copy link
Contributor

@EnriqueL8 EnriqueL8 mentioned this pull request Jul 7, 2025
9 tasks
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.

Intermittent e2e test failures when adding a new namespace
3 participants