Skip to content

Cleanup, fixes and better listNeighborhood#1206

Merged
Affie merged 2 commits intodevelopfrom
maint/some_v1_cleanup
Feb 26, 2026
Merged

Cleanup, fixes and better listNeighborhood#1206
Affie merged 2 commits intodevelopfrom
maint/some_v1_cleanup

Conversation

@Affie
Copy link
Member

@Affie Affie commented Feb 26, 2026

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR focuses on cleaning up and improving graph neighborhood/listing utilities and related APIs (filters, deprecations), along with some consistency fixes across GraphsDFG storage fields, timestamp utilities, and exported/public surface area.

Changes:

  • Refactors listNeighborhood/neighbor utilities to support filters and to return variables/factors separately; updates subgraph building and tests accordingly.
  • Updates GraphsDFG merge behavior (more specific error type) and standardizes blobStoresblobstores across in-memory and file save/load paths.
  • Improves timestamp delta computation performance and refreshes various exports/public APIs and printing labels.

Reviewed changes

Copilot reviewed 18 out of 18 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
test/testBlocks.jl Updates tests for new error types and neighborhood/subgraph behavior.
src/services/list.jl Introduces listNeighborsSecondary and keeps ls2 as a compatibility alias.
src/services/find.jl Refactors closest-timestamp computation and renames parameters for clarity.
src/services/Tags.jl Minor cleanup and TODO note for tag-merge return semantics.
src/services/DFGVariable.jl Adds deprecation warning for manifold conversion; adds hasState convenience overload.
src/services/DFGFactor.jl Generalizes getVariableOrder to AbstractGraphFactor.
src/services/CustomPrinting.jl Tweaks show output labels and formatting.
src/services/Bloblet.jl Adds TODO note (no functional change).
src/services/AbstractDFG.jl Core API updates: neighborhood return type/filters; adds node-based listNeighbors forwarder; updates subgraph/mergeGraph plumbing.
src/GraphsDFG/services/GraphsDFG.jl Aligns mergeFactor error semantics; updates neighborhood filtering and return type.
src/GraphsDFG/entities/GraphsDFG.jl Renames blobstore field; adds a copy-style constructor.
src/GraphsDFG/GraphsDFG.jl Adds rebuildFactorCache! warning fallback for NoSolverParams.
src/FileDFG/services/FileDFG.jl Updates save/load paths to use renamed blobstores field.
src/DistributedFactorGraphs.jl Reorganizes exports/public API and unstable function listing.
src/Deprecated.jl Adds deprecated getVariable(dfg, label, stateLabel) shim.
src/DataBlobs/services/BlobStores.jl Expands ~ in FolderStore paths; adds serialization metadata to LinkStore cache.
src/DataBlobs/entities/BlobEntry.jl Aligns constructor keyword argument types with entity fields.
src/Common.jl Adds faster calcDeltatime_ns and a Timestamp(::Microsecond) constructor.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov
Copy link

codecov bot commented Feb 26, 2026

Codecov Report

❌ Patch coverage is 71.59091% with 25 lines in your changes missing coverage. Please review.
✅ Project coverage is 72.05%. Comparing base (b9a43ec) to head (dab7779).
⚠️ Report is 1 commits behind head on develop.

Files with missing lines Patch % Lines
src/GraphsDFG/services/GraphsDFG.jl 35.71% 9 Missing ⚠️
src/services/CustomPrinting.jl 0.00% 4 Missing ⚠️
src/services/AbstractDFG.jl 86.95% 3 Missing ⚠️
src/services/DFGVariable.jl 0.00% 3 Missing ⚠️
src/GraphsDFG/entities/GraphsDFG.jl 33.33% 2 Missing ⚠️
src/services/list.jl 75.00% 2 Missing ⚠️
src/Common.jl 87.50% 1 Missing ⚠️
src/DataBlobs/services/BlobStores.jl 85.71% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1206      +/-   ##
===========================================
- Coverage    72.66%   72.05%   -0.62%     
===========================================
  Files           36       37       +1     
  Lines         2294     2315      +21     
===========================================
+ Hits          1667     1668       +1     
- Misses         627      647      +20     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@Affie Affie merged commit cecb4ca into develop Feb 26, 2026
4 of 6 checks passed
@Affie Affie deleted the maint/some_v1_cleanup branch February 26, 2026 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants