Skip to content

Commit edf5f0a

Browse files
authored
v0.9.58: integration validation sweep, desktop quick chat, faster knowledge and file lists
2 parents 50dd74c + eaed9a1 commit edf5f0a

933 files changed

Lines changed: 86748 additions & 9169 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/ci-suites.json‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@
4343
{
4444
"group": "project-files",
4545
"task": "ci:e2e-project-files"
46+
},
47+
{
48+
"group": "markdown-viewer",
49+
"task": "ci:e2e-markdown-viewer"
4650
}
4751
],
4852
"production": [

‎.github/scripts/ci-plan.gql‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ query($base: String!, $head: String!) {
55
"ci:e2e-scim", "ci:e2e-cli", "ci:e2e-stop-after", "ci:e2e-desktop-inbox",
66
"ci:e2e-assistant-actions", "ci:e2e-organization-search",
77
"ci:e2e-docs-platform",
8-
"ci:e2e-browser-extension", "ci:e2e-project-files", "ci:e2e-mobile", "ci:e2e-seo"
8+
"ci:e2e-browser-extension", "ci:e2e-project-files", "ci:e2e-mobile", "ci:e2e-seo",
9+
"ci:e2e-markdown-viewer"
910
]) {
1011
items {
1112
name

‎.github/scripts/http-e2e.sh‎

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# CI groups, which reuse the production build from `e2e-build`.
44
# The job extracts it into apps/sim/.next before running these suites.
55
#
6-
# Usage: http-e2e.sh <scim|cli|stop-after|desktop-inbox|assistant-actions|organization-search|browser-extension|browser-extension-native|browser-extension-navigation|browser-extension-composer|browser-extension-access|project-files|mobile|seo> (run from apps/sim)
6+
# Usage: http-e2e.sh <scim|cli|stop-after|desktop-inbox|assistant-actions|organization-search|browser-extension|browser-extension-native|browser-extension-navigation|browser-extension-composer|browser-extension-access|project-files|markdown-viewer|mobile|seo> (run from apps/sim)
77
#
88
# The job provides DATABASE_URL, BETTER_AUTH_SECRET and ENCRYPTION_KEY; each group sets the rest of
99
# its app's environment here. Reports and server logs land in $RUNNER_TEMP/e2e.
@@ -20,7 +20,7 @@
2020
# telemetry flush runs detached and still writes .next/dev).
2121
set -euo pipefail
2222

23-
group=${1:?usage: http-e2e.sh <scim|cli|stop-after|desktop-inbox|assistant-actions|organization-search|browser-extension|browser-extension-native|browser-extension-navigation|browser-extension-composer|browser-extension-access|project-files|mobile|seo>}
23+
group=${1:?usage: http-e2e.sh <scim|cli|stop-after|desktop-inbox|assistant-actions|organization-search|browser-extension|browser-extension-native|browser-extension-navigation|browser-extension-composer|browser-extension-access|project-files|markdown-viewer|mobile|seo>}
2424
report_dir="$RUNNER_TEMP/e2e"
2525
ready_timeout_seconds=600
2626
mkdir -p "$report_dir"
@@ -315,6 +315,22 @@ JS
315315
bun --no-env-file scripts/test-project-files-e2e.ts
316316
;;
317317

318+
markdown-viewer)
319+
app_server=start
320+
export NEXT_PUBLIC_FORCE_HOSTED=false
321+
export INTERNAL_API_SECRET=markdown-viewer-http-ci-local-secret-at-least-32-characters
322+
export NEXT_PUBLIC_SOCKET_URL=http://127.0.0.1:3027 SOCKET_SERVER_URL=http://127.0.0.1:3027
323+
start_browser_install markdown-viewer --only-shell chromium webkit
324+
start_app markdown-viewer 3026 'Markdown viewer' record-http-status
325+
start_realtime markdown-viewer 3027
326+
wait_for_browsers
327+
MARKDOWN_VIEWER_E2E_BASE_URL="$NEXT_PUBLIC_APP_URL" \
328+
MARKDOWN_VIEWER_E2E_DATABASE_URL="$DATABASE_URL" \
329+
MARKDOWN_VIEWER_E2E_AUTH_SECRET="$BETTER_AUTH_SECRET" \
330+
MARKDOWN_VIEWER_E2E_REPORT_PATH="$report_dir/markdown-viewer-ui-report.json" \
331+
bun run test:markdown-viewer:e2e
332+
;;
333+
318334
# MOBILE_E2E_BROWSER (chromium or webkit) narrows the job to one browser; unset runs both.
319335
mobile)
320336
app_server=start

‎.github/workflows/checks.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@ jobs:
312312
${{ runner.temp }}/e2e/**/*.json
313313
${{ runner.temp }}/e2e/browser-extension*/**/*.png
314314
${{ runner.temp }}/e2e/*-ui-report.json.artifacts/*.png
315+
${{ runner.temp }}/e2e/markdown-viewer-ui-report.json.artifacts/fixture.md
315316
if-no-files-found: ignore
316317
retention-days: 7
317318

‎CLAUDE.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ Build order **Tools** → **Block** → **Icon** → optional **Trigger**, from
6060

6161
- **Tool IDs are `snake_case`** (`service_action`), registered in `tools/registry.ts`; blocks register alphabetically in `blocks/registry-maps.ts`.
6262
- **Type coercions go in `tools.config.params`** (runs at execution), never `tools.config.tool` (runs at serialization, where `Number()` destroys `<Block.output>` references).
63+
- **Requests made for a workspace use `outboundFetch`** (`@/lib/core/network/outbound-fetch.server`), never the global `fetch` or another imported `fetch`, so an organization with a dedicated egress gateway keeps its static IPs; `check:organization-egress` enforces this, and a request that rightly goes direct (Sim's own infrastructure, an operator-local server) takes `// egress-direct: <reason>`. AWS SDK clients signing with customer credentials take `organizationAwsRequestHandler()`: no audit catches a missing one, so reviewers check it.
6364
- A surface listing integrations to a viewer reads `useIntegrationAccess`, never a raw catalog (`check:integration-access`).
6465
- Table column types are registry entries in `apps/sim/lib/table/column-types/`; never add a per-type `case` elsewhere except the one documented import-path switch (`coerceValue` in `lib/table/import.ts`), which every new type extends: a missed arm fails silently. Use `/add-column-type`.
6566

0 commit comments

Comments
 (0)