Skip to content

fix: some krw fixes for component onboarding #1181

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

Merged
merged 1 commit into from
Jul 6, 2025

Conversation

scoheb
Copy link
Member

@scoheb scoheb commented Jul 4, 2025

Describe your changes

  • reconfigure pac if github throws error
    re-annotate the component to let it retry onboarding
  • delete old branches script protects against deleting
    new branches by mistake.
  • delete old branches only handles branches from the
    currently running test suite via new test env var
    called component_type which is now added to each
    test suite and checked for at run time.

Checklist before requesting a review

  • I have marked as draft or added do not merge label if there's a dependency PR
    • If you want reviews on your draft PR, you can add reviewers or add the release-service-maintainers handle if you are unsure who to tag
  • My commit message includes Signed-off-by: My name <email>
  • I read CONTRIBUTING.MD and commit formatting

@scoheb scoheb requested a review from a team as a code owner July 4, 2025 19:50
@scoheb scoheb force-pushed the reconfigure-pac branch 2 times, most recently from c6543a9 to 656e4ea Compare July 4, 2025 20:09
@scoheb
Copy link
Member Author

scoheb commented Jul 4, 2025

/retest

1 similar comment
@scoheb
Copy link
Member Author

scoheb commented Jul 4, 2025

/retest

@scoheb scoheb force-pushed the reconfigure-pac branch 3 times, most recently from 1c365dc to 6518377 Compare July 6, 2025 12:57
@scoheb scoheb changed the title fix: reconfigure pac if github throws error fix: some krw fixes for component onboarding Jul 6, 2025
@scoheb scoheb force-pushed the reconfigure-pac branch 4 times, most recently from 93d02d9 to 4dc97fc Compare July 6, 2025 14:02
- reconfigure pac if github throws error
  re-annotate the component to let it retry onboarding
- delete old branches script protects against deleting
  new branches by mistake.
- delete old branches only handles branches from the
  currently running test suite via new test env var
  called component_type which is now added to each
  test suite and checked for at run time.

Signed-off-by: Scott Hebert <[email protected]>
@scoheb scoheb force-pushed the reconfigure-pac branch from 4dc97fc to 4767ed9 Compare July 6, 2025 14:49
@scoheb scoheb merged commit 29e3714 into konflux-ci:development Jul 6, 2025
15 checks passed
@johnbieren
Copy link
Collaborator

This PR is 177 new lines opened at the end of NA Friday (a US holiday) and merged on a Sunday, with 0 reviews. Why?

@happybhati
Copy link
Contributor

❗Promoted to staging ❗

@scoheb
Copy link
Member Author

scoheb commented Jul 9, 2025

This PR is 177 new lines opened at the end of NA Friday (a US holiday) and merged on a Sunday, with 0 reviews. Why?

Again. Trying to get merge queue working. A PR that was being used for testing that triggered alot of KRW tests at once showed that there was a race condition. Waiting until the following Monday to wait until NA morning to merge (providing I did not have to rebase) would have meant team members would have waiting all day on Monday with broken KRW tests until to merge. This PR only contained KRW test related changes which did not affect end users. The trade-off of not getting it approved compared to waiting and leaving a known test issue lingering seemed minor in this case.

We can have a 1x1 discussion on this topic if you prefer.

@johnbieren
Copy link
Collaborator

would have meant team members would have waiting all day on Monday with broken KRW tests until to merge

Not really. You could have set auto-merge and when EMEA signed on, they could approve and it would merge without you having to be online. This PR was open for 0 total working hour minutes for a single person on the team before it was merged

@scoheb
Copy link
Member Author

scoheb commented Jul 9, 2025

would have meant team members would have waiting all day on Monday with broken KRW tests until to merge

Not really. You could have set auto-merge and when EMEA signed on, they could approve and it would merge without you having to be online. This PR was open for 0 total working hour minutes for a single person on the team before it was merged

with legacy e2e tests not being super reliable, the chances were slim that auto-merge would have happened.

@johnbieren
Copy link
Collaborator

would have meant team members would have waiting all day on Monday with broken KRW tests until to merge

Not really. You could have set auto-merge and when EMEA signed on, they could approve and it would merge without you having to be online. This PR was open for 0 total working hour minutes for a single person on the team before it was merged

with legacy e2e tests not being super reliable, the chances were slim that auto-merge would have happened.

Then a team member could have overridden that, just like you overrode even having approvals on this PR. I am not really sure why there is pushback here. A PR should not be opened and merged with no reviews and 0 working time having passed. It isn't like this sat in review for 2 weeks and had prior approvals

@scoheb
Copy link
Member Author

scoheb commented Jul 9, 2025

I am not really sure why there is pushback here.

no pushback. was just trying to answer your question of "Why?"

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.

3 participants