graphIO: serialize username that saved the file#3134
Conversation
There was a problem hiding this comment.
Code Review
This pull request adds the current username to the serialized file header using getpass.getuser(). Feedback suggests wrapping the getpass.getuser() call in a try-except block to prevent potential crashes in environments where user information is unavailable, such as containerized or headless systems.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #3134 +/- ##
===========================================
- Coverage 86.07% 86.06% -0.01%
===========================================
Files 78 78
Lines 12111 12117 +6
===========================================
+ Hits 10425 10429 +4
- Misses 1686 1688 +2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
634fce6 to
1ffe855
Compare
fb48e34 to
7492027
Compare
a46b19c to
2cf5795
Compare
2cf5795 to
6838825
Compare
Description
In the serialized file, save the username that last saved the file.
It could be interesting for stat purposes, we can get the modification date with
statbut not the username easily.