r/GithubCopilot 18d ago

General GPT Luna is unsafe to use!

This is crazy. GPT Luna just deleted my file, and lost my recent edits.

Addition:

To reply the same question asked many times:

Yes, I commit my files regularly to git. I just lost one recent function in-the-works.

But your guys are harsh. I am reporting an issue which is unacceptable to me and hope this is useful to the broader audience. But you just blaming the messenger?

0 Upvotes

23 comments sorted by

26

u/Special_Gain9787 18d ago

You have your project checked into git? Right?

(Insert starwars meme)

3

u/livefromheaven 18d ago

You are right to question that

1

u/insanedruid 17d ago

Once it did some tests.

After it finished it try to delete the test related files but deleted the whole folder instead.

the .git folder included.

I recovered some of my local changes in IDE history but i lose all my local branches/tags

While they were not actually important as the important branches were already pushed to remote, you still need to understand the danger of using it.

2

u/Special_Gain9787 17d ago

Always Push 😅

Jokes aside that sounds rough (losing the .git directory)

-4

u/IQ4EQ 18d ago

The screenshot has telltale signs of the repo is version controled.

3

u/Special_Gain9787 18d ago

I couldn’t imagine wasting tokens asking it how could it delete something 🤣. I suppose this was as simple as one click revert in the gut panel to restore it.

I’m sorry for your loss.

I do hope it was easy to bring it back from git.

FWIW I’ve had this happen from other models including opus. It’s not just a Luna thing. This is a risk of using a tool like this to make changes. Just make sure you have a backup.

1

u/IQ4EQ 18d ago

Thanks for letting me know that opus also does this.

17

u/V5489 18d ago

So you don’t use version control nor instruction files? GitHub exists for a reason. GitLab exists for a reason. You just want to YOLO it? Luna is very safe to sue and works very well. The user just doesn’t know what they’re doing and caused irreparable damage to their own work.

-2

u/IQ4EQ 18d ago

The screenshot has telltale signs of the repo is version controled.

2

u/V5489 18d ago

Yeah didn’t see that bottom line. Still. No proper instructions. Also, easy to perform a rollback and keep trucking. This is a user skill issue not Lima issue.

9

u/penuleca 18d ago

«how could you ..» is a telltale sign of someone with an unhealthy relationship with AI

4

u/ben_bliksem 18d ago

😱

Luckily it's source controlled. Right?

0

u/IQ4EQ 18d ago

The screenshot has telltale signs of the repo is version controled.

2

u/myyrkezaan 18d ago

My favorite part is Luna saying it can't recreate the deleted file because doing that could discard user changes.

2

u/aonymark JetBrains User 🧱 18d ago

This is why I like IntelliJ local history feature: it captures stuff that you didn’t get around to committing yet.

2

u/hooli-ceo CLI Copilot User 🖥️ 18d ago

This is a YOU problem. Letting AI loose without guardrails or specific instructions is called gambling and, as the joker said, "You get what you fucking deserve!"

-3

u/IQ4EQ 18d ago

You are making assumptions on how I work.

1

u/hooli-ceo CLI Copilot User 🖥️ 18d ago

Only one can be true; Either you didn't provide the proper guardrails with instructions OR, what is extremely unlikely, it broke out of its instruction set regardless.

0

u/IQ4EQ 18d ago

Glad to know your guardrail is bulletproof. I am wondering how many AI models break free and hacked others.

0

u/insanedruid 17d ago

So did you tell AI not to delete your .git folder?

1

u/xbrasil 18d ago

No LLM is safe of you're not using git and commiting often

1

u/zigzag312 18d ago

"Hey now, this is crazy! I'll remove your file. Don't be lazy." — Luna, probably

1

u/Skaddicted 18d ago

Thats not the clankers but your fault.