Skip to content

Conversation

@mfocko
Copy link
Member

@mfocko mfocko commented Nov 6, 2024

For details see individual commits.

TODO:

  • Currently we're at (20 →) 30 minutes timeout, fine with that, or wanna bump it further?
    • should be fine for now, can be adjusted in the future
  • Maybe open up an issue for a mechanism for removing the outdated targets (by amend & force push)
    • automate this
  • Open up follow-ups for improving the validation (“fr fr” now)
    • use labels for filtering (or maybe check if the PR is created from the fork)
  • Prefix the log messages with [validation], so it's easier to search for in Sentry?
    • maybe just use the tag in Sentry (right now production whereas prod is the Service itself)

mfocko and others added 6 commits October 24, 2024 13:49
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](pre-commit/pre-commit-hooks@v4.6.0...v5.0.0)
- [github.com/astral-sh/ruff-pre-commit: v0.5.0 → v0.7.2](astral-sh/ruff-pre-commit@v0.5.0...v0.7.2)
- [github.com/pre-commit/mirrors-mypy: v1.10.1 → v1.13.0](pre-commit/mirrors-mypy@v1.10.1...v1.13.0)
- [github.com/gitleaks/gitleaks: v8.18.4 → v8.21.2](gitleaks/gitleaks@v8.18.4...v8.21.2)
- [github.com/python-jsonschema/check-jsonschema: 0.28.6 → 0.29.4](python-jsonschema/check-jsonschema@0.28.6...0.29.4)

(cherry picked from commit d878cb6)

Supersedes and closes packit#13
So we can type check missing implementations more easily.

Signed-off-by: Matej Focko <[email protected]>
And also make it abstract property at the same time.

Signed-off-by: Matej Focko <[email protected]>
We're logging the contents of those constants and suffixing it with
“minutes”, yet... the constant »actually« holds seconds (given the usage
of ‹timedelta›). Therefore drop the multiples of ‹60› and use ‹minutes›
in the ‹timedelta› construction.

Related to packit#15

Signed-off-by: Matej Focko <[email protected]>
@mfocko mfocko self-assigned this Nov 6, 2024
@mfocko mfocko added the discuss To be discussed within team label Nov 6, 2024
After going through the Sentry I've noticed we have missed (or it got
reformatted) some f-strings, so the constants for timeouts were not
interpolated into the log messages.

Signed-off-by: Matej Focko <[email protected]>
@lbarcziova lbarcziova removed the discuss To be discussed within team label Nov 8, 2024
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.

thanks!

@mfocko mfocko added this pull request to the merge queue Nov 10, 2024
Merged via the queue into packit:main with commit 1196ff1 Nov 10, 2024
5 checks passed
@mfocko mfocko deleted the chore/qol branch November 10, 2024 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants