Skip to content

Integrate UI with pypeline#197

Open
mrjackv wants to merge 5 commits intorevng:developfrom
mrjackv:feature/pypeline-integrate-ui
Open

Integrate UI with pypeline#197
mrjackv wants to merge 5 commits intorevng:developfrom
mrjackv:feature/pypeline-integrate-ui

Conversation

@mrjackv
Copy link
Contributor

@mrjackv mrjackv commented Mar 5, 2026

No description provided.

Comment on lines +16 to +17
pre_npm_install: |
cp -a "${ORCHESTRA_ROOT}/share/revng/pipeline/pipeline-description-schema.yml" .
Copy link
Contributor

Choose a reason for hiding this comment

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

Add a step in the installation of revng-ui which installs the
pipeline-description-schema.yml file.

Can you give me some context on this?

Copy link
Contributor Author

@mrjackv mrjackv Mar 6, 2026

Choose a reason for hiding this comment

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

Basically revng installs the schema which describes the data exposed through the GET /pipeline endpoint, on the revng-ui side I use json-schema-to-typescript to get a typescript type file (.d.ts) which makes navigating the output much easier (and can report breakage if we ever change the /pipeline output and forget to update revng-ui)

Copy link
Contributor

@aleclearmind aleclearmind Mar 6, 2026

Choose a reason for hiding this comment

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

The commit message speaks about "installing pipeline-description-schema.yml".

AFAIU you're just copying to the build directory here, not installing anything.

Wouldn't it be more appropriate to let the revng-ui build system know where revng is installed instead of this out-of-band thing?

Copy link
Contributor Author

@mrjackv mrjackv Mar 6, 2026

Choose a reason for hiding this comment

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

Eh, there isn't a "revng-ui build system", we re-use vscode_extension which basically does npm install && npm run package so IMHO there isn't much to do about it

mrjackv added 4 commits March 9, 2026 17:29
MkDocs version 2.0 has been announced and it includes breaking changes
for themes. Prevent 2.0 from being used to avoid any surprises in the
future.
Add `starlette` as an explicit dependency, until now it was installed as
part of `ariadne` but that dependency will be dropped soon.
Add a step in the installation of `revng-ui` which installs the
`pipeline-description-schema.yml` file.
@mrjackv mrjackv force-pushed the feature/pypeline-integrate-ui branch from bac7a52 to 96de165 Compare March 9, 2026 16:29
`ariadne` version 0.29.0 introduces breaking changes. Since this
dependency will be deprecated soon, pin it to the latest version without
the breaking change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants