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

readers: allow id of -1 in JGF #1304

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

jameshcorbett
Copy link
Member

Problem: if a vertex's ID is -1 in JGF, the reader will supply it with a default value. However, sometimes -1 is desired.

Do not replace an ID of -1 with a default value when reading in JGF. Instead use -2 as the signpost that no ID was supplied.

Fixes #1303

@jameshcorbett jameshcorbett requested a review from trws October 2, 2024 03:39
@jameshcorbett jameshcorbett added the merge-when-passing mergify.io - merge PR automatically once CI passes label Oct 7, 2024
Problem: if a vertex's ID is -1 in JGF, the reader will supply it
with a default value. However, sometimes -1 is desired.

Do not replace an ID of -1 with a default value when reading in JGF.
Instead use -2 as the signpost that no ID was supplied.
@mergify mergify bot merged commit 996f999 into flux-framework:master Oct 7, 2024
19 checks passed
@jameshcorbett jameshcorbett deleted the t1035-id-fix branch October 7, 2024 17:36
Copy link

codecov bot commented Jan 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.3%. Comparing base (cc2dcf0) to head (d03405f).
Report is 24 commits behind head on master.

Additional details and impacted files
@@          Coverage Diff           @@
##           master   #1304   +/-   ##
======================================
  Coverage    75.3%   75.3%           
======================================
  Files         111     111           
  Lines       15300   15300           
======================================
  Hits        11531   11531           
  Misses       3769    3769           
Files with missing lines Coverage Δ
resource/readers/resource_reader_jgf.cpp 70.2% <100.0%> (ø)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge-when-passing mergify.io - merge PR automatically once CI passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Buildfarm failure for v0.39.0
2 participants