Skip to content

Fix filebucket REST terminus to support request.server#368

Open
mdechiaro wants to merge 1 commit intoOpenVoxProject:mainfrom
mdechiaro:fix-centralized-filebuckets
Open

Fix filebucket REST terminus to support request.server#368
mdechiaro wants to merge 1 commit intoOpenVoxProject:mainfrom
mdechiaro:fix-centralized-filebuckets

Conversation

@mdechiaro
Copy link
Copy Markdown

The REST terminus called session.route_to(:puppet) with no URL, so route_to always resolved via the normal resolver chain and sent filebucket traffic to Puppet[:server], silently ignoring the server value encoded in the filebucket:// URI.

Co-Authored-By: Claude noreply@anthropic.com

Closes: #367

@bastelfreak
Copy link
Copy Markdown
Contributor

@mdechiaro thanks for the PR. can you please rebase against our main branch and add some tests for the change?

@mdechiaro mdechiaro force-pushed the fix-centralized-filebuckets branch 2 times, most recently from 47346eb to 2aad445 Compare April 10, 2026 13:48
@bastelfreak
Copy link
Copy Markdown
Contributor

@mdechiaro please rebase against main, don't do a merge commit. And please signoff the commit (git commit --amend --signoff).

@mdechiaro mdechiaro force-pushed the fix-centralized-filebuckets branch from 3e7d97a to 14e048b Compare April 10, 2026 14:12
@mdechiaro
Copy link
Copy Markdown
Author

@bastelfreak sorry for the bad force push. Let me know if I should create a new PR and cherry-pick the change to clean this up.

@bastelfreak
Copy link
Copy Markdown
Contributor

if you do something like this:

git remote add upstream git@github.com:OpenVoxProject/openvox.git
git fetch upstream
git rebase upstream/main --signoff
git push -f

this should do the rebase + signoff. You can also hop into our IRC/slack channel if you need more help: https://voxpupuli.org/connect/

The REST terminus called session.route_to(:puppet) with no URL, so
route_to always resolved via the normal resolver chain and sent
filebucket traffic to Puppet[:server], silently ignoring the server
value encoded in the filebucket:// URI.

Add specs that stub only the explicit host (xanadu:8141) so WebMock
raises if the request is routed to the wrong server.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Closes: OpenVoxProject#367
Signed-off-by: Mark Dechiaro <mdechiaro@users.noreply.github.com>
@mdechiaro mdechiaro force-pushed the fix-centralized-filebuckets branch from 2b4ad70 to 9a0264b Compare April 10, 2026 15:34
@mdechiaro
Copy link
Copy Markdown
Author

@bastelfreak I believe I fixed my issues with merge and sign-off. Thanks for your help with this PR.

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.

[Bug]: Centralized filebucket not working properly

2 participants