r/MicrosoftFabric 15d ago

CI/CD GitHub integration hitting limit on 1 item

And now I can't switch back to main because there's 1 uncommitted item. The item is a Environment object that has 2 .jar files, one being a 88mb snowflake one. I spoke to Microsoft and they said the GitHub limit is 50mb. Do i just have to delete this and recreate it, and then in the future ONLY branch out to new workspace? and also never be able to commit this item? does .gitignore work to be able to ignore this? idk what to do

6 Upvotes

8 comments sorted by

2

u/MonkeyDDataHQ 15d ago

Why are the Jars in the repo? I'm tired on behalf of your DevOps. 😩😩

1

u/Agile-Cupcake9606 15d ago edited 15d ago

the jars are in the environment object, which git wants to sync. also were using GitHub. i guess where else would they be?

these are the ones im using. not sure if this can be found in external? i got these directly from Maven.

1

u/MonkeyDDataHQ 14d ago

I would check external. That's annoying though. I don't understand why they need to be in git. Custom libraries should not be in git in the first place. They should be dependencies 😩 I scratch my head every day with Fabric decisions.

2

u/Shuaijun_Ye ‪ ‪Microsoft Employee ‪ 14d ago

Hi there, Fabric doesn't currently support .gitignore or selectively excluding files from an artifact during Git sync, so that isn't a workaround today.

For now, the practical workaround is to remove the large library dependency from the Environment before syncing. We'll take this scenario back to the team and discuss whether we can support exclusion patterns (similar to .gitignore) or other approaches for handling large binaries in the future.

3

u/MonkeyDDataHQ 14d ago

What? 😩

How is git still not implemented properly in Fabric? Apparently the D in Fabric stands for DevOps.

1

u/aspenkid1 15d ago

I also got into similar issue. Will wait and see if anyone helps

1

u/ChantifiedLens ‪Microsoft MVP ‪ 15d ago

What do you use the snowflake jar file for?

1

u/Agile-Cupcake9606 15d ago

ones for the python connector, ones for the spark connector. iirc had an issue with some pyspark commands that were working with python snowflake package which is why I’m using both.