Skip to content

Add Sysdig SDK #2

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

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Add Sysdig SDK #2

wants to merge 10 commits into from

Conversation

alecron
Copy link
Collaborator

@alecron alecron commented Jun 30, 2025

No description provided.

@alecron alecron marked this pull request as ready for review June 30, 2025 15:14
@S3B4SZ17 S3B4SZ17 force-pushed the add-sysdig-sdk branch 2 times, most recently from 304c06e to 7c11d2e Compare June 30, 2025 22:58
S3B4SZ17
S3B4SZ17 previously approved these changes Jun 30, 2025
Copy link
Collaborator

@S3B4SZ17 S3B4SZ17 left a comment

Choose a reason for hiding this comment

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

LGTM


- name: Run ruff
run: |
uvx ruff check --fix --config ruff.toml
Copy link
Member

Choose a reason for hiding this comment

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

Let's extract all those targets into a makefile so it's easier to maintain and execute locally.

  • make lint
  • make test
    ...

run: |
uv run pytest --cov=. --cov-report=xml

- name: Extract version
Copy link
Member

Choose a reason for hiding this comment

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

Let's split this into a different job that depends on the previous. This way we can execute the previous one locally with act.

- id: ruff-format
name: Ruff Format
description: Format code with ruff.
entry: bash -c 'uvx ruff format --config ruff.toml'
Copy link
Member

Choose a reason for hiding this comment

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

In here we could use the previous mentioned make fmt

entry: bash -c 'uvx ruff format --config ruff.toml'
language: system
stages: ["commit", "push"]
- id: ruff-check
Copy link
Member

Choose a reason for hiding this comment

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

And here make lint

CODEOWNERS Outdated
# the repo. Unless a later match takes precedence,
# @S3B4SZ17 @alecron and @sysdiglabs/sysdig-training will be requested for
# review when someone opens a pull request.
* @S3B4SZ17 @alecron @sysdiglabs/sysdig-training
Copy link
Member

Choose a reason for hiding this comment

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

You don't need to specify the single contributors and just leave the team. It's easier to maintain if there are movements in the org.

@@ -0,0 +1,287 @@
# Exclude a variety of commonly ignored directories.
Copy link
Member

Choose a reason for hiding this comment

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

IDK if this is required. Let's check without it, because it eases the maintenance.

mateobur
mateobur previously approved these changes Jul 1, 2025
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.

4 participants