Skip to content

Conversation

@szucsitg
Copy link
Contributor

@szucsitg szucsitg commented Sep 22, 2025

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind documentation

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area crawler

/area ci

/area utils

What this PR does / why we need it:

Currently the kernel update pipeline doesn't run due to transient network issues, and some decommissioned/terminated mirrors. This is an attempt to permanently fix all current and underlying issue with proper logging, by catching the exceptions during download.
Additionally it sets a timeout for not waiting excessively for non-functioning servers.
Added a new CLI flag to output JSON object from code to a file not from stdout, therefore error logs won't break the output. Updated params in action.yaml to use it.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Signed-off-by: szucsitg <32290917+szucsitg@users.noreply.github.com>
@szucsitg szucsitg force-pushed the feat-exception-handling branch from ac895e4 to ff29c1f Compare September 22, 2025 13:34
@FedeDP FedeDP self-assigned this Sep 22, 2025
Copy link
Collaborator

@FedeDP FedeDP left a comment

Choose a reason for hiding this comment

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

Thanks for this!
Future improvements:

  • use a global "constant" for the default timeout
  • check that many files have their own try except that might be superseded by your patch

In any case, since this solves a real problem, it's time to merge this one!
Thank you very much!
/approve

@poiana poiana added the lgtm label Sep 24, 2025
@poiana
Copy link
Contributor

poiana commented Sep 24, 2025

LGTM label has been added.

DetailsGit tree hash: 170889cfba8678f050fe15837b2c48cfe90b83e0

@poiana poiana merged commit 140671f into falcosecurity:main Sep 24, 2025
5 checks passed
@FedeDP
Copy link
Collaborator

FedeDP commented Sep 25, 2025

@szucsitg i completely forgot; are you perhaps willing to step up as a repo maintainer?
As i said here: #228 (comment) i am not very active anymore on falcosecurity, due to new job duties :) it would be great if you could help in maintaining kernel-crawler!

Please let me know and we can discuss it further!

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.

3 participants