Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

preserve directories in recursive workspace listing #466

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

neilbest-db
Copy link

@neilbest-db neilbest-db commented Nov 29, 2023

Changes

Tests

  • make test run locally
  • make fmt applied
  • relevant integration tests applied

Signed-off-by: Neil Best <60439766+neilbest-db@users.noreply.github.com>
Signed-off-by: Neil Best <60439766+neilbest-db@users.noreply.github.com>
@neilbest-db neilbest-db force-pushed the fix/465-recursive-workspace-listing branch from 7734cf5 to 608b644 Compare November 29, 2023 21:58
@codecov-commenter
Copy link

codecov-commenter commented Nov 29, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a7719a0) 51.57% compared to head (ee3af3c) 51.57%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #466   +/-   ##
=======================================
  Coverage   51.57%   51.57%           
=======================================
  Files          38       38           
  Lines       22355    22354    -1     
=======================================
  Hits        11530    11530           
+ Misses      10825    10824    -1     

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

@neilbest-db neilbest-db marked this pull request as ready for review November 30, 2023 00:01
@@ -32,7 +32,6 @@ def list(self,
for object_info in parent_list(path, notebooks_modified_after=notebooks_modified_after):
if recursive and object_info.object_type == ObjectType.DIRECTORY:
queue.append(object_info.path)
continue
Copy link
Contributor

Choose a reason for hiding this comment

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

this breaks established behavior, that thousands of projects depend on. Add an optional keyword argument disabled by default if you want this change

@@ -5,9 +5,17 @@

def test_workspace_recursive_list(w, random):
Copy link
Contributor

Choose a reason for hiding this comment

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

existing unit tests must be left unchanged.

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.

None yet

3 participants