-
Notifications
You must be signed in to change notification settings - Fork 0
fix: resolve three pre-existing CI failures #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
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -77,6 +77,9 @@ dmypy.json | |
| # ruff | ||
| .ruff_cache/ | ||
|
|
||
| # gourmand | ||
| .gourmand-cache/ | ||
|
|
||
| # uv | ||
| .uv/ | ||
| uv.lock | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,41 +1,13 @@ | ||
| # Gourmand Exceptions | ||
| # Documented exceptions for files that legitimately trigger checks | ||
|
|
||
| # Summary litter — CLAUDE.md is a standard Claude Code project instructions file | ||
| [[exceptions]] | ||
| check = "summary_litter" | ||
| path = "CLAUDE.md" | ||
| justification = "Claude Code project instructions for AI assistant orientation" | ||
|
|
||
| # Primitive obsession — HTTP status codes and response limits are standard API patterns | ||
| [[exceptions]] | ||
| check = "primitive_obsession" | ||
| path = "src/mcp_slack_crunchtools/client.py" | ||
| justification = "HTTP status codes (429) and response size limit (10MB) are standard well-known constants" | ||
|
|
||
| # Primitive obsession — port 8005 is the allocated MCP server port | ||
| [[exceptions]] | ||
| check = "primitive_obsession" | ||
| path = "src/mcp_slack_crunchtools/__init__.py" | ||
| justification = "Port 8005 is the allocated MCP server port for mcp-slack" | ||
|
|
||
| # Implicit state machine — error handling dispatches on error codes, not a state machine | ||
| [[exceptions]] | ||
| check = "implicit_state_machine" | ||
| path = "src/mcp_slack_crunchtools/client.py" | ||
| justification = "Error handling dispatches on Slack error codes — standard pattern, not a state machine" | ||
|
|
||
| # Implicit state machine — optional parameter builders use simple if-guards | ||
| [[exceptions]] | ||
| check = "implicit_state_machine" | ||
| path = "src/mcp_slack_crunchtools/tools/channels.py" | ||
| justification = "Optional API parameter builders use simple if-guards to add query params, not state machines" | ||
|
|
||
| [[exceptions]] | ||
| check = "implicit_state_machine" | ||
| path = "src/mcp_slack_crunchtools/tools/messages.py" | ||
| justification = "Optional API parameter builders use simple if-guards to add query params, not state machines" | ||
|
|
||
| [[exceptions]] | ||
| check = "implicit_state_machine" | ||
| path = "src/mcp_slack_crunchtools/tools/users.py" | ||
| justification = "Optional API parameter builders use simple if-guards to add query params, not state machines" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using the
latesttag for base images is discouraged as it can lead to non-reproducible builds. When thelatesttag is updated, your builds might fail or behave differently without any changes to yourContainerfile. It is a best practice to pin base images to a specific version tag or a digest to ensure build stability and predictability.For example:
Could you please update this convention (and the corresponding
Containerfile) to use specific version tags instead oflatest?