Skip to content

fix: update multistore to properly recognize directory markers#125

Merged
alukach merged 2 commits into
mainfrom
fix/directory-markers
Apr 1, 2026
Merged

fix: update multistore to properly recognize directory markers#125
alukach merged 2 commits into
mainfrom
fix/directory-markers

Conversation

@alukach

@alukach alukach commented Mar 31, 2026

Copy link
Copy Markdown
Contributor

What I'm changing

Bump multistore version to v0.3.1 to support directory markers (developmentseed/multistore#22).

How I did it

Updated multistore to ignore any keys returned by the object store backend that has 0 bytes and ends with / (these keys are still returned as CommonPrefixes, but not Objects)

How to test it

This backend is currently enabled as the backend of https://source-cooperative-git-feat-data-connection-admin-radiantearth.vercel.app. As such, compare the following:

You'll see an empty staging-gov-data in the before, but no longer in the after.

PR Checklist

  • This PR has no breaking changes.
  • I have updated or added new tests to cover the changes in this PR.
  • This PR affects the Source Cooperative Frontend & API,
    and I have opened issue/PR #XXX to track the change.

Related Issues

Resolves source-cooperative/source.coop#245

@github-actions

github-actions Bot commented Mar 31, 2026

Copy link
Copy Markdown

🚀 Latest commit deployed to https://source-data-proxy-pr-125.source-coop.workers.dev

  • Date: 2026-03-31T22:23:33Z
  • Commit: a366a10

@alukach alukach changed the title fix: update multistore to proeprly recognize directory markers fix: update multistore to properly recognize directory markers Mar 31, 2026
@alukach alukach marked this pull request as ready for review April 1, 2026 05:57
@alukach alukach requested a review from tylere April 1, 2026 05:58
@alukach alukach merged commit 25b1072 into main Apr 1, 2026
15 checks passed
@alukach alukach deleted the fix/directory-markers branch April 1, 2026 05:58
alukach pushed a commit that referenced this pull request Apr 9, 2026
🤖 I have created a release *beep* *boop*
---


##
[2.1.1](v2.1.0...v2.1.1)
(2026-04-02)


### Bug Fixes

* update multistore to properly recognize directory markers
([#125](#125))
([25b1072](25b1072))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: source-release-bot[bot] <265100246+source-release-bot[bot]@users.noreply.github.com>
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.

[Bug] UI unexpectedly lists 0-byte directory markers as files

1 participant