Skip to content

Conversation

@iarspider
Copy link
Contributor

@iarspider iarspider commented Nov 28, 2025


@smuzaffar as discussed today. I have put new code into new file (process_pr_v2.py), will replace old process_pr before merging.

It doesn't yet do everything - for example, it won't detect when tests are complete, I will implement it later.

We can also use this opportunity to implement our own handling of commit statuses (I have a draft cgi handler for this) that we should discuss offline.

@cmsbuild
Copy link
Contributor

Pull request #2626 was updated.

3 similar comments
@cmsbuild
Copy link
Contributor

Pull request #2626 was updated.

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 3, 2025

Pull request #2626 was updated.

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 3, 2025

Pull request #2626 was updated.

@iarspider iarspider force-pushed the sign-hashes-not-commits branch from e539998 to 5fc68a2 Compare December 3, 2025 11:45
@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 3, 2025

Pull request #2626 was updated.

@iarspider iarspider force-pushed the sign-hashes-not-commits branch from 8e05b86 to c964451 Compare December 4, 2025 09:59
@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 4, 2025

Pull request #2626 was updated.

4 similar comments
@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 4, 2025

Pull request #2626 was updated.

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 5, 2025

Pull request #2626 was updated.

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 6, 2025

Pull request #2626 was updated.

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 7, 2025

Pull request #2626 was updated.

@iarspider iarspider force-pushed the sign-hashes-not-commits branch 5 times, most recently from bf2d839 to 0c050a3 Compare December 11, 2025 15:39
@akritkbehera
Copy link
Contributor

akritkbehera commented Dec 18, 2025 via email

@smuzaffar smuzaffar marked this pull request as ready for review January 12, 2026 09:10
@smuzaffar
Copy link
Contributor

@iarspider , does new bot properly check for api_rate_limits?

@iarspider
Copy link
Contributor Author

@smuzaffar not exactly. I was assuming that PyGithub handles that "under the hood", but after examining the library code I see that it only reacts to limit being exceeded. I will prepare and push a change to add a few rate limit checks in critical places.

@iarspider iarspider force-pushed the sign-hashes-not-commits branch from 3ea959f to b631b74 Compare January 12, 2026 12:08
@iarspider
Copy link
Contributor Author

I have squased the PR, will work on rate limit later.

@smuzaffar
Copy link
Contributor

@raoatifshad , I see in jenkins job https://cmssdt.cern.ch/jenkins/job/cms-bot/1945425/console

process_pr_v2.py:5804 [INFO] Removing labels: ['code-checks-pending', 'tests-pending']
process_pr_v2.py:5816 [WARNING] Could not remove labels ['code-checks-pending', 'tests-pending']: remove_from_labels() takes 2 positional arguments but 3 were given
process_pr_v2.py:7096 [INFO] PR state: signatures-pending
process_pr_v2.py:6202 [DEBUG] Pre-check code-checks already has status, skipping auto-trigger
process_pr_v2.py:7135 [INFO] Creating code-checks properties file (manual request)
process_pr_v2.py:6027 [INFO] Creating properties file: trigger-code-checks-cms-sw-cmssw-49771.properties
process_pr_v2.py:2365 [DEBUG] Status cms/49771/code-checks unchanged, skipping update
process_pr_v2.py:1144 [DEBUG] Cache comment 1/1 unchanged, skipping

can you please check if bot has seen Pre-check code-checks already has status, skipping auto-trigger then why it still does Creating code-checks properties file (manual request) ?

@smuzaffar
Copy link
Contributor

FYI @iarspider #2626 (comment) (new bot is keep on triggering code-checks for cms-sw/cmssw#49771 )

@smuzaffar
Copy link
Contributor

smuzaffar commented Jan 12, 2026

For now I have added <cmsbot></cmsbot> in the cms-sw/cmssw#49771 PR description so that bot does not run for it (and avoid resursive code-checks)

@iarspider
Copy link
Contributor Author

Checking.

@iarspider iarspider force-pushed the sign-hashes-not-commits branch from 44a61cd to 69a3100 Compare January 12, 2026 17:23
@iarspider iarspider force-pushed the sign-hashes-not-commits branch from 69a3100 to aecde87 Compare January 12, 2026 17:26
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.

5 participants