Repository navigation
v0.9.75: website served from simstudioai/site, self-hosting self-check, agent-guidance checks - #10785
Conversation
…hat proves a real install works (#10769) * feat(self-hosting): add an authenticated self-check and a helm test that proves a real install works * fix(self-hosting): fail-closed self-check, every database endpoint, and keep helm test pods for their logs * improvement(self-hosting): simpler self-check, logged failures, every DB pool, and helm test in the docs * improvement(self-hosting): share the release image list and fold upgrade notes * fix(self-hosting): probe metadata directly, cover IPv6 IMDS, and classify IPv6 loopback numerically * fix(self-hosting): keep a metadata 200 when its body fails to read
…erence tables, and remove duplication (#10779) * docs(self-hosting): collapse the self-hosting guide, generate the reference tables, and remove duplication * fix(docs): www links and stricter env-name declarations for the self-hosting lint
…ite (#10759) * chore(landing): remove the public website now served by simstudioai/site The marketing site moved to its own static service. The load balancer sends its paths there (simstudioai/infra#594), so the platform stops serving them and keeps only what it must answer. - / stays platform-owned: a session cookie hint goes to the app entry, self-hosted deployments go to sign-in, and anonymous Sim Cloud visitors get the website's homepage from LANDING_INTERNAL_ORIGIN through a bounded private fetch (5 s, 2 MiB, HTML only, no redirects, no upstream cookies, no visitor headers forwarded) with a minimal sign-in fallback page. - /integrations/* redirects to each integration's docs page, by catalog, docs or retired slug, alongside the /models redirects from the docs move. - Removes the (landing) route group, blog/library/changelog/customer content and assets, sitemap, robots, llms.txt, feeds, Markdown negotiation, the contact and integration-request APIs, landing-only libs, scripts, CI jobs, dependencies, CSP allowances (Cal.com, X pixel, changelog media) and the Docker content copy. Keeps /api/demo-requests, short links, icons (adds /apple-touch-icon.png), share-preview font and email assets. - Legal links now point at the website, since self-hosted no longer serves those pages. * chore(landing): remove exports, icons and deps the website left unused knip found the marketing-only icons, emcn and renderer exports, root devDependencies and the cookie-preferences trigger that only the landing used. The MCP host e2e no longer expects the Markdown 404, which left with the website. * fix(landing): harden the homepage bridge and keep what old links still load - The website's page policy is carried over only when it is the single policy and keeps script-src (or default-src) free of 'unsafe-inline', 'unsafe-eval', *, data: and http:; a missing, repeated or unsafe policy, or an empty page, falls back to the sign-in page. No copy of the policy lives here any more. - The homepage is cached for a minute in one lru-cache entry, concurrent misses share one fetch, and the last good page is served for up to an hour while the website fails. Failures log at most once a minute and the 503 fallback logs as a degraded response, not a server error. - The proxy runs its scanner filter before handing / to the route. - Restores robots.txt for self-hosted deployments and hosts the website does not answer, the newsletter hero artwork (with its immutable cache rule), and keeps the IndexNow key. - The Slack docs page carries the App Directory install steps, privacy line and paid-plan AI disclaimer that /integrations/slack used to show. - Settings' Sim home button navigates by document, since / is outside the app router; the mobile e2e expects self-hosted to land back in the app. * feat(landing): serve the website's Markdown homepage to clients that ask A GET or HEAD of / whose Accept names text/markdown at a nonzero quality gets the website's /index.md through the same bridge (private fetch, no visitor data, size and time bounds, no redirects or cookies), checked as text/markdown instead of HTML and cached in its own entry. It carries Link: <https://www.sim.ai/>; rel="canonical", and every answer at / varies on Accept and Cookie. text/markdown;q=0 keeps the HTML page. * chore(landing): remove what only the website used and rename its e2e - Drops the website-only PostHog events, hero animations, auth button and landing theme tokens, the landing workflow seed and its home branch, the unused LandingPromptStorage.hasPrompt, README-era static GIFs and the unused landing logo; keeps the logo, newsletter images and IndexNow key that delivered emails and the site still load. - The proxy now runs for /enterprise/claim (its CSP and indexing policy); the matcher no longer skips paths that have no files. - Enterprise claims and GitHub knowledge setup keep their light theme. - The landing workflow templates move to the corpus test fixtures. - The seo e2e group becomes public-routes and also checks the IndexNow key. - Drops the CI prerender assertion for blog and library posts and updates stale comments and docs that described the website. * fix(landing): never make visitors wait on a stale homepage, and log why - A homepage over a minute old is served at once while one background refresh runs (allowStale), so a hanging website no longer delays every visitor; past the hour cap the visitor waits for a refresh instead of getting a 503 when the website has recovered. - A Markdown request falls back to the HTML homepage when the website has no Markdown copy or it fails; the 503 is served only when HTML fails too. - The page-policy check also covers script-src-elem and script-src-attr and refuses bare scheme sources and wildcard hosts; the site's production policy is a passing fixture. - The real refusal reason is logged for a cold failure and for a stale serve, with separate throttles for unavailable, stale and Markdown. * fix(landing): type the homepage cache status with its context lru-cache's Status takes the key, value and fetch-context types. * fix(landing): keep the website's indexing directives at / The website's X-Robots-Tag (noindex on a non-indexable build) now reaches the HTML and Markdown answers at /, so the homepage isn't indexable there while the website's own copy isn't. Only known directives pass; a header with anything else is dropped. * feat(docs): give integration pages the search wording the website pages had The website's /integrations/* addresses now redirect to the docs, so the docs pages keep what made those pages rank: - Each integration page's title reads "<Name> integration for AI agents" (or the hand-tuned title the website used, such as GitHub's and Apollo's), with the website's catalog-built description. - Each page ends with the website's FAQ, built from the catalog (tools, triggers, auth) or the hand-tuned one, shown on the page and as FAQPage structured data. New integrations get both with no extra step. - The integrations index lists every integration by category with the catalog totals, and carries the website's five catalog questions. - A test checks every former integration address redirects to a docs page that exists. * fix(docs): register the integration catalog component and give it a Markdown form The docs compiler allows only listed MDX components; the catalog now is one, and the Markdown copy of the integrations index lists the same categories and integrations. * fix(docs): compile the integration catalog and FAQs as page content - The integrations index's catalog and each integration page's FAQ are expanded into the page's Markdown at compile time, so they are in the table of contents, the anchor and link checks, the Markdown copy, llms-full.txt and search, each under its own section. FAQPage structured data stays, and TechArticle uses the search description. - The compile cache now invalidates when the catalog, its totals or the integration SEO data change. - The index description states the counts correctly. - The route test for indexing directives checks an allowlisted directive passes through. * fix(docs): keep evaluation models out of model FAQ answers and say retired models are listed for reference * fix(docs): mention cached input cost only for models that publish one * fix(docs): name only priced models as cheapest and format near-million counts as 1M * fix(docs): say a model's pricing is unpublished instead of listing it at $0 * chore(ci): format the CI plan query * test(docs): give the catalog compile tests room for the compiler's cold start
Turn enforceable agent-guidance rules into checks (registry invariants, source audits, exhaustive types, sandbox and permission-group tests) and correct the guidance lines they make false.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
|---|---|---|---|---|---|
| 28185370 | Triggered | Generic High Entropy Secret | 9df5008 | apps/sim/lib/workflows/code/corpus/fixtures/templates/customer-feedback-digest-2a1c59de-fdcc-4ae0-b448-69a58b36c29a.json | View secret |
| 28185369 | Triggered | Generic High Entropy Secret | 9df5008 | apps/sim/lib/workflows/code/corpus/fixtures/templates/brand-mention-d2578496-d153-4db1-8ef1-c738cfa94a96.json | View secret |
| 28185368 | Triggered | Generic High Entropy Secret | 9df5008 | apps/sim/lib/workflows/code/corpus/fixtures/templates/brand-mention-d2578496-d153-4db1-8ef1-c738cfa94a96.json | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secrets safely. Learn here the best practices.
- Revoke and rotate these secrets.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
There was a problem hiding this comment.
All reported issues were addressed across 1705 files
Note: This PR contains a large number of files. cubic selects up to 200 of the highest-priority eligible files for this review, so some files may not have been reviewed.
Turn on auto-fix | Re-trigger cubic
Drop two non-barrel-reexport baseline entries for blog files deleted by #10759; regenerated with --update, no other counts change.
… in a new tab, and rebuild docs on catalog changes (#10788) * fix(landing): keep the website's noindex at /, open the cookie policy in a new tab, and rebuild docs on catalog changes - readRobotsTag still passes the website's X-Robots-Tag only when every directive is known, but a header with an unknown directive now keeps a noindex (or none, also when scoped to one crawler) as a plain noindex, so / can only end up stricter than the website asked. - The consent banner's Cookie Policy link now leaves for the website, so it opens in a new tab like the settings link, keeping the visitor's place. - compile-content's pipeline inputs are one module list that keys the cache and drives --watch, so edits to the integration FAQ overrides and catalog rebuild, including the deployment-config files outside the docs tree. * fix(landing): read a max-* limit's none as a limit, not a noindex max-image-preview:none only turns off image previews; the noindex fallback matched its trailing :none and would have kept / out of the index when such a header also carried an unknown directive. A noindex or none now counts alone or after a crawler name, never as a max-* limit's value.
… policies, and tidy what the website move left (#10789) * fix(landing): hold homepage failures briefly, refuse framable website policies, and tidy what the website move left - With no homepage copy to serve, a fetch failure from the last ten seconds answers for itself, so a website that is down does not hold each visitor for the full timeout before the fallback page. - The website's page policy is refused if its frame-ancestors allows any origin but this one, since it would override the route's X-Frame-Options. - AuthLegal requires its Terms and Privacy links; its /terms and /privacy defaults pointed at pages the platform no longer serves. - The integration docs slug uses the shared stripVersionSuffix, and the docs compile cache and --watch also key on the @sim/utils modules the integration pages render from. - Comments that still described the removed landing now describe the root route and auth shell. * test(landing): drop a mock restore the shared Vitest config already makes
…mpose file, and correct the last doc gaps (#10786) * fix(self-hosting): let sim-setup update adopt a manually installed compose file, and correct the last doc gaps * fix(docs): escape backslashes before pipes in generated self-hosting tables * fix(sim-setup): pull latest images on every k8s start, and drop a now-used export from the baseline * fix(self-hosting): fit the self-check to cold EKS Nitro starts, schedule pre-pull where sandboxes run, and keep sandboxes from consolidation * fix(self-hosting): honor renamed runtime classes, digest pins, and selector conflicts * fix(sim-setup): keep realtime and migrations on the app's pinned release, and pass image tags as strings
Uh oh!
There was an error while loading. Please reload this page.