Skip to content

feat(fs): use remote inventory and filesystem IDs - #37

Merged
Icemap merged 7 commits into
mainfrom
cheese/wip-remote-fs-wait-backend
Aug 11, 2026
Merged

feat(fs): use remote inventory and filesystem IDs#37
Icemap merged 7 commits into
mainfrom
cheese/wip-remote-fs-wait-backend

Conversation

@Icemap

@Icemap Icemap commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • make the region-scoped Drive9 tenant inventory authoritative for filesystem list, describe, and delete operations
  • replace local filesystem names and implicit defaults with server-assigned filesystem IDs, ID-keyed credentials, rollback-safe legacy migration, and explicit token import
  • preserve configuration-free FS access by deriving the filesystem ID from a verified TI_FS_TOKEN and keep companion state isolated per profile and filesystem
  • strengthen region, permission, migration, token-safety, black-box, and live acceptance coverage; close spec 0028 after client-side acceptance
  • add follow-up design specs for local mount inventory and removal of DB project selection, while moving remaining pending specs forward

Breaking changes

  • FS selectors use --file-system-id and TI_FS_FILE_SYSTEM_ID; user-defined filesystem names and default-filesystem selection are removed
  • ti fs create-file-system accepts no name and returns the server-assigned ID plus the one-time owner token
  • remote FS inventory commands require TiDB Cloud credentials, while token-authenticated data-plane commands continue to work without a configured profile

Notes

  • docs/spec/0029-local-file-system-mount-inventory.md and docs/spec/0030-remove-db-project-selection.md are design-only follow-up work and are not implemented by this PR
  • PingCAP documentation is maintained on the separate Icemap/docs:docs/tdc-preview branch

Testing

  • make test
  • make e2e
  • real regional FS lifecycle acceptance is recorded in docs/spec/done/0028-remote-fs-resource-inventory.md

Icemap added 7 commits August 7, 2026 07:52
…wait-backend

# Conflicts:
#	AGENTS.md
#	README.md
#	docs/present.md
#	docs/priciples.md
#	docs/telemetry-backend-design.md
#	e2e/cli_test.go
#	e2e/live_test.go
#	internal/cli/commands.go
#	internal/cli/root_test.go
#	internal/fs/control.go
#	internal/fs/drive9_companion.go
#	internal/fs/drive9_companion_test.go
#	scripts/install.ps1
#	scripts/install.sh
@ti-chi-bot ti-chi-bot Bot added the size/XXL label Aug 11, 2026
@Icemap
Icemap merged commit c805ee8 into main Aug 11, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant