I am in a bit of a pickle here.
I am in a course, and a student that I know quite well asked to collaborate with me on a project. I agreed. We started working on the project for 30 minutes, but I was the only one that continued (it took roughly 10 hours of work). Whenever I was working on the project, and asked the student to join, he never joined. I finished the project independently, but the student asked me to add him to my submission. To save face, I told the student that I did not finish the project, and added him to the version that we had worked on, and emailed the professor asking if I could submit the project over email instead so I would not have to add the student as a collaborator on the project.
The professor just reached out saying that he emailed the student for clarification, which puts me in a very sticky situation. I know the student quite well, and as I mentioned, I told him that I had not finished the project. Must my professor respect confidentiality in that matter? He did not ask before escalating the situation, but I do not know if he had to at all.