← Back to issue list

fix(remote): use git for push to remote system

View original Github issue

Metadata

Project
snapcraft
Number
#4482
Type
pull request
State
merged
Author
syu-w
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #4482 as commit 6300e0ee2, replacing libgit2 remote pushes with direct git push and preventing premature token expiry; fixes #4478.

Resolution: closed resolved

Reason: The approved PR was merged into main as commit 6300e0ee2. It fixed remote-build pushes by using git directly because of a libgit2 bug and allowing the token to be reused.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Call git push directly due to libgit2 bug Also the token will be used mutiple times, so it cannot expire after 1 min. Fixes: #4478

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #4482 as commit 6300e0ee2, replacing libgit2 remote pushes with direct git push and preventing premature token expiry; fixes #4478.
stealth/space-bunny-alpha — closed resolved Merged to main as commit 6300e0ee2, replacing libgit2 pushes with direct git push to fix #4478 and prevent token expiry; cherry-picking to hotfix/8.0 was considered.
qwen/qwen3.6-35b-a3b — — Merged to main. Switches from libgit2 to direct git push to resolve a libgit2 bug and prevent token expiration. Fixes #4478. Approved by two reviewers and landed on main, with plans to cherry-pick to hotfix/8.0 later.
qwen3.6-35b-a3b-mtp-q6 — — Merged to main. Replaced libgit2 with direct git push to bypass a bug and handle token expiration. Landed on main instead of a hotfix branch, with cherry-picking planned later. Fixes #4478.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft#4478 (confidence 100%)

    The reported remote-build regression that PR #4482 explicitly fixes.

Related issues

Issue Project State Summary Similarity
#310 fix(remote-build): enable git repo check craft-application merged Merged PR #310 in commit 28429b84, enabling remote builds to check Git cleanliness before staging and committing copied project changes.
70%