Skip to content

Add fast bucket status check #1715

@dmpetrov

Description

@dmpetrov

Description

A lightweight way of checking bucket status without listing is required.

  • whether the bucket exists
  • whether it allows anonymous access

This helps with #1712 and speeds up agent workflows, where permission/anon failures add latency.

Proposal:

  • Function: check existence + anonymous access (no listing)
  • CLI: datachain bucket status az://neurips/
  • Output:
Status: exists
Access: authenticated

access ∈ {anonymous, authenticated, denied}

  • Returns code: 0 if bucket exists, otherwise not zero

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions