Repository navigation
Launch copy: the server is open source and written in Laravel Rust (sc-8900) - #79
Draft
ndbroadbent wants to merge 3 commits into
Draft
ndbroadbent wants to merge 3 commits into
ndbroadbent wants to merge 3 commits into
Conversation
…nd the open source answer say the server is written in Laravel Rust; self-hosting describes app/'s binary, migrate and key:generate, APP_KEY, the S3 options and the four host URLs
VisualCIdocspring/visualci · build #331 · 4 changed, 327 unchanged · waiting for review This PR vs base: 4 changed since #273, across 2 builds · 4 not approved yet
Updated as builds change. Agents can review with VisualCI's MCP tools. |
…SSUER and OAUTH_AUTHORIZATION_ENDPOINT matching), as app/'s boot checks require (#63)
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.
Launch copy for the Laravel Rust server (sc-8900). Draft: merge at cutover, after the new server is live, never before.
Only what's false or changed after cutover; everything still true is left as it is.
app/. The binaryvisualci-appserves by default,visualci-app migrateruns migrations (they no longer run when the server starts) andkey:generatemakes anAPP_KEY.DB_CONNECTION=pgsqladded next toDATABASE_URL.S3_REGIONandS3_PUBLIC_ENDPOINTare added as optional.JWT_SECRETis replaced byAPP_KEY.PUBLIC_URLis replaced by the four host URLs (VISUALCI_SITE_URL,_APP_URL,_API_URL,_MCP_URL).app/src/config.rs,app/src/http/hosts.rsand laravel-rust 0.1.4's commands.The root README doesn't describe the server's stack or how to run it, so it's unchanged.
TODO before merging (app/ doesn't do these yet, so the docs keep today's text)
docker/server.Dockerfilebuilds the Locoserver/. Point it, or the docs, at whatever buildsapp/.RENDERER_TOKENandRENDERER_VERSIONkeep their names inapp/.GITHUB_CLIENT_IDandGITHUB_CLIENT_SECRET(sc-8900 says a forge appears only when both are set) andGITHUB_APP_ID.VISUALCI_GITLAB_CLIENT_ID,_CLIENT_SECRET,_BOT_TOKENandVISUALCI_SECRETS_KEY. Add these to the table if self-hosters can use GitLab.OAUTH_ISSUERandOAUTH_AUTHORIZATION_ENDPOINTare documented for the four-host setup, fromapp/src/auth/oauth.rs(checked only when the host URLs are set).TRUSTED_PROXIES, if a self-hoster behind a load balancer needs it.visualci-app work(the queue) alongsideserve? Say so under "What it needs" once the jobs are ported.app/src/http/hosts.rs's boot check (app/: routing by hostname, hardened (sc-8900) #63). With none of the four host URLs set,APP_URLserves everything. With all four, each needshttps://and a different host, and production refuses a partial set.server/README.mdandserver/AGENTS.mddescribe the Loco server. They go withserver/at cutover; that's the porting sessions' job, not this PR's.VisualCI/marketing-kit/facts.md: mark the Laravel Rust line live once this merges.