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

[Tooling] DevUI Error Listing Traces #1733

Closed
i2amsam opened this issue Jan 31, 2025 · 5 comments
Closed

[Tooling] DevUI Error Listing Traces #1733

i2amsam opened this issue Jan 31, 2025 · 5 comments
Assignees
Labels
bug Something isn't working tooling
Milestone

Comments

@i2amsam
Copy link
Contributor

i2amsam commented Jan 31, 2025

Describe the bug
Error on the list traces page, "TypeError: Cannot read properties of undefined (reading 'content')"

console.log output from Devtoools

Fingerprinting protection active on the current page.Understand this warningAI
content_script_compiled.js:33 completePageInitializationIfReady_  {message: 'Could not establish connection. Receiving end does not exist.'}
traces:1 Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.Understand this errorAI
main-HC2E6P25.js:207 TypeError: Cannot read properties of undefined (reading 'content')
    at oO (main-HC2E6P25.js:197:57314)
    at mapTraceData (main-HC2E6P25.js:207:7226)
    at Array.map (<anonymous>)
    at t.<anonymous> (main-HC2E6P25.js:207:6545)
    at Generator.next (<anonymous>)
    at n (chunk-WWX6BADO.js:16:1380)
    at f.invoke (polyfills-YTAVFQFU.js:16:6443)
    at Object.onInvoke (chunk-ONSQURI2.js:22:29800)
    at f.invoke (polyfills-YTAVFQFU.js:16:6383)
    at t.run (polyfills-YTAVFQFU.js:16:1735)

To Reproduce
Start DevUI, navigate to "traces" tab on the left

Expected behavior
Able to list traces

Screenshots

Image

** Environment **

node -v && npx genkit --version
v20.11.1
1.0.0-rc.12
@i2amsam i2amsam added bug Something isn't working tooling labels Jan 31, 2025
@pavelgj pavelgj added this to the js-1.0.0 milestone Jan 31, 2025
@tonybaroneee
Copy link
Collaborator

tonybaroneee commented Jan 31, 2025

Sam, mind providing what the ListTraces response looks like from dev tools? ListTraces works fine in general, so this is specific to a trace that you have locally. It might be a special case trace that is throwing the component for a loop which will be interesting to learn.

@i2amsam
Copy link
Contributor Author

i2amsam commented Jan 31, 2025

Repo case is #1729 after failing to run a prompt or a tool get into that state

@i2amsam
Copy link
Contributor Author

i2amsam commented Jan 31, 2025

This is the output from listActions which seems to be the request that fails to parse

@tonybaroneee
Copy link
Collaborator

This is the output from listActions which seems to be the request that fails to parse

sweet, can you share that with me? 404'ing

@i2amsam
Copy link
Contributor Author

i2amsam commented Feb 4, 2025

validated fix in 1.0.0.rc15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tooling
Projects
Archived in project
Development

No branches or pull requests

3 participants