Skip to content

Invalidate the DRC cache when custom design rules change - #85

Open
Athar786-Ali wants to merge 1 commit into
CopperPilot:mainfrom
Athar786-Ali:fix/drc-custom-rules-cache
Open

Athar786-Ali wants to merge 1 commit into
CopperPilot:mainfrom
Athar786-Ali:fix/drc-custom-rules-cache

Conversation

@Athar786-Ali

Copy link
Copy Markdown

On the CM5 camera example, editing only the .kicad_dru file left the DRC cache key unchanged. This could cause validation to reuse an earlier result after a rule change. The fix includes custom rules in the project input hash and adds a regression test for rule file creation, editing, and deletion. All 73 tests in test_validate.py passed.

This branch has not been deployed

No deployments
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