Skip to content
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

Add Orgs sharding for Blunderbuss #237

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dhaiducek
Copy link
Contributor

Using a pointer lets sharding determine whether a config had been provided so they can be properly compared. If one is not provided, this also instantiates one in setDefaults(), which is called following the sharding logic.

Migrated from:

Using a pointer lets sharding determine whether a
config had been provided so they can be properly
compared. If one is not provided, this also
instantiates one in `setDefaults()`, which is
called following the sharding logic.

Signed-off-by: Dale Haiducek <[email protected]>
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Aug 16, 2024
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

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

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

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

@k8s-ci-robot
Copy link
Contributor

Hi @dhaiducek. Thanks for your PR.

I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@k8s-ci-robot k8s-ci-robot added needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Aug 16, 2024
Copy link

netlify bot commented Aug 16, 2024

Deploy Preview for k8s-prow ready!

Name Link
🔨 Latest commit 569d41b
🔍 Latest deploy log https://app.netlify.com/sites/k8s-prow/deploys/66bfb6f20165b100081195d5
😎 Deploy Preview https://deploy-preview-237--k8s-prow.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@jmguzik
Copy link
Contributor

jmguzik commented Aug 17, 2024

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Aug 17, 2024
@petr-muller
Copy link
Contributor

/cc

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all PRs.

This bot triages PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the PR is closed

You can:

  • Mark this PR as fresh with /remove-lifecycle stale
  • Close this PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 21, 2025
@dhaiducek
Copy link
Contributor Author

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 21, 2025
Copy link
Contributor

@jmguzik jmguzik left a comment

Choose a reason for hiding this comment

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

@dhaiducek Are you still interested and willing to push it further?
I feel really bad about this one as I was involved here kubernetes/test-infra#28169 and I think we even pushed it, but missed detail about pointer. Correct me if I am wrong.

This code was reviewed so generally from my POV there is nothing major to comment. This change is huge though and it can affect again prow installations, including openshift one. I am just loudly thinking how we should approach the testing regarding the topic.

It would be ideal to test it in some kind of puppy environment, but it's not straightforward to setup, but maybe worth a try.

@dhaiducek
Copy link
Contributor Author

@dhaiducek Are you still interested and willing to push it further?

Hey @jmguzik! Yes, I'm willing to dive back into it--it's still relevant for us. No hard feelings--I got pretty gun-shy myself when it merged and broke things and had to be reverted, and I know it's a massive change. But yes, as I recall it broke last time because the implementation didn't use a pointer for the global config and didn't correctly identify when another global config wasn't specified.

I wouldn't know the first thing about setting up a sandbox Prow env, but I can try or let me know if there's anything I can do to help! Before, if I'm looking at the thread correctly, it failed during the rehearsal CI and never made it into production: https://redhat-internal.slack.com/archives/CBN38N3MW/p1683036380568929

@jmguzik
Copy link
Contributor

jmguzik commented Feb 4, 2025

I'll test that on puppy env during next shift week to see if the current impl behaves 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants