Describe the bug
I received a bug that said "Error: Session file is corrupted (line 4984: data.totalPremiumRequests: Expected integer, received float)"
totalPremiumRequests -> I saw that the value received was 7.5, so I used another CoPilot session to recover this one by changing the value to 8. The shutdown event already recorded gpt-5.5.requests.count = 8, so the repaired value now matches the schema’s required integer type
Affected version
1.0.49
Steps to reproduce the behavior
Not sure how to reproduce the behavior but the fix should be simple - either
- expect a float
- cast floats to an int
- Ensure floats are not received
Expected behavior
data.totalPremiumRequests should not cause the session to crash irrecoverably
Additional context
No response
Describe the bug
I received a bug that said "Error: Session file is corrupted (line 4984: data.totalPremiumRequests: Expected integer, received float)"
totalPremiumRequests -> I saw that the value received was 7.5, so I used another CoPilot session to recover this one by changing the value to 8. The shutdown event already recorded gpt-5.5.requests.count = 8, so the repaired value now matches the schema’s required integer type
Affected version
1.0.49
Steps to reproduce the behavior
Not sure how to reproduce the behavior but the fix should be simple - either
Expected behavior
data.totalPremiumRequests should not cause the session to crash irrecoverably
Additional context
No response