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

syz-ci: upload programs coverage from managers to gcs #5815

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

Conversation

tarasmadan
Copy link
Collaborator

@tarasmadan tarasmadan commented Feb 27, 2025

See #5668 for the wider context.

#5798 needs to be landed first

@tarasmadan tarasmadan force-pushed the upload-progs-coverage-to-gcs branch 3 times, most recently from cfc7315 to 62f27df Compare March 6, 2025 12:25
@tarasmadan tarasmadan marked this pull request as ready for review March 6, 2025 12:27
@tarasmadan tarasmadan requested a review from a-nogikh March 6, 2025 12:27
@tarasmadan tarasmadan force-pushed the upload-progs-coverage-to-gcs branch from 62f27df to fccac25 Compare March 6, 2025 12:33
fileName := fmt.Sprintf("%s/%s-%s-%d-%d.jsonl",
mgr.mgrcfg.DashboardClient,
mgr.name, curTime.Format(time.DateOnly),
curTime.Hour(), curTime.Minute())
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nit: not that it matters much, but do we care about hours and minutes here? If there were several restarts on the same day, is it not okay to just overwrite the jsonl?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It costs nothing and guarantees uniqueness. The goal was to generate the human readable, unique name.
But you're probably right, it is not a big deal.

@tarasmadan tarasmadan force-pushed the upload-progs-coverage-to-gcs branch 2 times, most recently from 3a982d5 to c849374 Compare March 6, 2025 15:00
@tarasmadan tarasmadan requested a review from a-nogikh March 6, 2025 15:00
@tarasmadan
Copy link
Collaborator Author

PTAL

@tarasmadan tarasmadan force-pushed the upload-progs-coverage-to-gcs branch from c849374 to d18b1bd Compare March 6, 2025 15:01
@tarasmadan tarasmadan enabled auto-merge March 6, 2025 21:11
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.

2 participants