Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebuild button is broken #192

Closed
kaganAtZetane opened this issue Aug 13, 2024 · 0 comments · Fixed by #194
Closed

Rebuild button is broken #192

kaganAtZetane opened this issue Aug 13, 2024 · 0 comments · Fixed by #194
Labels
bug Something isn't working

Comments

@kaganAtZetane
Copy link
Contributor

kaganAtZetane commented Aug 13, 2024

Summary:

On the main branch, when clicking on Rebuild, then, rebuild button gives an error, without building the pipeline. Run Button works fine.
Screen Shot 2024-08-13 at 1 38 18 PM

Expected behavior:

Rebuild must rebuild the pipeline, and run it.

Actual behavior:

Screen Shot 2024-08-13 at 1 38 18 PM

Steps to reproduce:

  1. Run go server, by go run .
  2. Run the client
  3. From core pipelines, drag them to workspace, and click Rebuild.

Zetaforge version:

0.3.2

Operating System

MacOs

Other operating system:

No response

Logs:

Node.js logs:
[13:44:36.409] ERROR (90857) <file://server/middleware.ts:13:12>: Server returned an error
    err: {
      "type": "Error",
      "message": "ENOENT: no such file or directory, scandir '/Users/kaganrua/Library/Application Support/zetaforge/.cache/pipeline-y67j70mliceo/file-6wt21sinahw9'",
      "stack":
          Error: ENOENT: no such file or directory, scandir '/Users/kaganrua/Library/Application Support/zetaforge/.cache/pipeline-y67j70mliceo/file-6wt21sinahw9'
              at read (node:fs:1431:5)
              at readdirSyncRecursive (node:fs:1454:5)
              at Object.readdir (node:fs:1482:20)
              at Object.t.readdir (node:electron/js2c/node_init:2:10631)
              at node:internal/util:375:7
              at new Promise (<anonymous>)
              at Object.readdir (node:internal/util:361:12)
              at getDirectoryFilesRecursive (file:///Users/kaganrua/Desktop/zetaforge-github/zetaforge/frontend/server/fileSystem.js:134:28)
              at uploadDirectory (file:///Users/kaganrua/Desktop/zetaforge-github/zetaforge/frontend/server/s3.js:82:23)
              at file:///Users/kaganrua/Desktop/zetaforge-github/zetaforge/frontend/server/pipelineSerialization.js:285:9
      "errno": -2,
      "syscall": "scandir",
      "code": "ENOENT",
      "path": "/Users/kaganrua/Library/Application Support/zetaforge/.cache/pipeline-y67j70mliceo/file-6wt21sinahw9"
    }

Anvil logs:

[GIN] 2024/08/13 - 13:45:25 | 200 |   30.318172ms |             ::1 | GET      "/pipeline/filter?limit=100000&offset=0"
Handling connection for 8333
[GIN] 2024/08/13 - 13:45:25 | 200 |   15.022954ms |             ::1 | GET      "/pipeline/filter?limit=100000&offset=0"
[GIN] 2024/08/13 - 13:45:27 | 200 |      37.645µs |             ::1 | GET      "/ping"
Handling connection for 8333
Handling connection for 8333
Handling connection for 8333
Handling connection for 8333
Handling connection for 8333
Handling connection for 8333
Handling connection for 8333
[GIN] 2024/08/13 - 13:45:27 | 200 |    1.742452ms |             ::1 | POST     "/build-context-status"
Handling connection for 8333
Handling connection for 8333
Handling connection for 8333
Handling connection for 8333
Handling connection for 8333
Handling connection for 8333
Handling connection for 8333
Handling connection for 8333
Handling connection for 8333

Recording:

No response

Anything else?:

No response

@kaganAtZetane kaganAtZetane added the bug Something isn't working label Aug 13, 2024
@kaganAtZetane kaganAtZetane linked a pull request Aug 13, 2024 that will close this issue
@kaganAtZetane kaganAtZetane changed the title Cannot Rebuild pipelines on minikube cluster Rebuild button is broken Aug 13, 2024
@kaganAtZetane kaganAtZetane removed a link to a pull request Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant