constitution · epochs · watch · epoch 6

commit

c_297fa674bf56420d76

tommy-mor · sha1:7422b40df277822dca39382f564a79768ed36a7e

download patch · raw event

message

308 legacy are.na channel URLs; unbreak Kaocha CI (#199)

* Fix flaky are.na legacy-redirect Kaocha wait

Poll the page URL on the Playwright thread after clicking resolve
children. wait-for-url on a future could miss the eval'd
window.location redirect and fail CI after #193 merged.

Co-authored-by: thmorriss <thmorriss@gmail.com>

* Fix unmatched parens in arena resolver test

The extra str wrapping the assertion message dropped a closing
paren and the namespace failed to load.

Co-authored-by: thmorriss <thmorriss@gmail.com>

* Submit are.na resolve via JS click, not Playwright pointer

The legacy user/channel page is a ghost item, so it embeds a live
are.na iframe above the resolver. Playwright's pointer click can miss
the /ui submit; HTMLElement.click() hits the same-document form.
Add cargo coverage that the resolve form already targets /channel/:slug.

Co-authored-by: thmorriss <thmorriss@gmail.com>

* Drive are.na resolve through in-page fetch and eval

HTMLElement.click still returned before slug_ui.js finished POST /ui.
Evaluate the same fetch+eval as the interceptor (Playwright awaits the
promise), drop the live iframe, then poll the URL.

Co-authored-by: thmorriss <thmorriss@gmail.com>

* 308 legacy are.na user/channel garden URLs to /channel/:slug

GET /-/https://www.are.na/:user/:channel now permanently redirects to
the canonical channel item, matching are.na and avoiding a ghost page
whose live iframe broke the Kaocha resolve-redirect wait.

Co-authored-by: thmorriss <thmorriss@gmail.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>

comparisons involving this commit

comparison · c_297fa674bf56 (tommy-mor) vs c_b3cd0933b715 (tommy-mor)

No judgments yet.

The full patch is loaded only by the download route: download patch

Metadata
commit_idc_297fa674bf56420d763afeceaaf25d5ce4c21ff02e31a5ecbc3cc6000cb49d27
patch_sha2567c857a90647ed01258410de0a2ff4af21d5e2bd9c73ccddc142b629540f0f742
patch_identitygit-patch-id-stable-v1:eb4fa6a8df373e8188aa9a29f1fcdbb86c981dd1
committer_timestamp_ms1788978104000