Skip to content

chore(layout): Remove handler and simplify code structure #144

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

Merged
merged 4 commits into from
Jul 17, 2025

Conversation

pgcrooks-sysdig
Copy link
Collaborator

@pgcrooks-sysdig pgcrooks-sysdig commented May 1, 2025

What type of PR is this?

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

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

Any specific area of the project related to this PR?

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

/area build

/area tests

/area proposals

What this PR does / why we need it:

  • Remove the unused demo apps from cmd.
  • Significantly clean up the code.
  • Reorganise to Go standards.

Which issue(s) this PR fixes:

Addresses SMAGENT-6727

Special notes for your reviewer:
TF provider update: sysdiglabs/terraform-provider-sysdig#647

@pgcrooks-sysdig pgcrooks-sysdig changed the title Pcrooks play [DO NOT MERGE] Kilt 3.0 May 1, 2025
@pgcrooks-sysdig pgcrooks-sysdig changed the title [DO NOT MERGE] Kilt 3.0 chore(layout): Remove handler and simplify code structure Jun 16, 2025
@francesco-racciatti
Copy link
Collaborator

We'll need to update the references in the Terraform provider
https://github.com/search?q=repo%3Asysdiglabs%2Fterraform-provider-sysdig%20agent-kilt&type=code

@francesco-racciatti
Copy link
Collaborator

I'd remove the whole cmd folder too

@pgcrooks-sysdig
Copy link
Collaborator Author

We'll need to update the references in the Terraform provider https://github.com/search?q=repo%3Asysdiglabs%2Fterraform-provider-sysdig%20agent-kilt&type=code

I haven't even looked at that yet to be honest (I only focused on Patcher and Agent).

- Rely more heavily on goreleaser
- Move handler to closed-source (no OSS use-case)
- Try to be more "go-thonic" in our layout

Ref: SMAGENT-6727
@pgcrooks-sysdig pgcrooks-sysdig marked this pull request as ready for review June 30, 2025 10:28
Copy link
Collaborator

@francesco-racciatti francesco-racciatti left a comment

Choose a reason for hiding this comment

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

LGTM

@francesco-racciatti
Copy link
Collaborator

@pgcrooks-sysdig pgcrooks-sysdig merged commit 1266cc4 into dev Jul 17, 2025
2 checks passed
@pgcrooks-sysdig pgcrooks-sysdig deleted the pcrooks_play branch July 17, 2025 08:13
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