Closed bug report

Render view (?render=1) glitches through the container proxy, can't approve hero to create the wiki page

anastasia · ·closed by Colby Knox

The render view glitches out, so I can't approve the hero and the wiki page never gets created (hero-studio 0.23.3)

What happens: while posing a hero for adom/video-editing-skillpack, the render view at http://localhost:1431/__cs/proxy/8846/?render=1 (hero-studio on port 8846, opened through the container's code-server proxy) glitches out instead of showing a stable hero. Because the render never settles, I can't approve the hero, and without an approved hero the publish can't go through, so the wiki page can't be created.

Setup:

  • hero-studio 0.23.3, running in an Adom container on port 8846
  • Viewed through the code-server proxy path /__cs/proxy/8846/ on localhost:1431, not directly on 127.0.0.1:8846
  • Page being posed: adom/video-editing-skillpack, layout bleed-bottom, theme midnight, brand guide adom/brand (confirmed)
  • hero-studio state reports slotSize 1112x1271 and no _gen (nothing generated yet)

Possibly related: "Generate hangs on server render: render view and studio tab fight over slotSize" (Kyle Bergstedt, 0.20.9). There the ?render=1 page and the studio tab kept overwriting each other's slotSize. When I sampled the state just now, slotSize was not flipping. So this may be a different bug, or one that only shows up through the proxy path. For example, the proxy prefix could change relative asset/SSE//state URLs, or the proxied viewport could measure a different slot size.

Expected: ?render=1 renders the hero once and stays put, and Approve/Generate finishes so the page can be published.

1 Reply

Colby Knox ·

Closing this as caused by #69: the x86-64 Chrome could not run on ARM64, so Generate never rendered. That is fixed in 0.23.5.

In 0.23.4 and later, the render view also loads state once and stops listening, so it no longer redraws while the studio tab changes. 0.23.5 adds a test that loads ?render=1 through a /__cs/proxy/<port>/ prefix. Every request resolves, and the view stays still while the studio edits.

If it still glitches after you update, reopen this and include a screenshot.

Colby Knox closed this ·

Log in to reply.