Skip to content
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

Add artifact ID to KCL values that have them #5205

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

jtran
Copy link
Collaborator

@jtran jtran commented Jan 31, 2025

Resolves #5186.

Weirdly, the id of Sketch and other core structs may get mutated. Sometimes the id value is the same as the artifact ID, but not always. We track and expose the stable artifact ID for everything that has it. This isn't used yet, but it will be in a follow-up PR.

Copy link

vercel bot commented Jan 31, 2025

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

Name Status Preview Updated (UTC)
modeling-app ✅ Ready (Inspect) Visit Preview Jan 31, 2025 11:03pm

Copy link

qa-wolf bot commented Jan 31, 2025

QA Wolf here! As you write new code it's important that your test coverage is keeping up.
Click here to request test coverage for this PR!

Comment on lines +113 to +115
// TODO: We're reusing the same UUID for multiple commands. This seems
// like the artifact graph would never be able to find all the
// responses.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This seems like it must be a bug. Separate issue though.

@jtran jtran marked this pull request as draft January 31, 2025 21:35
@jtran jtran force-pushed the jtran/sketch-artifact-id branch from 6469b06 to 35a285d Compare January 31, 2025 21:43
@jtran jtran marked this pull request as ready for review January 31, 2025 21:51
Copy link

codecov bot commented Feb 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.95%. Comparing base (5b207d7) to head (07201da).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5205      +/-   ##
==========================================
+ Coverage   85.94%   85.95%   +0.01%     
==========================================
  Files          90       90              
  Lines       32893    32904      +11     
==========================================
+ Hits        28270    28283      +13     
+ Misses       4623     4621       -2     
Flag Coverage Δ
wasm-lib 85.95% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

Make sure stable artifact IDs are in all variants KclValue type
1 participant