8000 test: let the shared test storage read pictures by mwoods79 · Pull Request #767 · huddlz-hq/huddlz · GitHub
[go: up one dir, main page]

Skip to content

test: let the shared test storage read pictures - #767

Merged
mwoods79 merged 1 commit into
mainfrom
t3/test-storage-read
Dec 1, 2026
Merged

mwoods79 merged 1 commit into
mainfrom
t3/test-storage-read

Conversation

@mwoods79
@mwoods79 mwoods79 commented Dec 1, 2026
Copy link
Copy Markdown
Contributor

Summary

main fails its Test job: the picture route (#755) reads stored bytes through Huddlz.Storage.read/1, while the shared test storage module added in #738 implements every callback except read/1. Each PR passed alone; together the picture tests raise UndefinedFunctionError. The module now delegates read/1 to its adapter like the other callbacks.

Evidence

Before: on main (588580a), picture_controller_test.exs and the artwork, copy-cover, gallery and photo-compatibility scenarios fail with Huddlz.Test.Storage.read/1 is undefined.

After: the full suite passes (3,526 tests).

Merge Danger

Door: two-way

Test support only.

Blast Radius: tests

  • No production code changes.

The picture rou
8000
te reads stored bytes through Huddlz.Storage.read/1, added
alongside the shared test storage module in a parallel change; the module
now delegates read/1 to its adapter like every other callback.
@mwoods79
mwoods79 enabled auto-merge (squash) December 1, 2026 23:33
@mwoods79
mwoods79 merged commit e1bacac into main Dec 1, 2026
5 checks passed
@mwoods79
mwoods79 deleted the t3/test-storage-read branch December 1, 2026 23:40
mwoods79 added a commit that referenced this pull request Dec 1, 2026
* origin/main:
  test: let the shared test storage read pictures (#767)
  fix(live): keep pages open through a transient refresh error (#766)
mwoods79 added a commit that referenced this pull request Dec 1, 2026
…r-leave

* origin/main:
  test: let the shared test storage read pictures (#767)
  fix(live): keep pages open through a transient refresh error (#766)

# Conflicts:
#	lib/huddlz_web/live/huddl_live/show.ex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0