Fix bundle generate job to preserve nested notebook directory structure#4596
Fix bundle generate job to preserve nested notebook directory structure#4596varundeepsaini wants to merge 1 commit intodatabricks:mainfrom
Conversation
|
Commit: baac699
17 interesting tests: 10 SKIP, 7 KNOWN
Top 20 slowest tests (at least 2 minutes):
|
dc572e1 to
6a23c44
Compare
|
@andrewnester could you run the checks, there were some issues on windows, have fixed those |
andrewnester
left a comment
There was a problem hiding this comment.
Could you please add a NEXT_CHANGELOG entry for this change, following the format there? Thank you!
6a23c44 to
545af5c
Compare
|
@andrewnester done. |
|
@varundeepsaini, this change could break for users who continuously run the "bundle generates job" command to sync the files back. At the very least, can you expand this PR to clean up the files at the old location? |
2e1b40d to
7f9bca0
Compare
|
@andrewnester could you run the ci ? |
|
@varundeepsaini sorry for the delay, could you please also resolve merge conflicts? |
7f9bca0 to
8a557b2
Compare
|
@andrewnester no worries, thanks a lot for the reviews |
8a557b2 to
4876824
Compare
d7db5b1 to
454eb63
Compare
|
@andrewnester I have fixed the windows test failure, |
|
@andrewnester could you run the ci ? |
|
@andrewnester i fixed the test failures, could you re run the ci |
Head branch was pushed to by a user without write access
1f9e016 to
baac699
Compare
|
An authorized user can trigger integration tests manually by following the instructions below: Trigger: Inputs:
Checks will be approved automatically on success. |
Changes
Fixes #4503.
Add
MarkTasksForDownloadthat computes a common base path across all notebook tasks before downloading, replacing the per-task loop injob.go. This preserves nested directory structure instead of flattening all notebooks intosrc/.Tests
commonDirPrefixandMarkTasksForDownload.bundle/generate/job_nested_notebooksreproducing the issue.python_job,ipynb_job,git_jobtests.Test are written by Claude Code