Skip to content

Fix execution caching to cache artifact graph NodePath #6978

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 6 commits into from
May 15, 2025

Conversation

jtran
Copy link
Contributor

@jtran jtran commented May 15, 2025

Fixes #6841. Replaces/closes #6885.

The cache test is the critical one that proves we fix #6841. Before, we were actually rebuilding the whole graph from commands each time. Now, when it's cached, we start from the cached graph.

The sim test output is from fixing SketchOnFace and SketchOnPlane, just something I noticed was broken while investigating this.

Copy link

vercel bot commented May 15, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
modeling-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2025 9:29pm

Copy link

codspeed-hq bot commented May 15, 2025

CodSpeed Instrumentation Performance Report

Merging #6978 will not alter performance

Comparing jtran/fix-empty-artifact-graph (ed7cafe) with main (2516df3)

Summary

✅ 70 untouched benchmarks

@jtran jtran marked this pull request as draft May 15, 2025 19:39
@jtran jtran force-pushed the jtran/fix-empty-artifact-graph branch from 9b94acb to ed7cafe Compare May 15, 2025 21:15
@jtran jtran marked this pull request as ready for review May 15, 2025 21:24
@jtran jtran requested review from Irev-Dev and a team May 15, 2025 21:24
Copy link
Contributor

@Irev-Dev Irev-Dev left a comment

Choose a reason for hiding this comment

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

Dope, thank you.

Comment on lines +262 to +268
profile001 = startProfile(sketch001, at = [5.5, 5.25])
|> line(end = [10.5, -1.19])
|> line(end = [8, -5.5])
|> line(end = [-1.02, -6.76])
|> line(end = [-11.5, 2.8])
|> close()
plane001 = offsetPlane(XY, offset = 20)
Copy link
Contributor

Choose a reason for hiding this comment

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

Why did the input kcl need to change?

Copy link
Contributor

Choose a reason for hiding this comment

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

oh

The sim test output is from fixing SketchOnFace and SketchOnPlane, just something I noticed was broken while investigating this.

never mind

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The reason I used offsetPlane() was because I wanted to have something to refer to in the second execution, like in way we reproduced #6841.

The coordinate changes were arbitrary. Just wanted rounder numbers to look at.

@jtran jtran merged commit 74939e5 into main May 15, 2025
71 checks passed
@jtran jtran deleted the jtran/fix-empty-artifact-graph branch May 15, 2025 23:18
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.

Silent error can prevent entering a sketch after modifying it many times
2 participants