jenkinsci / jenkinsci/gerrit-trigger-plugin

[JENKINS-36447] builds aborted during the git sync will corrupt the local git store

Open
#790 1 comment 0 reactions 0 assignees View on GitHub
component:gerrit-trigger-plugin imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
226
Forks
289
PR merge metrics
No merged PRs in 30d

Description

With jenkins set to abort patch sets when superceded,in some occasions when a modification on patch set is triggered and canceled a build in the git sync can corrupt the local workspace.

Repos size could indeed be a factor. Typical sync time is around 6m for this repos.

---
Originally reported by ifernandezcalvo, imported from: builds aborted during the git sync will corrupt the local git store


  • assignee: rsandell
  • status: Open
  • priority: Minor
  • component(s): gerrit-trigger-plugin
  • resolution: Unresolved
  • votes: 2
  • watchers: 5
  • imported: 2025-12-06

Raw content of original issue

With jenkins set to abort patch sets when superceded,in some occasions when a modification on patch set is triggered and canceled a build in the git sync can corrupt the local workspace.
Repos size could indeed be a factor. Typical sync time is around 6m for this repos.

environment

```
Jenkins ver. 1.609.15.1

Gerrit Trigger 2.14.0

Gerrit Code Review 2.12.2
```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing a canceled build during the git sync described for Jenkins 1.609.15.1, Gerrit Trigger 2.14.0, and Gerrit Code Review 2.12.2. Trace the gerrit-trigger-plugin handling around patch-set supersession and workspace synchronization. Done means aborting a sync no longer corrupts the local git store.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, java
Domain
backend, ci-cd
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.