-
Notifications
You must be signed in to change notification settings - Fork 39
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
fix: Add DRC checks support for async autorouters #720
base: main
Are you sure you want to change the base?
fix: Add DRC checks support for async autorouters #720
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Signed-off-by: David Anyatonwu <[email protected]>
Signed-off-by: David Anyatonwu <[email protected]>
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.
@onyedikachi-david tests failing.
) | ||
|
||
// Ensure the circuit is fully rendered and async autorouting is complete | ||
await circuit.renderUntilSettled() |
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.
do not use renderuntilsettled method use only render
This PR has been automatically marked as stale because it has had no recent activity. It will be closed if no further activity occurs. |
Signed-off-by: David Anyatonwu <[email protected]>
Signed-off-by: David Anyatonwu <[email protected]>
I do not understand why the snapshot is failing on the CI but passes locally @Anshgrover23 |
@onyedikachi-david have u ran |
I ran this |
@onyedikachi-david try to delete the original snapshot and then generate again see if this resolves. |
Yeah, I did that also during the last commit. |
@onyedikachi-david then maybe your test has some problem just debug man, ik you can do it. |
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.
This PR has been automatically marked as stale because it has had no recent activity. It will be closed if no further activity occurs. |
@@ -146,11 +146,31 @@ export class Board extends Group<typeof boardProps> { | |||
} | |||
|
|||
doInitialPcbDesignRuleChecks() { | |||
if (this.root?.pcbDisabled) return | |||
if (this.getInheritedProperty("routingDisabled")) return | |||
this.updatePcbDesignRuleChecks() |
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.
don't call lifecycle methods directly, you may need a hidden function e.g. _doDrcChecks()
|
||
// Clear all trace errors | ||
db.pcb_trace_error.list().forEach((error) => { | ||
db.pcb_trace_error.delete(error.pcb_trace_error_id) |
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.
don't delete all pcb trace errors, only delete ones that are created from this board's DRC. You may need to store a property to indicate it was created by this Board
Fixes: #717
/claim #717