jupytercad / JupyterCAD

A JupyterLab extension for 3D geometry modeling
https://jupytercad.readthedocs.io
BSD 3-Clause "New" or "Revised" License
118 stars 15 forks source link

Update Galata References Workflow Fails Due to Missing Files #438

Closed arjxn-py closed 3 days ago

arjxn-py commented 5 days ago

Update Galata References workflow is failing due to multiple missing files and directories in the examples and tests-ui directories. The error logs indicate 404 Not Found responses when the workflow attempts to access or delete certain files.

[WebServer] [W 2024-09-27 09:42:17.427 ServerApp] 404 GET /api/contents/examples/test.jcad?type=file&content=0 (::1): No such file or directory: examples/test.jcad
[WebServer] [W 2024-09-27 09:42:17.435 ServerApp] 404 GET /api/contents/examples/Notebook.ipynb?type=file&content=0 (::1): No such file or directory: examples/Notebook.ipynb
[WebServer] [W 2024-09-27 09:42:17.442 ServerApp] 404 GET /api/contents/examples/3M_CONNECTOR.STEP?type=file&content=0 (::1): No such file or directory: examples/3M_CONNECTOR.STEP
[WebServer] [W 2024-09-27 09:42:17.450 ServerApp] 404 GET /api/contents/examples/fan.stl?type=file&content=0 (::1): No such file or directory: examples/fan.stl
[WebServer] [W 2024-09-27 09:42:17.464 ServerApp] 404 GET /api/contents/examples?type=directory&content=1 (::1): No such file or directory: examples
[WebServer] [W 2024-09-27 09:42:19.288 ServerApp] 404 GET /api/contents/tests-ui-UI-Test-File-oper-70534-able-to-add-object-to-scene?type=directory&content=1 (::1): No such file or directory: tests-ui-UI-Test-File-oper-70534-able-to-add-object-to-scene
martinRenou commented 3 days ago

It seems to me the important error is:

    ╔═════════════════════════════════════════════════════════════════════════╗
    ║ Looks like Playwright Test or Playwright was just installed or updated. ║
    ║ Please run the following command to download new browsers:              ║
    ║                                                                         ║
    ║     yarn playwright install                                             ║
    ║                                                                         ║
    ║ <3 Playwright Team                                                      ║
    ╚═════════════════════════════════════════════════════════════════════════╝

Which is odd, I wonder if it's due to outdated browser cache or something in our CI. We should probably try an yarn playwright install https://github.com/jupytercad/JupyterCAD/blob/main/.github/workflows/update_galata_references.yaml#L101