Skip to content

feat: Add clp-ffi-js to log-viewer.#1

Merged
Bill-hbrhbr merged 25 commits intoy-scope:mainfrom
Bill-hbrhbr:v2-add-clp-ffi-js
Apr 13, 2026
Merged

feat: Add clp-ffi-js to log-viewer.#1
Bill-hbrhbr merged 25 commits intoy-scope:mainfrom
Bill-hbrhbr:v2-add-clp-ffi-js

Conversation

@Bill-hbrhbr
Copy link
Copy Markdown

Now that structured logging can emit CLP archives, this PR adds UI support for loading and parsing CLP archives in the log viewer.

We merge this PR first instead of meta-pytorch#369.

Copy link
Copy Markdown
Member

@junhaoliao junhaoliao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the rest lgtm

Comment thread website/src/utils/dataLoader.ts Outdated
Comment thread website/src/utils/dataLoader.ts Outdated
Comment thread website/src/utils/dataLoader.ts Outdated
Comment thread website/src/utils/dataLoader.ts
Comment thread website/src/utils/dataLoader.ts
Comment thread website/package-lock.json Outdated
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.1",
"autoprefixer": "^10.4.27",
"clp-ffi-js": "^0.7.0-beta.2",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clp-ffi-js should be added into (runtime) "dependencies" than into "devDependencies"

some "peer": true attributes of other dependencies are removed from package-lock.json because of that.

To fix the package.json and package-lock.json, let's run:

git checkout origin/main -- package.json package-lock.json
npm i clp-ffi-js@^0.7.0-beta.2

@Bill-hbrhbr Bill-hbrhbr requested a review from junhaoliao April 13, 2026 17:56
Copy link
Copy Markdown
Member

@junhaoliao junhaoliao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

final batch of comments

Comment thread website/src/components/DataSourceSelector.tsx Outdated
Comment thread website/src/components/WelcomeScreen.tsx Outdated
Comment thread website/src/components/WelcomeScreen.tsx Outdated
Comment thread website/src/components/DataSourceSelector.tsx Outdated
Comment thread website/src/utils/dataLoader.ts
Comment thread website/src/utils/dataLoader.ts Outdated
Bill-hbrhbr and others added 2 commits April 14, 2026 04:55
Co-authored-by: Junhao Liao <junhao@junhao.ca>
@Bill-hbrhbr Bill-hbrhbr requested a review from junhaoliao April 13, 2026 21:23
@Bill-hbrhbr Bill-hbrhbr merged commit d8a1914 into y-scope:main Apr 13, 2026
@Bill-hbrhbr Bill-hbrhbr deleted the v2-add-clp-ffi-js branch April 13, 2026 21:25
@Bill-hbrhbr Bill-hbrhbr restored the v2-add-clp-ffi-js branch April 13, 2026 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants