github-tools / github-tools/github

repository.writeFile could overwrite the changes

Open
#519 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
3.8k
Forks
809
PR merge metrics
No merged PRs in 30d

Description

The file changes are overwritten when repository.writeFile is called to save the file which has been updated by the others.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the repository.writeFile entry point and trace how it saves a file through the GitHub API. Reproduce the case where another user's changes exist, then identify the expected conflict behavior and add coverage for it; done means those changes are no longer silently overwritten.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.