Skip to content

Conversation

@ptrvsrg
Copy link
Owner

@ptrvsrg ptrvsrg commented Jun 30, 2025

No description provided.

@ptrvsrg ptrvsrg requested a review from Copilot June 30, 2025 16:20
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This hotfix addresses documentation and build configuration updates to align the project with the latest release procedures using GoReleaser. Key changes include:

  • Removal of redundant swagger generation commands from router files and Makefiles.
  • Introduction of new CORS configuration options and related environment variables in both worker and manager configurations.
  • Updates to the root and web README files and .goreleaser.yaml to incorporate additional dependencies and generate hooks.

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
worker/internal/transport/http/router.go Removed obsolete go:generate commands for swagger documentation.
worker/README.md Added new CORS configuration settings and environment variables.
worker/Makefile Removed the swagger target to streamline build tasks.
web/README.md Updated header and usage instructions for the web interface.
manager/internal/transport/http/router.go Removed obsolete go:generate commands for swagger documentation.
manager/README.md Added new CORS configuration and a restart delay option.
manager/Makefile Removed the swagger target to streamline build tasks.
README.md Updated overall project dependencies and README references.
.goreleaser.yaml Added hooks to generate code in additional directories.
Comments suppressed due to low confidence (3)

web/README.md:1

  • [nitpick] Using an HTML tag for the header deviates from standard Markdown syntax; consider using a Markdown header (e.g. '# Crack Hash - UI') for consistency and portability.
<h1 align="center">Crack Hash - UI</h1>

manager/Makefile:69

  • With the removal of the swagger generation command from the Makefile, please ensure that any documentation or usage instructions referencing this target are updated accordingly.
	@echo "  run     		- Run the application (set the COMMAND environment variable to change the command, default is 'server')"

worker/README.md:42

  • The CORS configuration uses wildcard values for allowedOrigins and allowedHeaders; verify that this is acceptable for your production environment to avoid unintended exposure.
  cors:

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