You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Use Lightwheel dev API endpoint to bypass failing public endpoint - #111
Lightwheel's public API endpoint has been down for over a day causing CI tests that load LW assets to fail. Override AutoData CI to use the dev api endpoint until the regular endpoint is back up.
Detailed description
Set AutoData CI to use https://api-dev.lightwheel.net and add TODO notes for removal once regular endpoint is back online.
Summary by CodeRabbit
Chores
Updated internal test configuration to use the development API endpoint for correctness checks and test runs. This change affects automated validation only; it does not change functionality available in the application.
No actionable comments were generated in the recent review.
Walkthrough
The test runner defaults LW_API_ENDPOINT to https://api-dev.lightwheel.net when no non-empty value is set. The native workflow sets the same endpoint for the correctness suite.
Changes: CI test endpoint
Layer / File(s)
Summary
Configure the test endpoint scripts/ci/run_tests.sh, .github/workflows/native.yml
The test runner forwards a non-empty LW_API_ENDPOINT value or uses the development endpoint as its default. The native correctness workflow sets that endpoint explicitly.
This change points CI at the Lightwheel dev endpoint while the public one is down. It only affects CI test runs, is easily reverted, and no concrete problem was found.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title names the main change: CI now uses the Lightwheel dev API endpoint instead of the public endpoint, which is down and breaks asset-loading tests. The change set matches this: the workflow and…
Description check
The description follows the template. The Summary section gives a short statement of the change, and the Detailed description section states the reason (public endpoint down for over a day, breaking C…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title names the main change: CI now uses the Lightwheel dev API endpoint instead of the public endpoint, which is down and breaks asset-loading tests. The change set matches this: the workflow and test script both set LW_API_ENDPOINT to https://api-dev.lightwheel.net with TODO notes for removal.
Full details: Description check
Explanation
The description follows the template. The Summary section gives a short statement of the change, and the Detailed description section states the reason (public endpoint down for over a day, breaking CI tests that load assets) and the change (dev endpoint override with TODO notes for removal). It does not explicitly describe the impact beyond restoring CI, and the Summary line is longer than the 50-character guideline in the template.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Reviewing files that changed from the base of the PR and between 6682537 and 0f52bd1.
Files selected for processing: 2
.github/workflows/native.yml
scripts/ci/run_tests.sh
Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 10 remain after this review.
This branch has not been deployed
No deployments
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
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.
Summary
Lightwheel's public API endpoint has been down for over a day causing CI tests that load LW assets to fail. Override AutoData CI to use the dev api endpoint until the regular endpoint is back up.
Detailed description
https://api-dev.lightwheel.netand add TODO notes for removal once regular endpoint is back online.Summary by CodeRabbit