Skip to content

Maintenance (2025 may) #88

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 2 commits into
base: main
Choose a base branch
from
Open

Maintenance (2025 may) #88

wants to merge 2 commits into from

Conversation

peterdeme
Copy link
Contributor

@peterdeme peterdeme commented May 12, 2025

Description of the change

  • Replaced the goblin test framework with standard Go testing
    • Now using subtests (t.Run())
  • Used testify/assert and testify/require for assertions
  • Removed a few dependencies (franela/goblin, onsi/gomega)

Type of change

  • Bug fix (non-breaking change that fixes an issue);
  • New feature (non-breaking change that adds functionality);
  • Breaking change (fix or feature that would cause existing functionality not to work as expected);
  • Refactor/maintenance

Checklists

Development

  • Lint rules pass locally;
  • All tests related to the changed code pass in development;

Code review

  • This pull request has a descriptive title and sufficient context for a reviewer. There may be a screenshot or screencast attached;
  • This pull request is no longer a draft;

Deployment

  • Selected merge strategy is squash merge;
  • Changes have been reviewed by at least one other engineer;

Migrated from v2 to v3 of the urfave/cli library, following the migration guide:
- Updated import path from github.com/urfave/cli/v2 to github.com/urfave/cli/v3
- Changed EnvVars: []string{} to Sources: cli.EnvVars() for all flags
- Changed cli.App to cli.Command
- Updated Action function signature to include context
- Updated app.Run in main() to use the new signature with context

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@peterdeme peterdeme marked this pull request as ready for review May 12, 2025 13:32
@peterdeme peterdeme force-pushed the maintenance-2025-may branch from bee4ee4 to a2082f1 Compare May 12, 2025 14:29
@peterdeme peterdeme changed the title Maintenance-2025-may Maintenance (2025 may) May 12, 2025
@peterdeme peterdeme force-pushed the maintenance-2025-may branch from a2082f1 to d38b606 Compare May 12, 2025 15:26
- Replaced the goblin test framework with standard Go testing
- Used subtests (t.Run()) for better test organization
- Used testify/assert and testify/require for assertions
- Removed unused dependencies (franela/goblin, onsi/gomega)
- Fixed linting issues in http_client.go

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
Signed-off-by: peterdeme <[email protected]>
@peterdeme peterdeme force-pushed the maintenance-2025-may branch from d38b606 to b9afeec Compare May 12, 2025 15:41
RUN apk add --no-cache ca-certificates && apk upgrade --update-cache --available
RUN apk upgrade --update-cache --available && apk add ca-certificates && rm -rf /var/cache/apk/*
Copy link
Contributor Author

Choose a reason for hiding this comment

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

noticed that the add --no-cache didn't make sense as the next statement added a cache anyway 😅

@peterdeme peterdeme requested review from a team May 12, 2025 15:48
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.

1 participant