π Bug Description
Line 1153 of bot.py fetches file_ids_for_force from user_data but does NOT assign it to any variable β the result is immediately discarded.
π Steps to Reproduce
- Trigger a force commit flow.
- Observe that
file_ids_for_force is fetched but never used to filter staged_rows.
β
Expected Behavior
The file_ids_for_force should be used to filter which files are included in the force commit.
β Actual Behavior
The force commit logic may include files that were not part of the original conflict set, since file_ids_for_force is never used.
π Environment
| Field |
Value |
| OS |
Any |
| VS Code version |
Any |
| GitPhone extension version |
Any |
| Python version |
3.11+ |
π Additional Context
File: backend/bot.py:1152-1153
Fix: Assign and use the fetched value to filter staged rows.
π Bug Description
Line 1153 of
bot.pyfetchesfile_ids_for_forcefromuser_databut does NOT assign it to any variable β the result is immediately discarded.π Steps to Reproduce
file_ids_for_forceis fetched but never used to filterstaged_rows.β Expected Behavior
The
file_ids_for_forceshould be used to filter which files are included in the force commit.β Actual Behavior
The force commit logic may include files that were not part of the original conflict set, since
file_ids_for_forceis never used.π Environment
π Additional Context
File:
backend/bot.py:1152-1153Fix: Assign and use the fetched value to filter staged rows.