Skip to content

Simplify repository layout, uv packaging, and Docker setup - #5

Closed
pirate wants to merge 3 commits into
masterfrom
main
Closed

pirate wants to merge 3 commits into
masterfrom
main

Conversation

@pirate

@pirate pirate commented Nov 27, 2026 •

Copy link
Copy Markdown
Member

The cleanup is on the repository's default branch, main, and published as 0.1.1. This comparison targeted the retired master branch and was closed because no merge was needed.

The package now lives under src/archivebox_proxy/. One docker-compose.yml starts ArchiveBox and the proxy together. Packaging uses uv_build with bundled platform executables. The root Dockerfile, Compose overrides, Hatch hook, systemd unit, toolchain file, .gitattributes, and tracked documentation images are removed. Images are hosted as release assets. CI, repository links, and the PyPI environment use main.

Tests and Compose capture, all four wheel platforms, and publication passed on b8633d5. A fresh Compose deployment initialized the collection and captured a real Hacker News page, with one document upstream request and three cache hits including ArchiveBox's browser. Login, library, and snapshot screenshot were verified visually.

Fresh PyPI 0.1.1 installations passed live HTTPS/cache tests on macOS ARM64 and Linux ARM64. On this Mac, real HTTP/3 to tldraw used HTTP/3 on both legs, then returned a byte-identical cache HIT; WebSocket text, binary, and Ping/Pong exchanges also passed with hostname-verified TLS. These protocol checks used explicit CA trust; interactive browser trust setup remains a separate check.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3 issues found and verified against the latest diff

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="docker-compose.yml">

<violation number="1" location="docker-compose.yml:40">
P2: The `/data` bind uses short syntax, so Compose creates a missing host path before `archivebox init` runs. A typo or missing `ARCHIVEBOX_DATA` can silently start a different collection instead of failing; use long syntax with `bind.create_host_path: false` and create the intended directory explicitly.</violation>
</file>

<file name=".github/workflows/release.yml">

<violation number="1" location=".github/workflows/release.yml:71">
P1: The Linux wheel jobs fail immediately because the manylinux container does not receive the host-installed `uv` binary. Install a pinned `uv` inside the container, or copy it from an appropriate uv image, before invoking `uv`, `uvx`, and `uv pip`.</violation>

<violation number="2" location=".github/workflows/release.yml:74">
P2: The Linux wheel test resolves runtime dependencies from the current package indexes instead of the versions locked in `uv.lock`, so the release validation can pass against a dependency set different from the tested deployment. Export locked constraints in the container and pass them to `uv pip install`.

(Based on your team's feedback about constraining Docker wheel installs.)</violation>
</file>

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread .github/workflows/release.yml Resolved
Comment thread docker-compose.yml Resolved
Comment thread .github/workflows/release.yml Resolved
@pirate pirate closed this Nov 27, 2026
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