Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
392 commits
Select commit Hold shift + click to select a range
05806a1
fix node properties panics
ljeub-pometry Aug 22, 2025
679293e
remove useless closure
ljeub-pometry Aug 25, 2025
dcc60e1
cannot sort unstable here or it might break on duplicate timestamps
ljeub-pometry Aug 26, 2025
1667c19
Switch node resolution to be sequential in `load_node_props_from_df` …
fabubaker Aug 27, 2025
42e2029
start making paths optional
ljeub-pometry Sep 1, 2025
11ef53d
tidy up resolver errors
ljeub-pometry Sep 1, 2025
019617e
make paths optional
ljeub-pometry Sep 2, 2025
4930c44
fix layer_id in tests
ljeub-pometry Sep 4, 2025
eba75d4
at least some debug symbols
ljeub-pometry Sep 4, 2025
7a92275
vec of bool instead of bitvec
ljeub-pometry Sep 4, 2025
8c59288
optimised has_item
ljeub-pometry Sep 4, 2025
4c0fbce
replace Vec<bool> with RoaringBitmap and limit pagesize to u32
ljeub-pometry Sep 9, 2025
aff546f
fix the full-range iter
ljeub-pometry Sep 9, 2025
5291a61
fix tests
ljeub-pometry Sep 9, 2025
6587994
Fix debug symbols (#2271)
fabianmurariu Sep 9, 2025
be2348c
Use correct ranges in RoaringBitMap ItemProducer
fabubaker Sep 10, 2025
e656067
some more send and sync
ljeub-pometry Sep 10, 2025
130c94f
switch to vector based indexing in SegmentContainer
ljeub-pometry Sep 11, 2025
d208e82
No polars in parquet loaders (#2282)
ljeub-pometry Sep 17, 2025
feeb715
make sure property columns are the right size
ljeub-pometry Sep 17, 2025
9599538
Pre alpha testing (#2321)
fabianmurariu Oct 9, 2025
cb4b7c6
Merge branch 'master' into docbrownv4_merge
ljeub-pometry Oct 13, 2025
bf3edae
refactor test_utils
ljeub-pometry Oct 13, 2025
958b24b
fmt
ljeub-pometry Oct 13, 2025
56c386a
prevent the compiler from optimising away the test in release mode fo…
ljeub-pometry Oct 15, 2025
cda62cf
fix timezone
ljeub-pometry Oct 15, 2025
75a5d43
remove storage tests
ljeub-pometry Oct 15, 2025
ea3a9e3
update lock file
ljeub-pometry Oct 16, 2025
37ad4d6
tidy up warnings
ljeub-pometry Oct 16, 2025
f65f010
fix layer test for static graph
ljeub-pometry Oct 16, 2025
26576f8
fix the test for simultaneous edge additions
ljeub-pometry Oct 16, 2025
358ad98
Switch from proto to parquet for graphql (#2267)
fabubaker Oct 16, 2025
f385a05
tweaks for testutils and update rand
ljeub-pometry Oct 17, 2025
1e1b93d
Merge docbrownv4_merge into prop_test
ljeub-pometry Oct 17, 2025
45e3a73
fix loading empty nodes
ljeub-pometry Oct 17, 2025
244e703
improve parameterisation of proptest generators
ljeub-pometry Oct 20, 2025
42853bd
start moving to runtime configuration
fabianmurariu Oct 13, 2025
6a22c24
make extension runtime instead of compile
fabianmurariu Oct 14, 2025
28a009b
add sysinfo
fabianmurariu Oct 14, 2025
593104e
Config imported correctly
fabianmurariu Oct 14, 2025
14355c6
add support for loading PersistentGraph and materialize at specific path
fabianmurariu Oct 15, 2025
77955f7
add support for saving node types
fabianmurariu Oct 16, 2025
baf1a33
fix layer missing error for edges
fabianmurariu Oct 17, 2025
0026433
fix layer missing error for edges in c_prop
fabianmurariu Oct 17, 2025
3059e21
minor changes in node_store.rs
fabianmurariu Oct 17, 2025
79a76a7
changes post rebase
fabianmurariu Oct 17, 2025
62bd09c
changes post rebase
fabianmurariu Oct 17, 2025
1999d95
limit the disk pages to 0 .. max_filled_pos
fabianmurariu Oct 17, 2025
cd067bf
changes such that offset is no longer always max_page
fabianmurariu Oct 20, 2025
880ad5e
disable arroy because of rand conflict
fabianmurariu Oct 21, 2025
cf2971b
Prop test fail (#2347)
fabianmurariu Oct 22, 2025
21fff9d
Create graph folder structure in materialize_at
fabubaker Oct 22, 2025
be9fde3
Remove graph_folder changes from materialize_at
fabubaker Oct 22, 2025
3c75641
Add materialize_to_graph_folder to PyGraphView
fabubaker Oct 22, 2025
4f7cacb
Add comments
fabubaker Oct 22, 2025
017526e
Run fmt
fabubaker Oct 22, 2025
d371b35
Use crate instead of super
fabubaker Oct 22, 2025
27cc1ad
Implement `materialize_to_graph_folder` for `PyGraphView` (#2355)
fabianmurariu Oct 23, 2025
f1a0159
changes to tests fixtures and update to rand 0.9.2
fabianmurariu Oct 24, 2025
a44398b
add quasi-loopy write_session
fabianmurariu Oct 24, 2025
1d02d7a
changes to test_utils for vacuum support
fabianmurariu Oct 23, 2025
c4e840e
Fix errors due to bumping `rand` version & changing `build_graph_stra…
fabubaker Oct 24, 2025
432acb5
some apis for vacuum
fabianmurariu Oct 25, 2025
9aa6046
make edge deletion loading sequential
fabianmurariu Oct 27, 2025
052bf88
Recreate metadata correctly from v4 graphs (#2358)
fabubaker Oct 27, 2025
c13f506
add vecuum error
fabianmurariu Oct 27, 2025
e9d5dfe
Merge branch 'docbrownv4_merge' of github.com:Pometry/Raphtory into v…
fabubaker Oct 28, 2025
5ab0549
create empty segments for new layers so they aren't lost on write
ljeub-pometry Nov 3, 2025
40eb155
rename ParquetProp to SerdeProp and move to raphtory-api
fabianmurariu Nov 4, 2025
8ec18f4
rename _node_ methods as they are also used for edges
ljeub-pometry Nov 5, 2025
bcae349
mark edge segment dirty without triggering a write for metadata-only …
ljeub-pometry Nov 5, 2025
aaff34a
ensure we make an empty segment when there is metadata that needs to …
ljeub-pometry Nov 5, 2025
35b1d49
update rust-version
ljeub-pometry Nov 5, 2025
8259baf
support for Prop::Map
fabianmurariu Nov 5, 2025
a183369
support for Prop::Map refactor
fabianmurariu Nov 5, 2025
3a208c0
initialise layers in materialize_at as doing it in resolve deadlocks …
ljeub-pometry Nov 6, 2025
02327f9
much more useful location in panic message for graph/search assert fu…
ljeub-pometry Nov 7, 2025
183c67d
add dirty flag support for nodes
ljeub-pometry Nov 7, 2025
e359088
start triaging tests that are known to fail for now
ljeub-pometry Nov 7, 2025
5d9619b
don't overwrite an existing file
ljeub-pometry Nov 7, 2025
7b10b98
is_decodable needs to check for zip
ljeub-pometry Nov 7, 2025
247283c
various changes for ArrowRow and PropRef
fabianmurariu Nov 7, 2025
c93af86
make search feature not default for graphql/python
ljeub-pometry Nov 10, 2025
0f8f038
storage feature no longer exists
ljeub-pometry Nov 10, 2025
9786a20
proto feature shouldn't be part of io
ljeub-pometry Nov 10, 2025
f98b77c
make the proto feature actually protbuf specific
ljeub-pometry Nov 10, 2025
d6fc774
disk storage is only possibly enabled when the graph has a path
ljeub-pometry Nov 10, 2025
c4e6f43
ignore broken tests and mark with issues
ljeub-pometry Nov 10, 2025
ab73b77
minor tweaks to the features
ljeub-pometry Nov 10, 2025
fb6627c
Merge vaccum_fab into vacuum
ljeub-pometry Nov 10, 2025
bf98721
fmt
ljeub-pometry Nov 10, 2025
f03920a
don't remove empty maps
ljeub-pometry Nov 10, 2025
974a5ac
shouldn't depend on proto
ljeub-pometry Nov 10, 2025
e60cbdf
add one level of nesting so we can have nulls in the map properties
ljeub-pometry Nov 11, 2025
f59dfe5
simplify and generalise struct_array_from_props
ljeub-pometry Nov 11, 2025
7466de7
add missing validity check for struct_prop_ref
ljeub-pometry Nov 11, 2025
c5ff640
major change to the Prop enum to support both List types
fabianmurariu Nov 10, 2025
5cdf625
progress with complex properties, proptest still failing
fabianmurariu Nov 12, 2025
934178d
more fixes for complex properties
fabianmurariu Nov 12, 2025
1c4f0cc
disable empty lists for now for proptests
fabianmurariu Nov 13, 2025
8f53eb7
enable generating empty list and map
ljeub-pometry Nov 13, 2025
cb2ec5e
fix test compile issues
ljeub-pometry Nov 13, 2025
0dc4609
install cargo hack and latest nextest
ljeub-pometry Nov 14, 2025
ec09798
add support for chunk size handling
ljeub-pometry Nov 14, 2025
d9ac489
remove the arrow feature
ljeub-pometry Nov 14, 2025
659c3e7
make sure all features compile
ljeub-pometry Nov 14, 2025
3f00651
get python tests running again
ljeub-pometry Nov 14, 2025
80765b1
add location tracing for io errors
ljeub-pometry Nov 17, 2025
69fee1b
fix pattern match for location
ljeub-pometry Nov 17, 2025
e6fe6ce
ignore and tag the broken tests
ljeub-pometry Nov 18, 2025
9ac47d7
fmt
ljeub-pometry Nov 18, 2025
0f567ca
Vacuum and complex properties (#2361)
ljeub-pometry Nov 18, 2025
e8b8648
Merge branch 'master' into docbrownv4_merge
ljeub-pometry Nov 19, 2025
3eca424
enable pr checks on db_v4
ljeub-pometry Nov 19, 2025
19e722b
Create initial MetaSegment
fabubaker Oct 21, 2025
c2426d5
Temporarily disable persistence generic
fabubaker Oct 23, 2025
f9d7410
Add GraphMeta to MetaStorageInner
fabubaker Oct 27, 2025
4908917
Return graph_meta from MetaStorageInner
fabubaker Oct 27, 2025
315352d
Pass graph_meta into constructor
fabubaker Oct 28, 2025
55f6322
Rename Meta* -> GraphMeta*
fabubaker Oct 28, 2025
4acad3c
Add FIXME for arroy
fabubaker Oct 28, 2025
10055da
Create graph_meta_storage correctly
fabubaker Oct 28, 2025
4ce1a77
Rename GraphMeta -> GraphProp
fabubaker Oct 29, 2025
c6bc80b
Wrap inner GraphMeta in RwLock
fabubaker Oct 29, 2025
a5a2a5b
Implement GraphPropOps and MemGraphPropSegment
fabubaker Oct 30, 2025
62337cd
Rename GraphPropSegment etc -> GraphSegment
fabubaker Oct 30, 2025
9e857a3
Use SegmentContainer
fabubaker Oct 31, 2025
cc9e570
Use GraphEntry to return read-only views on graph props
fabubaker Nov 2, 2025
6fed6a2
Standardize folder structure
fabubaker Nov 2, 2025
3aea8f4
Expose graph_entry in TemporalGraph
fabubaker Nov 2, 2025
8fc55e0
Pass in GS as a generic
fabubaker Nov 3, 2025
646141d
Enable temporal prop reads from segments
fabubaker Nov 3, 2025
657d089
Enable metadata prop reads from segments
fabubaker Nov 3, 2025
61d812f
Remove node_page_view.rs
fabubaker Nov 4, 2025
191c795
Remove AtomicNodeAddition
fabubaker Nov 4, 2025
e970cfb
Add initial GraphWriter
fabubaker Nov 5, 2025
eb989bf
Add methods to write props to GraphWriter
fabubaker Nov 6, 2025
7a8befe
Modify InternalPropertyAdditionOps to use GraphWriter
fabubaker Nov 6, 2025
fd79ff5
Panic on HasRow for GraphSegment
fabubaker Nov 7, 2025
5fe2c00
Add head() method for GraphSegmentView
fabubaker Nov 7, 2025
0ec335f
Expose read methods on MemGraphSegment
fabubaker Nov 8, 2025
0f96b77
Add TProp as associated type
fabubaker Nov 9, 2025
9f713f1
Use correct lifetimes
fabubaker Nov 9, 2025
627f305
Add *.proptest-regressions to .gitignore
fabubaker Nov 9, 2025
0ba4efb
Minor formatting
fabubaker Nov 10, 2025
8b4e2bd
Pass in path into GraphSegment
fabubaker Nov 10, 2025
d058791
Add take method to SegmentContainer
fabubaker Nov 11, 2025
eeb1c2b
Use &Path wherever possible
fabubaker Nov 13, 2025
5b4f6a8
refactor the graph properties
fabianmurariu Nov 19, 2025
e73984e
replace GraphMeta with Meta and other changes to Graph properties
fabianmurariu Nov 19, 2025
0e6ab3a
fixes post rebase
fabianmurariu Nov 20, 2025
3bb9cf3
added APIs to persist properties
fabianmurariu Nov 21, 2025
97d0710
small errors
fabianmurariu Nov 21, 2025
1dca7e0
Minor cleanup
fabubaker Nov 25, 2025
ad4e443
Remove printlns
fabubaker Nov 25, 2025
5e3117d
Rename GenTProps -> GenericTProps
fabubaker Nov 26, 2025
c07a418
Add comments
fabubaker Nov 26, 2025
674aae7
Implement GraphRefOps
fabubaker Nov 27, 2025
3aabcbe
Implement GraphTProps
fabubaker Nov 27, 2025
fdf683a
Use GenericTProps in top-level apis
fabubaker Nov 27, 2025
b971299
Rename node to reference in GenericTProps
fabubaker Nov 27, 2025
6e8ca95
Refactor to GraphPropSegment naming
fabubaker Nov 27, 2025
9a9cbe8
Remove unused mods in db4-graph
fabubaker Nov 27, 2025
a9da96e
Run fmt
fabubaker Nov 28, 2025
2cd66c3
attempt to replicate bad edges count
fabianmurariu Nov 24, 2025
208a5bb
fixed some of the edge issues
fabianmurariu Nov 26, 2025
a5c29a3
undo some things
fabianmurariu Nov 27, 2025
d22e536
undo some changes
fabianmurariu Nov 27, 2025
4a2b956
small refactor for reserve_free_pos
fabianmurariu Nov 27, 2025
de69667
only add the layer to the node meta if its new
fabianmurariu Nov 28, 2025
2d7cd82
no rayon
fabianmurariu Nov 28, 2025
0bdfd62
Fix edges count (#2399)
fabianmurariu Nov 28, 2025
22a34c0
Pass generic to GraphPropSegmentView
fabubaker Nov 28, 2025
2261098
Fix temporal_value_at returning wrong prop
fabubaker Nov 28, 2025
d88923b
Cleanup test_graph_temporal_props
fabubaker Nov 28, 2025
ff9364c
Add test for temporal graph props with maps
fabubaker Nov 28, 2025
1b459ae
Run fmt
fabubaker Nov 28, 2025
133cfd0
Add test_graph_metadata_with_maps
fabubaker Nov 28, 2025
f49f67f
More cleanup
fabubaker Nov 28, 2025
f322d4f
Implement WriteLockedGraphPropsPage
fabubaker Nov 30, 2025
c9c9ab8
Remove early return from materialize_at
fabubaker Dec 1, 2025
ae283d3
Remove println
fabubaker Dec 1, 2025
9dc8469
Run fmt
fabubaker Dec 1, 2025
3c16d10
fix some proto issues
fabianmurariu Dec 4, 2025
7a5def9
Return error from load for NodeSegmentView etc
fabubaker Dec 5, 2025
a98364e
Set layers in meta before creating TemporalGraph
fabubaker Dec 5, 2025
5f3ace2
Remove default layer for graph props meta_node_type
fabubaker Dec 5, 2025
16c22b1
Remove add_metadata
fabubaker Dec 5, 2025
0907347
Minor cleanup
fabubaker Dec 5, 2025
dc6a3cb
Add check_metadata for graph props
fabubaker Dec 5, 2025
a177a8d
Rename RowEntry to PropEntry
fabubaker Dec 5, 2025
a279227
Add test for add_metadata with existing key
fabubaker Dec 5, 2025
60d2fbf
fix doctests and format
fabianmurariu Dec 8, 2025
e13c84c
ignore failing test that is being worked on in mutable_graph.rs
fabianmurariu Dec 8, 2025
5e7bd74
Implement graph properties for v4 (#2390)
fabianmurariu Dec 8, 2025
07a7d4c
GraphQL improvements for v4 (#2416)
ljeub-pometry Jan 8, 2026
06669ed
add check for uninitialised VIDS in resolve_node_ref
ljeub-pometry Jan 8, 2026
0179e5a
Pyo3 arrow ver increase (#2442)
fabianmurariu Jan 16, 2026
6345f52
Explicit flushing in v4 (#2443)
ljeub-pometry Jan 19, 2026
2b0a973
Merge tag 'v0.16.4' into db_v4
fabianmurariu Jan 20, 2026
cea6e65
minor fixes after rebase
fabianmurariu Jan 20, 2026
2a9e121
fix the deadlock test
ljeub-pometry Jan 20, 2026
27fab16
fmt
ljeub-pometry Jan 20, 2026
6170fa8
Flesh out assert_valid_graph (#2437)
arienandalibi Jan 20, 2026
c0894a7
chore: apply tidy-public auto-fixes
github-actions[bot] Jan 20, 2026
7e18cbf
Db v4+0.16.4 (#2444)
ljeub-pometry Jan 21, 2026
e53629d
implement kmerge that doesn't allocate unless there are more than 8 i…
ljeub-pometry Jan 23, 2026
b7bf04e
Db v4+master (#2451)
fabianmurariu Jan 27, 2026
c51ef44
Merge branch 'master' into db_v4
ljeub-pometry Jan 27, 2026
5755d33
Fix/materialize (#2459)
ljeub-pometry Jan 29, 2026
ec4141d
Implement wal replay for `add_edge` operations (#2425)
fabubaker Jan 30, 2026
c8786e4
Merge master into db_v4
ljeub-pometry Feb 2, 2026
5639b1b
update the task runner to handle the filters
ljeub-pometry Feb 2, 2026
edfdf15
Merge master into db v4 (#2463)
ljeub-pometry Feb 2, 2026
dfe97fa
migration fixes (#2465)
fabianmurariu Feb 3, 2026
dd66dd3
Expose configuration for WAL (#2464)
ljeub-pometry Feb 4, 2026
21e23c4
expose config in python (#2471)
ljeub-pometry Feb 5, 2026
1c68083
Db v4 merge master (#2475)
ljeub-pometry Feb 6, 2026
5c109b2
implement config override on load (#2477)
ljeub-pometry Feb 9, 2026
e84ce29
Modify `wal.has_entries` to return a `Result` (#2476)
fabubaker Feb 9, 2026
7f6f090
Move generate_mutations to test_utils.rs (#2462)
arienandalibi Feb 10, 2026
eabbd71
Simplify the df loading functions (#2480)
ljeub-pometry Feb 10, 2026
4e8f842
already merged changes
ljeub-pometry Feb 10, 2026
a31a14f
Merge branch 'master' into db_v4_merge_master
ljeub-pometry Feb 10, 2026
e8c6565
add backtrace on stresstest
ljeub-pometry Feb 10, 2026
47bc8ee
Db v4 merge master (#2482)
ljeub-pometry Feb 10, 2026
a855e8e
Add wal support for `add_node` / `create_node` (#2481)
fabubaker Feb 13, 2026
c523ef5
Rust GraphQL Client (#2474)
arienandalibi Feb 18, 2026
4acd7fe
Add python test for float round trip error in GraphQL (#2486)
arienandalibi Feb 18, 2026
8f54d88
Fix concurrent updates (#2490)
ljeub-pometry Feb 23, 2026
f41e275
Implement wal logging and replay for `EdgeView`, `NodeView`, `delete_…
fabubaker Feb 26, 2026
902e8d9
update ui tests (#2502)
ljeub-pometry Feb 27, 2026
5761312
Cleanup wal file on graceful shutdown (#2507)
fabubaker Mar 5, 2026
a0f1c7b
Db v4 rust graphql client updates (#2506)
arienandalibi Mar 6, 2026
bed0100
Db v4 layer optim (#2504)
ljeub-pometry Mar 9, 2026
39c1447
Remove default implementation of load_with_config (#2521)
fabubaker Mar 16, 2026
0a31733
Global memory tracking (#2515)
ljeub-pometry Mar 17, 2026
a31c8c2
add required components to rust toolchain action (#2523)
ljeub-pometry Mar 18, 2026
87a0be9
Tracking has_node and has_edge via bit mask (#2522)
fabianmurariu Mar 18, 2026
5ed089c
Db v4 release (#2527)
fabianmurariu Mar 23, 2026
0403987
optimise has_edge checks (#2529)
ljeub-pometry Mar 24, 2026
08950f9
Fix/static lcc (#2531)
miratepuffin Mar 25, 2026
fc473b1
Fix deadlock in resolving nodes in add_edge (#2530)
ljeub-pometry Mar 25, 2026
1d81ace
String prop rework (#2528)
ljeub-pometry Mar 25, 2026
5019354
Fix/new nodestate macro (#2533)
miratepuffin Mar 26, 2026
12d7054
Fix/CVE 26/03 (#2540)
miratepuffin Mar 26, 2026
1e8e192
De-ben-debot (#2542)
miratepuffin Mar 27, 2026
536c7fd
add DSU connected components algo (#2545)
wyatt-joyner-pometry Mar 27, 2026
85d2ddc
Fix free segment eviction (#2532)
ljeub-pometry Mar 27, 2026
40a996d
Db v4 dsu cc (#2546)
wyatt-joyner-pometry Mar 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/actions/setup_rust/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ runs:
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ steps.rust-version.outputs.version }}
components: cargo,clippy,rust-docs,rust-src,rust-std,rustc,rustfmt
3 changes: 2 additions & 1 deletion .github/workflows/_release_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@ jobs:
- name: Print input
run: echo '${{ toJSON(inputs) }}'

- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
ref: ${{ inputs.base }}
token: '${{ secrets.PULL_TOKEN }}'

- name: Read rust version
run: echo "RUST_VERSION=$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[0].rust_version')" >> $GITHUB_ENV
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/_release_github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ jobs:
include:
- os: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v5
with:
submodules: recursive
token: '${{ secrets.PULL_TOKEN }}'
- run: |
git config --global user.email "ben.steer@pometry.com"
git config --global user.name "Pometry-Team"
Expand Down
14 changes: 10 additions & 4 deletions .github/workflows/_release_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,10 @@ jobs:
~/.cargo/git/db/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- uses: actions/checkout@v3
- uses: actions/checkout@v5
with:
submodules: recursive
token: '${{ secrets.PULL_TOKEN }}'
ref: ${{ inputs.base }}
- uses: actions/setup-python@v4
with:
Expand Down Expand Up @@ -130,9 +132,11 @@ jobs:
uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v3
- uses: actions/checkout@v5
with:
ref: ${{ inputs.base }}
submodules: recursive
token: '${{ secrets.PULL_TOKEN }}'
- uses: actions/setup-python@v4
with:
python-version: |
Expand Down Expand Up @@ -174,9 +178,11 @@ jobs:
~/.cargo/git/db/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- uses: actions/checkout@v3
- uses: actions/checkout@v5
with:
ref: ${{ inputs.base }}
submodules: recursive
token: '${{ secrets.PULL_TOKEN }}'
- uses: actions/setup-python@v4
with:
python-version: |
Expand Down Expand Up @@ -219,7 +225,7 @@ jobs:
skip_existing: true
verify_metadata: false
- name: Deleting artifacts
uses: geekyeggo/delete-artifact@v2
uses: geekyeggo/delete-artifact@v6
with:
failOnError: false
name: |
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/_release_rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@ jobs:
uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
submodules: recursive
token: '${{ secrets.PULL_TOKEN }}'
ref: ${{ inputs.base }}
- name: Setup rust
uses: dtolnay/rust-toolchain@master
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/bench-graphql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@ jobs:
name: GraphQL Benchmark
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v5
name: Checkout
with:
submodules: recursive
token: '${{ secrets.PULL_TOKEN }}'
- name: Install Protoc
uses: arduino/setup-protoc@v3
with:
Expand All @@ -29,7 +32,7 @@ jobs:
- name: Build raphtory
run: make install-python
- name: Set up pnpm
uses: pnpm/action-setup@v4
uses: pnpm/action-setup@v5
with:
version: 9
- uses: grafana/setup-k6-action@v1
Expand All @@ -38,7 +41,7 @@ jobs:
- name: Run GraphQL benchmarks
run: cd graphql-bench && make bench-local
- name: Restore metadata file
run: git restore graphql-bench/data/apache/master/.raph # otherwise github-action-benchmark fails to create the commit
run: git restore graphql-bench/data/apache/master # otherwise github-action-benchmark fails to create the commit
- name: Print bench results
run: cat graphql-bench/output.json
- name: Store benchmark results from master branch
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@ jobs:
include:
- os: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v5
name: Checkout
with:
submodules: recursive
token: '${{ secrets.PULL_TOKEN }}'
- uses: ./.github/actions/setup_rust
name: Setup Rust
- name: Install Protoc
Expand All @@ -38,7 +41,7 @@ jobs:
uses: Swatinem/rust-cache@v2
with:
cache-all-crates: true
- uses: webfactory/ssh-agent@v0.9.0
- uses: webfactory/ssh-agent@v0.10.0
name: Load raphtory-disk_graph key
with:
ssh-private-key: ${{ secrets.RA_SSH_PRIVATE_KEY }}
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/code_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,12 @@
SCCACHE_DIR: /home/runner/.cache/sccache
SCCACHE_PATH: /home/runner/.cache/sccache
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v5
name: Checkout
with:
ref: ${{ github.head_ref }}
submodules: recursive
token: '${{ secrets.PULL_TOKEN }}'
- name: Cache sccache
uses: actions/cache@v3
with:
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
name: Checkout
with:
ref: ${{ github.head_ref }}
submodules: recursive
token: '${{ secrets.PULL_TOKEN }}'
persist-credentials: 'false'
- uses: ./.github/actions/setup_rust
name: Setup Rust
- name: Setup nightly rust
Expand All @@ -34,7 +37,7 @@ jobs:
run: |
python -m pip install black mypy pandas-stubs
- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: '20'
- name: Install raphtory
Expand Down Expand Up @@ -76,10 +79,9 @@ jobs:
echo "Changes detected. Committing and pushing..."
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git checkout ${{ github.head_ref }}
git add .
git commit -m "chore: apply tidy-public auto-fixes"
git push --force-with-lease origin HEAD:${{ github.head_ref }}
git push https://oauth2:$GITHUB_TOKEN@github.com/Pometry/Raphtory.git HEAD:${{ github.head_ref }}
else
echo "No changes to commit."
fi
4 changes: 3 additions & 1 deletion .github/workflows/manual_release_docker_cloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ jobs:
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
submodules: recursive
token: '${{ secrets.PULL_TOKEN }}'
ref: ${{ inputs.base }}

- name: Read rust version
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/nightly_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ jobs:
outputs:
should_run: ${{ steps.should_run.outputs.should_run }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
submodules: recursive
token: '${{ secrets.PULL_TOKEN }}'
- id: should_run
continue-on-error: true
name: Check latest commit is less than a day
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release_auto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ jobs:
outputs:
version: ${{ steps.version.outputs.version }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
ref: ${{ inputs.base }}
token: '${{ secrets.PULL_TOKEN }}'
- id: version
run: echo "version=$(make print-version)" >> $GITHUB_OUTPUT
call-release-rust-workflow:
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/release_bump_versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ jobs:
~/.cargo/git/db/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- uses: actions/checkout@v3
- uses: actions/checkout@v5
with:
submodules: recursive
token: '${{ secrets.PULL_TOKEN }}'
- run: |
git config --global user.email "ben.steer@pometry.com"
git config --global user.name "Pometry-Team"
Expand All @@ -70,7 +73,7 @@ jobs:
echo CRATE_VERSION=$(cat Cargo.toml | grep version | head -n1 | cut -d '"' -f2) >> $GITHUB_ENV
echo "Crate version is $CRATE_VERSION"
- name: "Make a PR to bump version"
uses: peter-evans/create-pull-request@v5
uses: peter-evans/create-pull-request@v8
with:
base: ${{ inputs.base }}
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/rust_format_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ jobs:
rust-format-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
submodules: recursive
token: '${{ secrets.PULL_TOKEN }}'
- name: Setup nightly rust
run: |
rustup toolchain install nightly --allow-downgrade -c rustfmt
Expand Down
18 changes: 11 additions & 7 deletions .github/workflows/stress-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ jobs:
name: GraphQL Stress Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v5
name: Checkout
with:
submodules: recursive
token: '${{ secrets.PULL_TOKEN }}'
- name: Install Protoc
uses: arduino/setup-protoc@v3
with:
Expand All @@ -21,21 +24,22 @@ jobs:
uses: Swatinem/rust-cache@v2
with:
cache-all-crates: true
- name: Install maturin
run: pip install maturin==1.8.3
- name: Build raphtory
run: make install-python
- uses: ./.github/actions/setup_rust
name: Setup Rust
- name: Set up pnpm
uses: pnpm/action-setup@v4
uses: pnpm/action-setup@v5
with:
version: 9
- uses: grafana/setup-k6-action@v1
with:
k6-version: '1.0.0'
- name: Run stress test
env:
RUST_BACKTRACE: 1
run: |
cargo build --package raphtory-graphql --bin raphtory-graphql --profile=build-fast
./target/build-fast/raphtory-graphql server --work-dir graphs &
cd graphql-bench
raphtory server &
make stress-test
- name: Upload k6 report
if: always()
Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,12 @@ jobs:
name: Run Rust tests
uses: ./.github/workflows/test_rust_workflow.yml
secrets: inherit
call-test-rust-storage-workflow-in-local-repo:
name: Run Rust storage tests
uses: ./.github/workflows/test_rust_disk_storage_workflow.yml
secrets: inherit
call-test-python-workflow-in-local-repo:
name: Run Python tests
uses: ./.github/workflows/test_python_workflow.yml
with:
test_python_lower: true
secrets: inherit
call-test-python-disk-storage-workflow-in-local-repo:
name: Run Python storage tests
uses: ./.github/workflows/test_python_disk_storage_workflow.yml
with:
test_python_lower: true
secrets: inherit
call-test-ui:
name: Run UI Tests
uses: ./.github/workflows/test_ui.yml
Expand Down
17 changes: 3 additions & 14 deletions .github/workflows/test_during_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ on:
pull_request:
branches:
- master
- "0.16"
- db_v4
- v16

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Expand All @@ -14,22 +15,12 @@ jobs:
name: Run Rust tests
uses: ./.github/workflows/test_rust_workflow.yml
secrets: inherit
call-test-rust-storage-workflow-in-local-repo:
name: Run Rust storage tests
uses: ./.github/workflows/test_rust_disk_storage_workflow.yml
secrets: inherit
call-test-python-workflow-in-local-repo:
name: Run Python tests
uses: ./.github/workflows/test_python_workflow.yml
with:
test_python_lower: false
secrets: inherit
call-test-python-disk-storage-workflow-in-local-repo:
name: Run Python storage tests
uses: ./.github/workflows/test_python_disk_storage_workflow.yml
with:
test_python_lower: false
secrets: inherit
call-test-ui-in-local-repo:
name: Run UI Tests
uses: ./.github/workflows/test_ui.yml
Expand All @@ -54,10 +45,8 @@ jobs:
secrets: inherit
needs: [
call-test-rust-workflow-in-local-repo,
call-test-rust-storage-workflow-in-local-repo,
call-test-python-workflow-in-local-repo,
call-test-python-disk-storage-workflow-in-local-repo,
call-test-ui-in-local-repo,
# call-test-ui-in-local-repo,
call-benchmark-workflow-in-local-repo,
call-graphql-bench-workflow-in-local-repo,
call-stress-test-workflow-in-local-repo
Expand Down
Loading
Loading