Expand ci-env-info platform detection, add runtime/OS info#871
Open
theoephraim wants to merge 1 commit into
Open
Expand ci-env-info platform detection, add runtime/OS info#871theoephraim wants to merge 1 commit into
theoephraim wants to merge 1 commit into
Conversation
Add detection for Railway, AWS Amplify, Google Cloud Run, Deno Deploy, Zeabur, and Firebase App Hosting. Detect dev sandboxes (CodeSandbox, StackBlitz, GitHub Codespaces, Gitpod, Replit) with isCI: false. Add detectRuntime/detectOs and expose them as VARLOCK_RUNTIME/VARLOCK_OS builtin variables. Also fixes several incorrect env var names found during a std-env doc audit: GitHub Actions PR number (was reading a non-existent variable), GitLab MR number (was using the instance-wide ID instead of the IID), Netlify build URL (double https://), Semaphore PR number (Classic-only variable), Azure Pipelines PR number (prefers the GitHub-facing number), and Bitbucket repo owner (deprecated variable). Adds repo extraction for Bitrise. Wires up bumpy's cascadeFrom so ci-env-info changes bump varlock too.
Contributor
|
The changes in this PR will be included in the next version bump.
|
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
varlock-website | 4aa1be1 | Commit Preview URL Branch Preview URL |
Jul 08 2026, 07:12 AM |
commit: |
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.


Summary
isCI: falsesince they aren't a CI pipeline.detectRuntime/detectOsfor JS runtime (node/bun/deno/workerd/...) and OS detection, merged into everyCiEnvInforesult and exposed as newVARLOCK_RUNTIME/VARLOCK_OSbuiltin variables.std-envdoc audit: GitHub Actions PR number (was reading a non-existent variable, now correctly gated onGITHUB_REF), GitLab MR number (was using the instance-wide ID instead of the IID), Netlify build URL (was double-prefixinghttps://), Semaphore PR number (was a Classic-only variable), Azure Pipelines PR number (now prefers the GitHub-facing number), and Bitbucket repo owner (was a deprecated variable). Also adds repo extraction for Bitrise.cascadeFromso future@varlock/ci-env-info-only changes automatically bumpvarlocktoo, since it depends on the package directly.Test plan
bun run typecheckclean across the repopackages/ci-env-infotests: 42/42 passingpackages/varlocktests: 941/941 passingbun run lint:fixcleanastro buildfor the docs site succeedsbumpy status/bumpy checkconfirm the pending bump file covers both packages