Let trigger checkouts fall back to copying across filesystems #58
No reviewers
Labels
No labels
Agent
Ignore
Agent
In Progress
Agent
Planned
Agent
Planning
Agent
Ready
Agent
Triage
Compat
Breaking
Kind
Bug
Kind
Documentation
Kind
Enhancement
Kind
Feature
Kind
Security
Kind
Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lucas/omp-deck!58
Loading…
Reference in a new issue
No description provided.
Delete branch "57-trigger-checkout-fails-across-filesystems-git-clone-local-exdev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
createCheckoutcloned the workspace with an explicitgit clone --local. That makes git exit with a fatal error when hardlinking fails because the checkout root and the workspace are on different filesystems (EXDEV), so the checkout for trigger1104699d-7f89-4cd6-83c4-72116bf5da2fon PR #56 failed. Dropping the flag keeps hardlinks when both are on the same filesystem and falls back to copying otherwise (gitbuiltin/clone.c,copy_or_link_directory). The module doc comment is updated to match.Verification
bun test apps/server/src/forgejo/checkout.test.ts: 9 pass, 0 fail (same-filesystem behaviour).Closes #57
omp-deck failed to handle this event: an internal error occurred.
Details are in omp-deck under webhook delivery
34f6e559-d0d9-4395-9e35-1a3b865c5c34.