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

Receive and save OpenScanHub task finish event #2580

Conversation

majamassarini
Copy link
Member

@majamassarini majamassarini commented Oct 11, 2024

@majamassarini majamassarini changed the title Fix/packit-service/2543 Receive and save OpenScanHub task finish event Oct 11, 2024
Copy link
Contributor

@majamassarini majamassarini force-pushed the fix/packit-service/2543 branch from 3ade7de to 56294f5 Compare October 11, 2024 13:18
Copy link
Contributor

@majamassarini majamassarini force-pushed the fix/packit-service/2543 branch from 56294f5 to 8793f41 Compare October 14, 2024 12:15
Copy link
Contributor

Copy link
Contributor

@siteshwar
Copy link
Contributor

Fixes #2543

Thank you for working on this! But it does not handle the case when the tasks may end up in failed, cancelled or interrupted state. So, the reporting is incomplete.

@majamassarini
Copy link
Member Author

Fixes #2543

Thank you for working on this! But it does not handle the case when the tasks may end up in failed, cancelled or interrupted state. So, the reporting is incomplete.

I am still working on it 🙂 I will push new commits soon (I hope).

@majamassarini majamassarini force-pushed the fix/packit-service/2543 branch from e55dede to dc073f1 Compare October 16, 2024 12:37
@majamassarini majamassarini marked this pull request as ready for review October 16, 2024 12:38
@majamassarini majamassarini requested review from mfocko and a team as code owners October 16, 2024 12:38
Copy link
Contributor

@majamassarini majamassarini force-pushed the fix/packit-service/2543 branch from dc073f1 to 7cbb194 Compare October 16, 2024 12:55
Copy link
Contributor

Copy link
Member

@lbarcziova lbarcziova left a comment

Choose a reason for hiding this comment

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

good job Maja, this will be great!

packit_service/models.py Outdated Show resolved Hide resolved
packit_service/models.py Show resolved Hide resolved
packit_service/worker/handlers/open_scan_hub.py Outdated Show resolved Hide resolved
packit_service/worker/handlers/open_scan_hub.py Outdated Show resolved Hide resolved
packit_service/worker/handlers/open_scan_hub.py Outdated Show resolved Hide resolved
packit_service/worker/handlers/open_scan_hub.py Outdated Show resolved Hide resolved
packit_service/worker/handlers/open_scan_hub.py Outdated Show resolved Hide resolved
packit_service/models.py Outdated Show resolved Hide resolved
packit_service/worker/handlers/open_scan_hub.py Outdated Show resolved Hide resolved
packit_service/models.py Show resolved Hide resolved
packit_service/worker/handlers/open_scan_hub.py Outdated Show resolved Hide resolved
packit_service/worker/handlers/open_scan_hub.py Outdated Show resolved Hide resolved
@majamassarini majamassarini force-pushed the fix/packit-service/2543 branch 2 times, most recently from 8f6003c to 2e9c2b6 Compare October 18, 2024 13:52
Copy link
Contributor

Copy link
Contributor

@majamassarini majamassarini force-pushed the fix/packit-service/2543 branch from 2e9c2b6 to 47e670a Compare October 18, 2024 13:56
Copy link
Contributor

Copy link
Member

@lbarcziova lbarcziova left a comment

Choose a reason for hiding this comment

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

just small notes, otherwise LGTM, great job!

packit_service/worker/handlers/open_scan_hub.py Outdated Show resolved Hide resolved
@majamassarini majamassarini force-pushed the fix/packit-service/2543 branch from 47e670a to a9b82c8 Compare October 22, 2024 08:43
Copy link
Contributor

@majamassarini majamassarini force-pushed the fix/packit-service/2543 branch from a9b82c8 to 1659104 Compare October 22, 2024 08:47
Copy link
Contributor

task.started and task.finished
@majamassarini majamassarini force-pushed the fix/packit-service/2543 branch from 1659104 to 0e81030 Compare October 22, 2024 08:51
Copy link
Contributor

softwarefactory-project-zuul bot added a commit to packit/packit-service-fedmsg that referenced this pull request Oct 22, 2024
Handle both started and finished OpenScanHub events

Merge before packit/packit-service#2580

Reviewed-by: Laura Barcziová
@majamassarini majamassarini added the mergeit When set, zuul wil gate and merge the PR. label Oct 22, 2024
softwarefactory-project-zuul bot added a commit to packit/deployment that referenced this pull request Oct 22, 2024
Allow both started and finished OpenScanHub msgs in queue

Related to packit/packit-service#2580

Reviewed-by: Laura Barcziová
Copy link
Contributor

Build succeeded (gate pipeline).
https://softwarefactory-project.io/zuul/t/packit-service/buildset/2a5804ef75d348d3bc60943b2e41bfb3

✔️ pre-commit SUCCESS in 2m 29s

@softwarefactory-project-zuul softwarefactory-project-zuul bot merged commit 1c75a3e into packit:main Oct 22, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mergeit When set, zuul wil gate and merge the PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement OpenScanHub initial reporting
5 participants