Skip to content

Conversation

@BenjaminCharmes
Copy link
Contributor

@BenjaminCharmes BenjaminCharmes commented Oct 2, 2025

Closes #1355

Test from #1360 work with this fix (local at least)

@cypress
Copy link

cypress bot commented Oct 2, 2025

datalab    Run #3989

Run Properties:  status check passed Passed #3989  •  git commit ad4f0b8a63 ℹ️: Merge 1d0cfee59614f8fbe5b421fd3437cf5628786ab8 into 1a6d5e960c415f6c5e222fd99267...
Project datalab
Branch Review bc/slow-itemgraph
Run status status check passed Passed #3989
Run duration 07m 51s
Commit git commit ad4f0b8a63 ℹ️: Merge 1d0cfee59614f8fbe5b421fd3437cf5628786ab8 into 1a6d5e960c415f6c5e222fd99267...
Committer Ben Charmes
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 ↗︎

@codecov
Copy link

codecov bot commented Oct 2, 2025

Codecov Report

❌ Patch coverage is 95.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 80.44%. Comparing base (1a6d5e9) to head (680d20b).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
pydatalab/src/pydatalab/routes/v0_1/graphs.py 95.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1367      +/-   ##
==========================================
+ Coverage   80.10%   80.44%   +0.34%     
==========================================
  Files          70       70              
  Lines        4759     4771      +12     
==========================================
+ Hits         3812     3838      +26     
+ Misses        947      933      -14     
Files with missing lines Coverage Δ
pydatalab/src/pydatalab/routes/v0_1/graphs.py 98.70% <95.00%> (+21.77%) ⬆️
🚀 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.

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 ml-evs force-pushed the bc/slow-itemgraph branch from 811cf06 to 07804f2 Compare October 28, 2025 10:07
@ml-evs ml-evs moved this to Todo in merge stack Oct 28, 2025
ml-evs
ml-evs previously approved these changes Oct 28, 2025
Copy link
Member

@ml-evs ml-evs left a comment

Choose a reason for hiding this comment

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

Thanks @BenjaminCharmes, only one minor change that I'll commit myself before merging!

@ml-evs ml-evs added bug Something isn't working API For issues/PRs pertaining to the API labels Oct 28, 2025
Copy link
Member

@ml-evs ml-evs left a comment

Choose a reason for hiding this comment

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

Works great, thanks!

@ml-evs ml-evs enabled auto-merge (squash) October 28, 2025 19:16
@ml-evs ml-evs merged commit d455ae9 into main Oct 28, 2025
15 checks passed
@ml-evs ml-evs deleted the bc/slow-itemgraph branch October 28, 2025 19:26
@github-project-automation github-project-automation bot moved this from Todo to Done in merge stack Oct 28, 2025
BenjaminCharmes added a commit that referenced this pull request Oct 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API For issues/PRs pertaining to the API bug Something isn't working

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Item graph can slow down edit page significantly

3 participants