Can’t connect to Sim
-- Sim couldn’t reach the server. Check your internet connection, then try again. -
-diff --git a/.github/workflows/desktop-e2e.yml b/.github/workflows/desktop-e2e.yml index eb5d1316f00..3ea5df89904 100644 --- a/.github/workflows/desktop-e2e.yml +++ b/.github/workflows/desktop-e2e.yml @@ -10,7 +10,11 @@ on: - '.github/workflows/desktop-e2e.yml' - '.github/workflows/desktop-release.yml' - 'apps/desktop/**' + - 'apps/sim/app/_styles/**' + - 'apps/sim/lib/postcss/**' + - 'apps/sim/postcss.config.mjs' - 'apps/sim/public/brand/fonts/**' + - 'packages/emcn/**' - 'packages/desktop-bridge/**' - 'packages/browser-protocol/**' - 'packages/terminal-protocol/**' diff --git a/.github/workflows/migrations.yml b/.github/workflows/migrations.yml index 0235a0b8342..faa2b464522 100644 --- a/.github/workflows/migrations.yml +++ b/.github/workflows/migrations.yml @@ -25,7 +25,8 @@ jobs: migrate: name: Apply Database Migrations runs-on: ${{ (vars.CI_PROVIDER == '' || vars.CI_PROVIDER == 'blacksmith') && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-latest' }} - timeout-minutes: 45 + # Bulk projection loads and concurrent index builds can outlast ordinary schema changes. + timeout-minutes: 300 steps: - name: Checkout code diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index 6ad195ff86d..5fccc030659 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -96,6 +96,7 @@ jobs: lib/auth/sim-auth-adapter.postgres.test.ts ee/scim/lib/managed-membership.postgres.test.ts lib/auth/sso/application/admit-sso-user.postgres.test.ts + lib/auth/sso/primary-provider.postgres.test.ts - name: Verify cumulative billing timeout recovery in PostgreSQL working-directory: apps/sim @@ -170,15 +171,23 @@ jobs: if-no-files-found: ignore retention-days: 7 - - name: Verify durable provenance bindings and concurrent memory writes + - name: Verify durable provenance, concurrent memory writes, and attachment replay working-directory: apps/sim env: TABLE_PROVENANCE_TEST_DATABASE_URL: postgresql://postgres:postgres@127.0.0.1:5432/sim_auth_scim MEMORY_PROVENANCE_TEST_DATABASE_URL: postgresql://postgres:postgres@127.0.0.1:5432/sim_auth_scim + AGENT_MEMORY_TEST_DATABASE_URL: postgresql://postgres:postgres@127.0.0.1:5432/sim_auth_scim run: >- bunx vitest run lib/table/rows/secret-provenance.postgres.test.ts lib/memory/message-provenance.postgres.test.ts + executor/handlers/agent/memory-harness.postgres.test.ts + + - name: Verify Search vector projection upgrade in PostgreSQL + working-directory: packages/db + env: + KNOWLEDGE_ACL_TEST_DATABASE_URL: postgresql://postgres:postgres@127.0.0.1:5432/sim_auth_scim + run: bunx vitest run script-migrations/0016_backfill_search_vectors.postgres.test.ts - name: Verify Search progress, pagination, and outbox scheduling in PostgreSQL working-directory: apps/sim diff --git a/apps/desktop/e2e/browser-tools.spec.ts b/apps/desktop/e2e/browser-tools.spec.ts index 55e8c7021de..d7edc1bf521 100644 --- a/apps/desktop/e2e/browser-tools.spec.ts +++ b/apps/desktop/e2e/browser-tools.spec.ts @@ -21,6 +21,7 @@ const FORM = `
+ {message} +
+ {detail ? ( ++ {detail} +
+ ) : null} +{copy.message}
++ {actionError || detail} +
++ Point this app at your own Sim deployment. Self-hosted servers must use HTTPS; localhost + may use HTTP. +
+- Sim couldn’t reach the server. Check your internet connection, then try again. -
-- Point this app at your own Sim deployment. Self-hosted servers must use HTTPS; localhost may - use HTTP. -
- - - -
- {JSON.stringify(cleanTextContent, null, 2)}
-
- ) : (
-
+ {JSON.stringify(cleanTextContent, null, 2)}
+
+ ) : (
+ {toggleLabel}
+- Choose your Slack workspace and approve Sim Search. + Add Sim Search to your Slack workspace to ask questions and get answers from your + connected sources.
-Just a normal paragraph.
' - expect(preserveConfluenceCallouts(html)).toContain('Just a normal paragraph.') + expect(confluenceViewToPlainText(html)).toContain('Just a normal paragraph.') }) it.concurrent('labels a built-in warning macro and keeps its body', () => { @@ -232,7 +231,7 @@ describe('preserveConfluenceCallouts', () => { '' + 'Do NOT use this form for GitLab access.
Heads up.
See also.
Pro tip.
GitLab access requests go to the private channel instead.
See replacement form.
See replacement form.
Untitled panel body.
Intro paragraph.
\n\n' + @@ -309,7 +308,7 @@ describe('preserveConfluenceCallouts', () => { 'Trailing paragraph.
' - const plainText = htmlToPlainText(preserveConfluenceCallouts(html)) + const plainText = confluenceViewToPlainText(html) expect(plainText).toContain('[WARNING] Do NOT use this form for: GitLab') expect(plainText).toContain('Intro paragraph.') expect(plainText).toContain('Trailing paragraph.') @@ -325,7 +324,7 @@ describe('preserveConfluenceCallouts', () => { 'Do NOT use this form for:
' + 'First sentence.
Second sentence.
' + 'Cell textafter quote |
This is unbelieveable.
' + 'Do not proceed!
Do NOT use this form.
' + 'inner body
Do not use this.
inner body
Do NOT use this form for:
GitLab
' + + 'Colored text
' + + '' + + 'After
' + expect(confluenceViewToPlainText(html)).toBe('Colored text After') + }) + + it.concurrent('keeps the word break a dropped script or style occupied', () => { + expect(confluenceViewToPlainText('BeforeAfter
')).toBe('Before After') + }) + + it.concurrent('treats a page holding only an app macro as having no text', () => { + const html = + 'Tracked in ' + + '' + + '' + + 'ENG-101 - ' + + 'Getting issue details... ' + + 'STATUS' + + ' and ' + + '' + + '' + + 'ENG-102 - ' + + '이슈 세부사항 가져오는 중... ' + + '상태' + + '.
' + expect(confluenceViewToPlainText(html)).toBe('Tracked in ENG-101 and ENG-102 .') + }) + + it.concurrent('falls back to the data attribute when the issue key link has no text', () => { + const html = + '' + + 'Getting issue details...' + + 'STATUS' + expect(confluenceViewToPlainText(html)).toBe('ENG-103') + }) + + it.concurrent('keeps the summary and status of a Jira issue macro Confluence resolved', () => { + const html = + '' + + '' + + 'Release notes
' + + '| type | key | summary |
|---|
| key | summary |
|---|---|
| ENG-104 | Update the runbook |