Repository navigation
Shared graph backends, node enumeration, and Fedora CI - #6
Merged
Merged
Conversation
Additional switching to EXIT_FAILURE and EXIT_SUCCESS
Fix shmem/mmap create-attach-teardown, align meta layouts with arrayops, introduce clear GRAPH_OK/TRUE conventions, expand graph tests, and drop NuGet packaging while making Doxygen opt-in.
Fill shmemtests and shmmaptests with init, capacity/flow, reset, and degree-exhaust coverage. Introduce attachReadonlyGraph() as an in-process RD_ONLY accessor for write-reject testing (official multi-process reader discovery remains deferred). Readers detach without destroying segments or unlinking mmap files, and readonly write failures now return GRAPH_ERR.
Require a single implementation bit in parseTypeFlags, reject conflicting label/domain flags, and return GRAPH_OK/GRAPH_ERR. initGraph now demands dimensions for shared backends and allows RD_ONLY only on shared graphs. Expand inittests, comptests, and hashtests for lifecycle helpers, path capacity, SuperFastHash, and the new reject paths.
Add node/edge CRUD, undirected both-way adjacency, neighbors/remove/reset, and graph tests covering init, rehash, and directed/undirected paths.
…d hashed getters. Sparse backends are not a dense 0..n-1 range, and getNode/getEdge have to be safe to free on every implementation.
The test workflow has to fail when the suite fails, and the package version has to match the v0.1.0 tag.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
listNodesandforeachNode, and return copies from the linked and hashed getters.v*tag publishes the RPM, binary tarball, and source tarball. Package version is 0.1.0.Test plan
build-and-testpasses on this pull requestbuild-and-testpasses ontrunkv0.1.0ontrunkand confirm the release workflow publishes the three artifactsMade with Cursor