• Joined on 2026-02-05
codex_c commented on pull request mark/thearchive#153 2026-03-14 13:56:06 +00:00
feat: implement achievement supplementary workstreams A–E (#150)

Requesting changes based on a few implementation gaps that affect the delivered behavior for workstreams C and E.

codex_c approved mark/thearchive#144 2026-03-14 11:32:26 +00:00
feat: performance follow-up for cache strategy and media url stability

Approving on re-review. The SPA deep-link cache-header bug is fixed, the missing regression coverage is now present, and the verification pass on preview and the focused test suite came back clean.

codex_c commented on pull request mark/thearchive#144 2026-03-14 11:32:17 +00:00
feat: performance follow-up for cache strategy and media url stability

Re-review complete. The prior blocker is fixed: preview now returns Cache-Control: no-cache, must-revalidate for SPA deep links like /people, and the PR now adds a deploy smoke assertion for that path plus hashed assets.

codex_c commented on pull request mark/thearchive#144 2026-03-14 10:38:47 +00:00
feat: performance follow-up for cache strategy and media url stability

This matcher only covers requests whose original path is / or /index.html. For SPA deep links, try_files rewrites /people or /people/:id to index.html, but the @htmlShell matcher never fires, so those hard-refresh responses go out without Cache-Control: no-cache, must-revalidate. I reproduced that on preview with curl -I https://archive-preview.lintel.live/people and locally on http://127.0.0.1:18632/people.

codex_c commented on pull request mark/thearchive#144 2026-03-14 10:38:47 +00:00
feat: performance follow-up for cache strategy and media url stability

This only checks that the Caddyfile text contains the intended directives. It doesn't verify the actual behavior for rewritten SPA routes, which is exactly why the missing Cache-Control on /people and /people/:id goes unnoticed. We need a runtime assertion for deep-link HTML responses here or in the deploy/browser checks before this issue can really be considered covered.

codex_c suggested changes for mark/thearchive#144 2026-03-14 10:38:47 +00:00
feat: performance follow-up for cache strategy and media url stability

Requesting changes for the two blockers noted in the draft review: the HTML cache policy does not apply to SPA deep links, and the new regression coverage does not exercise that path.

codex_c commented on pull request mark/thearchive#144 2026-03-14 10:38:36 +00:00
feat: performance follow-up for cache strategy and media url stability

This matcher only covers requests whose original path is / or /index.html. For SPA deep links, try_files rewrites /people or /people/:id to index.html, but the @htmlShell matcher never fires, so those hard-refresh responses go out without Cache-Control: no-cache, must-revalidate. I reproduced that on preview with curl -I https://archive-preview.lintel.live/people and locally on http://127.0.0.1:18632/people.

codex_c commented on pull request mark/thearchive#144 2026-03-14 10:38:36 +00:00
feat: performance follow-up for cache strategy and media url stability

This only checks that the Caddyfile text contains the intended directives. It doesn't verify the actual behavior for rewritten SPA routes, which is exactly why the missing Cache-Control on /people and /people/:id goes unnoticed. We need a runtime assertion for deep-link HTML responses here or in the deploy/browser checks before this issue can really be considered covered.

codex_c commented on pull request mark/thearchive#144 2026-03-14 10:38:36 +00:00
feat: performance follow-up for cache strategy and media url stability

Two blocking issues:

codex_c approved mark/thearchive#141 2026-03-14 10:11:42 +00:00
Fix: extract hard-coded data

Approved on re-review. The prior blocking issue is fixed, and the updated PR passed ruff, mypy, and the full backend unit/integration test suite locally.

codex_c commented on pull request mark/thearchive#141 2026-03-14 10:11:39 +00:00
Fix: extract hard-coded data

Re-review complete. The previously flagged tag-ordering inconsistency between bootstrap and scripts/seed.py has been fixed: the seed path now preserves the shared sort_order from backend/app/data/reference_data.py instead of recomputing it. I also reran the stated verification locally (ruff, mypy, and pytest tests/unit tests/integration), and everything passed on this head commit.

codex_c commented on pull request mark/thearchive#141 2026-03-14 10:00:39 +00:00
Fix: extract hard-coded data

reference_data.TAGS now carries an explicit sort_order, but this projection drops it and later reassigns order via enumerate(all_tags). That makes the seed path interpret the shared data differently from backend/app/services/bootstrap.py, which uses the provided sort_order directly. If someone updates tag ordering in reference_data.py, bootstraped users and seeded users can end up with different defaults. Please keep sort_order in the seed representation and write that value through to the tag rows instead of recomputing it here.

codex_c suggested changes for mark/thearchive#141 2026-03-14 10:00:39 +00:00
Fix: extract hard-coded data

Requesting changes for one blocking consistency issue: the seed script recomputes tag sort order instead of honoring the explicit sort_order now defined in the shared reference-data module, so the two consumers can drift from the intended source of truth.

codex_c commented on pull request mark/thearchive#141 2026-03-14 10:00:33 +00:00
Fix: extract hard-coded data

reference_data.TAGS now carries an explicit sort_order, but this projection drops it and later reassigns order via enumerate(all_tags). That makes the seed path interpret the shared data differently from backend/app/services/bootstrap.py, which uses the provided sort_order directly. If someone updates tag ordering in reference_data.py, bootstraped users and seeded users can end up with different defaults. Please keep sort_order in the seed representation and write that value through to the tag rows instead of recomputing it here.

codex_c commented on pull request mark/thearchive#141 2026-03-14 10:00:33 +00:00
Fix: extract hard-coded data

The refactor is headed in the right direction and I verified the stated test matrix locally, but there’s one consistency issue I don’t think we should merge with: scripts/seed.py now centralizes tag metadata via backend/app/data/reference_data.py, yet it drops the explicit sort_order from that shared source and recomputes ordering by enumeration. That means bootstraped users and seeded users can diverge as soon as someone edits tag ordering in the new source-of-truth module. Because the whole point of this PR is to make these defaults safely editable, I think the seed path needs to honor the shared sort_order values too.

codex_c created pull request mark/thearchive#137 2026-03-14 08:44:46 +00:00
ci: pin workflows to the agent-workspace runner
codex_c created branch ci/pin-agent-workspace-runner in mark/thearchive 2026-03-14 08:44:39 +00:00
codex_c pushed to ci/pin-agent-workspace-runner at mark/thearchive 2026-03-14 08:44:39 +00:00
e5cca731a3 ci: pin workflows to agent-workspace runner
codex_c created pull request mark/thearchive#133 2026-03-14 01:00:11 +00:00
ci: fast-pass non-runtime asset changes
codex_c created branch ci/non-runtime-change-classifier in mark/thearchive 2026-03-14 00:59:50 +00:00