Skip to content

Comments

Allow g.read with raw Artifacts even if others are missing#338

Merged
JacobHayes merged 2 commits intogoldenfrom
read-raw-artifacts
Mar 16, 2023
Merged

Allow g.read with raw Artifacts even if others are missing#338
JacobHayes merged 2 commits intogoldenfrom
read-raw-artifacts

Conversation

@JacobHayes
Copy link
Member

Description

Graph.read without any storage partitions passed in (as is common with interactive use) triggers a snapshot. However, if any of the raw Artifacts are missing, snapshotting will fail. This correctly blocks reading generated Artifacts, but we should still be able to read other raw Artifacts that do exist.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Extended a test.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in upstream modules

@codecov
Copy link

codecov bot commented Mar 16, 2023

Codecov Report

Merging #338 (cd8b8c7) into golden (58ab379) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            golden      #338   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           43        43           
  Lines         2722      2724    +2     
  Branches       686       687    +1     
=========================================
+ Hits          2722      2724    +2     
Impacted Files Coverage Δ
src/arti/graphs/__init__.py 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@JacobHayes JacobHayes merged commit fe744dd into golden Mar 16, 2023
@JacobHayes JacobHayes deleted the read-raw-artifacts branch March 16, 2023 14:27
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