Jai and Veeru encountered a strange issue where user data was disappearing from their app logs, suspecting a ghost in the repository.
The problem was identified as lost data in multi-threaded requests due to issues with ThreadLocal in virtual threads.
The solution presented was to use Java 21's Scoped Values as a modern replacement for ThreadLocal, ensuring data consistency and concurrency safety.
As Jai and Veeru celebrated fixing the data loss, they discovered a mysterious unauthorized commit in the repository, raising concerns about a potential supply chain attack and the need for security checks on dependencies.