Repository navigation
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The readiness pattern does not match the http://127.0.0.1:7081 address advertised by the test and live servers, preventing them from being detected as ready.
1 open issue
What changed in this PR
Adds repository-level Copilot app configuration for starting Simorgh servers with consistent dependency setup and readiness detection.
Changes:
- Adds manual launch scripts for development, test, and live servers.
- Installs dependencies before launching, and builds test/live configurations before starting.
- Configures readiness detection using the server URL on port 7081.
| File | Description |
|---|---|
.github/github-app.yml |
Defines server launch commands and the readiness URL pattern. |
Review effort: Balanced
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
The test and live builds point static assets at the CDN, only copy CSS into the standalone output and log to /var/log/simorgh, so they fail or render without client-side JS when started locally. Replace them with the local production build and the test/live toggle dev servers, and install from the workspace root with --immutable so the lockfile is not changed.
The Copilot app reads capture group 1 of server_ready_pattern as the server URL, so restore the group. Install dependencies once on session.create rather than in every run script, and add a manual script to free port 7081, which every workspace shares.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Resolves JIRA: N/A
Summary
Adds repository-level Copilot app configuration so contributors can start the development, test, and live Simorgh servers from the app with consistent dependency setup and readiness detection.

Code changes
yarn installbefore each server command.http://localhost:7081.Useful Links