Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get certified as a Fabric Data Engineer: Check your eligibility for a 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700. Get started

Reply
KimTutein
Advocate I
Advocate I

Git branch - using spark environment deletes public and custom packages

Hi Community

Does anyone have experiance with branching off in git and using environment in spark. The usecase I have is I have a workspace with our code items (pipelines, notebooks and environments). The workspace is connected to git (DevOps). I am able to branch of main and make for instance feature_1 branch and synch with new workspace. Every item is recreated in new workspace but for environment I see two problems

  1. All public and custom library is deleted from the environment
  2. We will need to publish environment again from new workspace which will take quite some time (+15 minutes)

 

I would love just to reuse environment from original branch but it does not seem possible.

 

Anyone who will share experience with branching off and using environments?

 

Friendly Regards

Kim Tutein

1 ACCEPTED SOLUTION
v-pagayam-msft
Community Support
Community Support

Hi @KimTutein ,

Thank you for reaching out to the Microsoft Fabric Community Forum about the issue you are encountering.

Providing the resolution steps which might assist you in resolving the issue:

  • Before branching off,export libraries from the old workspace using REST API.
    After creating new workspace, reinstall libraries in the new environment.
  • For the second one,Create base environment templates to quickly set up the same environment for new workspaces.

 

If still facing difficulty in resolving the issue, please feel free to reachout.

If this post helps, please give us Kudos and consider Accept it as a solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
KimTutein
Advocate I
Advocate I

Hi @v-pagayam-msft 

 

Thank you for reaching out. I get we could do the above which is indeed what I have been doing (by hand though and not REST API). However I feel that it is a bug that one cannot make a new wokrspace using the gui and correctly synch from git into that (doing this by hand add extra work and is an operational risk - I would imagine that one develober foregot this and merge back into main - the develober could have been changing just a data pipeline). I have made a incident to the support and they are looking further into it.

 

Thank you very much for your input - I have accepted as a Solution

 

Regards

Kim

v-pagayam-msft
Community Support
Community Support

Hi @KimTutein ,

Thank you for reaching out to the Microsoft Fabric Community Forum about the issue you are encountering.

Providing the resolution steps which might assist you in resolving the issue:

  • Before branching off,export libraries from the old workspace using REST API.
    After creating new workspace, reinstall libraries in the new environment.
  • For the second one,Create base environment templates to quickly set up the same environment for new workspaces.

 

If still facing difficulty in resolving the issue, please feel free to reachout.

If this post helps, please give us Kudos and consider Accept it as a solution to help the other members find it more quickly.

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

JanFabricDE_carousel

Fabric Monthly Update - January 2025

Explore the power of Python Notebooks in Fabric!

JanFabricDW_carousel

Fabric Monthly Update - January 2025

Unlock the latest Fabric Data Warehouse upgrades!

Top Solution Authors
Top Kudoed Authors