Skip to content

Conversation

@maxnorm
Copy link
Collaborator

@maxnorm maxnorm commented Oct 26, 2025

Summary

Compose doesn't follow the same coding standard that slither validate. This result in the action to always fail.

Changes Made

  • add argument --fail-none

This will make slither silent. Instead of removing slither completely, we keep the action as a silent report so maintainer can still review it once in a while to insure we fix unwanted errors highlight by slither.

Checklist

Before submitting this PR, please ensure:

  • Code follows the Solidity feature ban - No inheritance, constructors, modifiers, public/private variables, external library functions, using for directives, or selfdestruct

  • Code follows Design Principles - Readable, uses diamond storage, favors composition over inheritance

  • Code matches the codebase style - Consistent formatting, documentation, and patterns (e.g. ERC20Facet.sol)

  • Code is formatted with forge fmt

  • Tests are included - All new functionality has comprehensive tests

  • All tests pass - Run forge test and ensure everything works

  • Documentation updated - If applicable, update relevant documentation

Make sure to follow the CONTRIBUTING.md guidelines.

Additional Notes

We can also make a slither.config.json in the future and exclude the common errors from Compose

@github-actions
Copy link

github-actions bot commented Oct 26, 2025

Coverage Report

Coverage

Metric Coverage Details
Lines 31% 231/744 lines
Functions 41% 51/125 functions
Branches 20% 28/141 branches

Last updated: Sun, 26 Oct 2025 15:56:44 GMT for commit 9798ea4

@maxnorm maxnorm requested a review from mudgen October 26, 2025 15:57
@mudgen mudgen merged commit e06c1b1 into Perfect-Abstractions:main Oct 26, 2025
3 checks passed
Copy link
Contributor

@mudgen mudgen left a comment

Choose a reason for hiding this comment

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

Good

JackieXu pushed a commit to JackieXu/Compose that referenced this pull request Nov 6, 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.

2 participants