• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

FROSADO / onecloudriver / 31941493177
78%

Build:
DEFAULT BRANCH: main
Ran 16 Aug 2026 10:26AM UTC
Jobs 1
Files 43
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Aug 2026 10:22AM UTC coverage: 77.276% (+0.05%) from 77.229%
31941493177

push

github

web-flow
fix(fs): allow renaming locally-created items before upload (#83) (#84)

Locally-created files hold a provisional local-<hex> ID until the
background upload completes. doRename sent PATCH /me/drive/items/
local-<hex> to Graph, which answered HTTP 400 invalidRequest, so
renaming a brand-new file (e.g. Obsidian "Sin título.md" ->
"Test.md") failed with EIO.

- doRename: when the child ID is local, skip the remote
  RenameItem/MoveItem call and update the in-memory cache (name and
  parent) plus the pending upload session, so the file is created
  remotely with the new name in the new folder.
- UploadManager.RenameSession: also updates in-flight sessions; when
  the upload finishes, applyInflightTargetChange renames/moves the
  remote item (using the real ID from the upload response) if the
  target changed mid-flight.
- doRmdir: same isLocalID guard as doUnlink/doRename, as defense in
  depth (folders always carry real IDs today, so this is
  unreachable).
- Tests: rename of a local item (zero Graph calls, pending upload
  updated), RenameSession for pending and in-flight sessions,
  rename-during-in-flight-upload race with blocked PUT, rmdir of a
  local folder, and FUSE delete-and-recreate-same-name.

Generated with Codebuff 🤖

Co-authored-by: Codebuff <noreply@codebuff.com>

55 of 68 new or added lines in 2 files covered. (80.88%)

2 existing lines in 1 file now uncovered.

3836 of 4964 relevant lines covered (77.28%)

493.78 hits per line

Uncovered Changes

Lines Coverage ∆ File
10
83.04
-0.58% internal/fs/upload_manager.go
3
81.33
1.15% internal/fs/fs_ops.go

Coverage Regressions

Lines Coverage ∆ File
2
92.59
-1.06% internal/graph/items.go
Jobs
ID Job ID Ran Files Coverage
1 31941493177.1 16 Aug 2026 10:26AM UTC 43
77.28
GitHub Action Run
Source Files on build 31941493177
  • Tree
  • List 43
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d96b0749 on github
  • Prev Build on main (#31907725210)
  • Next Build on main (#31942547049)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc