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

ci: split righlib sync into create-pr and check-pr commands #13583

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

Conversation

nikitka
Copy link
Collaborator

@nikitka nikitka commented Jan 20, 2025

I refactored rightlib sync script to split the run logic into two commands: create-pr and check-pr, and updated the workflow accordingly.

Also, I changed schedule start minute to 30, becasuse according to docs start of every hour is high load times and our can be delayed or dropped.

Changelog entry

...

Changelog category

  • Not for changelog (changelog entry is not required)

Additional information

...

Copy link

github-actions bot commented Jan 20, 2025

2025-01-20 12:52:26 UTC Pre-commit check linux-x86_64-relwithdebinfo for 508a4dd has started.
2025-01-20 12:53:09 UTC Artifacts will be uploaded here
2025-01-20 12:56:00 UTC ya make is running...
🟢 2025-01-20 12:56:05 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
0 0 0 0 0 0

🟢 2025-01-20 12:56:11 UTC Build successful.

Copy link

github-actions bot commented Jan 20, 2025

2025-01-20 12:53:18 UTC Pre-commit check linux-x86_64-release-asan for 508a4dd has started.
2025-01-20 12:53:30 UTC Artifacts will be uploaded here
2025-01-20 12:55:52 UTC ya make is running...
🟢 2025-01-20 12:55:58 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
0 0 0 0 0 0

🟢 2025-01-20 12:56:03 UTC Build successful.

./sync-rightlib.py create-pr

- name: check-pr
if: github.event.schedule == '30 1-23 * * *' || (github.event.inputs && github.event.inputs.command == 'check-pr')
Copy link
Collaborator

Choose a reason for hiding this comment

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

Давай два отдельных wf сделаем? Меня очень смущает, что закладка на расписание (кто то поменяет расписание -> забудет здесь поменять -> все сломается)

Типа просто сделать воркфлоу "Autocomplete PR" и в нем комплитить ПРы (в пределе может не только иморты из аркадии)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

ну тут либо три отдельных, либо action. я сделал с action сейчас, но мне не нравится.

Copy link

github-actions bot commented Jan 22, 2025

2025-01-22 15:53:08 UTC Pre-commit check linux-x86_64-relwithdebinfo for 47503bc has started.
2025-01-22 15:53:21 UTC Artifacts will be uploaded here
2025-01-22 15:55:50 UTC ya make is running...
🟢 2025-01-22 15:55:55 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
0 0 0 0 0 0

🟢 2025-01-22 15:56:01 UTC Build successful.

Copy link

github-actions bot commented Jan 22, 2025

2025-01-22 15:53:27 UTC Pre-commit check linux-x86_64-release-asan for 47503bc has started.
2025-01-22 15:53:39 UTC Artifacts will be uploaded here
2025-01-22 15:56:08 UTC ya make is running...
🟢 2025-01-22 15:56:14 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
0 0 0 0 0 0

🟢 2025-01-22 15:56:21 UTC Build successful.

Copy link

github-actions bot commented Jan 22, 2025

2025-01-22 16:00:03 UTC Pre-commit check linux-x86_64-release-asan for ae8609e has started.
2025-01-22 16:00:17 UTC Artifacts will be uploaded here
2025-01-22 16:02:39 UTC ya make is running...
🟢 2025-01-22 16:02:45 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
0 0 0 0 0 0

🟢 2025-01-22 16:02:51 UTC Build successful.

Copy link

github-actions bot commented Jan 22, 2025

2025-01-22 16:00:40 UTC Pre-commit check linux-x86_64-relwithdebinfo for ae8609e has started.
2025-01-22 16:00:53 UTC Artifacts will be uploaded here
2025-01-22 16:03:14 UTC ya make is running...
🟢 2025-01-22 16:03:19 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
0 0 0 0 0 0

🟢 2025-01-22 16:03:25 UTC Build successful.

Copy link

github-actions bot commented Jan 22, 2025

2025-01-22 16:06:18 UTC Pre-commit check linux-x86_64-relwithdebinfo for 6b2af55 has started.
2025-01-22 16:06:30 UTC Artifacts will be uploaded here
2025-01-22 16:07:05 UTC Check cancelled

Copy link

github-actions bot commented Jan 22, 2025

2025-01-22 16:10:59 UTC Pre-commit check linux-x86_64-relwithdebinfo for e1f1511 has started.
2025-01-22 16:11:10 UTC Artifacts will be uploaded here
2025-01-22 16:13:31 UTC ya make is running...
🟢 2025-01-22 16:13:36 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
0 0 0 0 0 0

🟢 2025-01-22 16:13:42 UTC Build successful.

Copy link

github-actions bot commented Jan 22, 2025

2025-01-22 16:11:01 UTC Pre-commit check linux-x86_64-release-asan for e1f1511 has started.
2025-01-22 16:13:11 UTC Artifacts will be uploaded here
2025-01-22 16:15:32 UTC ya make is running...
🟢 2025-01-22 16:15:37 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
0 0 0 0 0 0

🟢 2025-01-22 16:15:43 UTC Build successful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants