- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2024 07:16 AM
Noticed something strange in the Databricks version control- I'm getting hidden commands with %environment that I can only see in the UI for version control. No idea what it's from, just a minor nuisance I'm curious if anyone can shed light on.
+ %environment
+ "client": "1"
+ "base_environment": ""
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2024 12:01 PM
Hello all, this is Justin from the PM team at Databricks. We are sorry about the friction this caused you. This was a feature related to the new way that we are doing dependency management in our serverless offerings - Environments. We are going to re-vamp the feature a bit so that it is not causing phantom diffs in your notebooks like this. I'll have some more updates in the coming weeks.
If you are using our Serverless offerings with repos then please email me (justin.breese@databricks.com) if you're interested in helping us shape this product area.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2024 08:04 AM
We are seeing the same issue since yesterday. Like you we only see it in the version control UI and not in the actual notebook itself. These 3 lines are getting added and showing in version control even if I just open the notebook and don't make any changes. Where other changes have been made to the notebook and then committed to my branch the 3 lines are getting added as a separate cell at the end of the notebook.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2024 08:57 AM
I'm having the same issue and really don't know what to do with it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2024 10:05 AM
same problem for me since yesterday; it is adding code arbitrarily to notebooks and that's a security risk to say the least... what other code is going to be added? what does this code do when devs keep missing it at the far bottom of large diffs?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2024 02:16 AM
yes this is bad. It's messing our diffs, cicd and creating conflicts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2024 01:49 PM
may I know how it messed up your cicd?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2024 02:35 AM
I have the same issue. Any fix for that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2024 10:42 PM
Same issue for me as well
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2024 10:38 AM
@Retired_mod
Any chance we could get some weigh-in from Databricks?
Sounds like a lot of people are seeing this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2024 03:57 AM
At least in our case this issue seems to have stopped and in fact the necessary changes to remove these 3 rows showed yesterday when I went to commit a change to a notebook.
Are other people still seeing the 3 rows getting added?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2024 08:11 AM
same, haven't seen the issue for a few days... and haven't seen any response from Databricks as to why it happened, or why it stopped.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2024 01:22 AM
My guess it was something that by accident was put into production.
Had the same issue for like 2 days (or even one) and it disappeared afterwards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2024 12:01 PM
Hello all, this is Justin from the PM team at Databricks. We are sorry about the friction this caused you. This was a feature related to the new way that we are doing dependency management in our serverless offerings - Environments. We are going to re-vamp the feature a bit so that it is not causing phantom diffs in your notebooks like this. I'll have some more updates in the coming weeks.
If you are using our Serverless offerings with repos then please email me (justin.breese@databricks.com) if you're interested in helping us shape this product area.

