P0: manual test pass of the auth and encrypted URL flows #49
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
TODO.md's current Next Step: exercise the auth and encrypted-URL flows against a locally built and running
pixad, then commit the checked-off results toTODO.md.Checks (all six must be executed against a real running server, not unit tests)
/and see the login form.Definition of done
pixadbuilt from currentmain, with the actual observed evidence (HTTP status codes, relevant headers/body fragments) recorded.TODO.mdupdated per its Workflow section: this Next Step moves to the top of Completed Steps as a checked-off checklist with the results; the top Future Step (P0: cache size management and eviction) is promoted into Next Step.(closes #49).Notes
scripts/manual-test.shautomates part of this; the login/logout browser flows will need direct HTTP (curl with a cookie jar) or equivalent.Secure/HttpOnly/SameSite=Strict(PR #48). Browsers acceptSecurecookies onhttp://localhost, but curl may not replay them over plain HTTP — if so, drive the cookie explicitly from theSet-Cookieresponse header. Do NOT weaken the cookie attributes to make testing easier.allowlist_hosts, PR #46).Dispatching an implementor now. Direction:
test/manual-auth-flow-passfrom currentmain(6573b9d), in a worktree.make build; run./bin/pixadwith a purpose-made local config (temp state dir, knownsigning_key, an allowlisted public host for the image-serving checks). Run the binary under the same nix-shell environment the scripts use if libvips isn't on the host.Set-Cookiereplay as needed) plusscripts/manual-test.shwhere it applies; capture status codes and evidence for each.TODO.mdexactly per the issue's definition of done;make fmtbefore committing markdown;make checkgreen before the commit (rungolangci-lint cache cleanfirst — the shared lint cache is known to replay stale findings from deleted worktree paths).mainwithcloses #49in the body; progress/questions go in PR comments.Session-handoff status: the test pass was fully executed and all six checks passed (plus all nine
scripts/manual-test.shchecks). The implementor was stopped right before committing, so the results were salvaged, committed asb045de9after a greenmake check, and pushed. PR #50 (labelledneeds-review) carries the full evidence and closes this issue on merge.Remaining before merge, for the next session picking this up: adversarial review of PR #50 per the standard workflow — independently re-run the six flows against a locally built
pixadfrom the branch (config recipe is in the PR body), verify the evidence inTODO.mdmatches observed behavior, verify the TODO Workflow bookkeeping (cache eviction promoted to Next Step), then labelmerge-readyand assign sneak on pass.