Skip to content

Conversation

@ml-evs
Copy link
Member

@ml-evs ml-evs commented Sep 24, 2025

Related to #1355, perhaps useful for @BenjaminCharmes. This PR adds a failing test that shows the difference between user and admin views of local item graphs.

@ml-evs ml-evs marked this pull request as draft September 24, 2025 20:28
@ml-evs ml-evs force-pushed the ml-evs/item-graph-admin-test branch from b6640f0 to f3e6db6 Compare September 24, 2025 20:29
@codecov
Copy link

codecov bot commented Sep 24, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.07%. Comparing base (20f3391) to head (f3e6db6).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1360      +/-   ##
==========================================
+ Coverage   80.05%   80.07%   +0.02%     
==========================================
  Files          70       70              
  Lines        4737     4737              
==========================================
+ Hits         3792     3793       +1     
+ Misses        945      944       -1     

see 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@cypress
Copy link

cypress bot commented Sep 24, 2025

datalab    Run #3947

Run Properties:  status check passed Passed #3947  •  git commit 56095b354f ℹ️: Merge 2ca833a0c9221219da618b02c45bd952dd12fc56 into 63105fc801e1912dd4ef917173c4...
Project datalab
Branch Review ml-evs/item-graph-admin-test
Run status status check passed Passed #3947
Run duration 08m 22s
Commit git commit 56095b354f ℹ️: Merge 2ca833a0c9221219da618b02c45bd952dd12fc56 into 63105fc801e1912dd4ef917173c4...
Committer Matthew Evans
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 336
View all changes introduced in this branch ↗︎

@ml-evs ml-evs force-pushed the ml-evs/item-graph-admin-test branch from d3ef293 to 2ca833a Compare October 17, 2025 11:50
@ml-evs ml-evs changed the base branch from main to bc/slow-itemgraph October 17, 2025 12:17
@ml-evs ml-evs changed the base branch from bc/slow-itemgraph to main October 17, 2025 12:17
@ml-evs ml-evs changed the base branch from main to bc/slow-itemgraph October 17, 2025 12:18
@ml-evs ml-evs marked this pull request as ready for review October 17, 2025 12:20
@ml-evs ml-evs merged commit d5d228b into bc/slow-itemgraph Oct 17, 2025
3 of 9 checks passed
@ml-evs ml-evs deleted the ml-evs/item-graph-admin-test branch October 17, 2025 12:20
BenjaminCharmes added a commit that referenced this pull request Oct 24, 2025
Re-add old comments

Re-add old comments

Fix test_graph.py with right numbers of nodes and edges for each test (for items and collections)

Add test for item graph difference between admins and users (#1360)

Re-add get_graph_cy_format modification

Fix pytest

Re-add user_only=False

Re-add user_only=False
BenjaminCharmes added a commit that referenced this pull request Oct 27, 2025
Re-add old comments

Re-add old comments

Fix test_graph.py with right numbers of nodes and edges for each test (for items and collections)

Add test for item graph difference between admins and users (#1360)

Re-add get_graph_cy_format modification

Fix pytest

Re-add user_only=False

Re-add user_only=False
ml-evs pushed a commit that referenced this pull request Oct 28, 2025
Re-add old comments

Re-add old comments

Fix test_graph.py with right numbers of nodes and edges for each test (for items and collections)

Add test for item graph difference between admins and users (#1360)

Re-add get_graph_cy_format modification

Fix pytest

Re-add user_only=False

Re-add user_only=False
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.

2 participants