Skip to content

gateway: stop building the front from a subshell#12037

Closed
Synar wants to merge 3 commits into
devfrom
ali/fix-storybook-build-failing-silently-in-ci
Closed

gateway: stop building the front from a subshell#12037
Synar wants to merge 3 commits into
devfrom
ali/fix-storybook-build-failing-silently-in-ci

Conversation

@Synar
Copy link
Copy Markdown
Contributor

@Synar Synar commented Jun 6, 2025

Shouldn't change behavior

The ci silently failing is unrelated, due to storybook failing silently itself when unable to read std in ^^'' (thanks to @Khoyo for figuring that out!)

@Synar Synar self-assigned this Jun 6, 2025
@Synar Synar requested a review from a team as a code owner June 6, 2025 18:25
@Synar Synar requested a review from a team as a code owner June 6, 2025 18:34
@github-actions github-actions Bot added the area:front Work on Standard OSRD Interface modules label Jun 6, 2025
@Synar Synar closed this Jun 6, 2025
@Synar Synar reopened this Jun 6, 2025
@Synar Synar force-pushed the ali/fix-storybook-build-failing-silently-in-ci branch from 5ddf59a to a0c80f6 Compare June 6, 2025 18:40
@Synar Synar closed this Jun 6, 2025
@Synar Synar reopened this Jun 6, 2025
@Synar Synar closed this Jun 6, 2025
@Synar Synar reopened this Jun 6, 2025
Synar added 2 commits June 6, 2025 21:01
This lead to the ci failing to build the front silently

Signed-off-by: Alice Khoudli <alice.khoudli@polytechnique.org>
@Synar Synar force-pushed the ali/fix-storybook-build-failing-silently-in-ci branch from a0c80f6 to 71d9966 Compare June 6, 2025 19:01
Comment thread gateway/Dockerfile Outdated
echo '<html><body><h1>No front, as this image was built for running it in dev mode</h1></body></html>' > build/index.html; \
else \
(npm run generate-licenses && npm run build); \
npm run generate-licenses && npm run build; \
Copy link
Copy Markdown
Contributor

@Khoyo Khoyo Jun 6, 2025

Choose a reason for hiding this comment

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

I'm not sure what the subshell would have to do with anything

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I should have marked this as draft haha
This was a guess at the issue,
I'm trying stuff and seeing what get the ci to fail and pass when it should ^^''

@Synar Synar marked this pull request as draft June 6, 2025 19:47
@Khoyo
Copy link
Copy Markdown
Contributor

Khoyo commented Jun 6, 2025

Superseded by #12041

@Khoyo Khoyo closed this Jun 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:front Work on Standard OSRD Interface modules

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants