Skip to content

docs(platform): connector guides and manual suite list 13 connectors; GlitchTip and Jev decisions missing #3716

Closed

Description

@yannickmonney

P3 · Reproduced locally at d351611bdd942ffeed758147ccaf57e70877125a (origin/main, 2026-09-28).

The Add credential picker offers 15 connectors. The connector guides and the manual suite, which the repo contract makes the behaviour oracle, still describe 13.

Where the docs and the app disagree

  • Connector tables. docs/{en,de,fr}/platform/connectors/overview.md list 13 connectors, without GlitchTip or Jev decisions.
  • Screenshot captions. The captions say "the thirteen shipped connectors" / "die dreizehn mitgelieferten Connectoren" / "les treize connecteurs livrés" (overview.md:38).
  • Instance URL guidance. The admin guide names an instance address only "For Confluence … For Shopify …" (admin/connectors.md:24). GlitchTip's form requires one (Name / Token / Instance URL). The overview's "Confluence and Shopify require an Instance URL per credential" is incomplete.
  • Automation guide cross-check. automations/builtin.md:46 sends admins to Settings → Connectors for GlitchTip ("needs its instance URL and a token with project:read and event:read"). The connector guide it relies on never mentions GlitchTip.
  • Manual suite. services/platform/tests/manual/suites/connectors.md says the picker "offers 13 vendors" (line 41) and CONN-F3 expects "13 vendors in one list" (line 88). A round following it reports a false failure.

Expected: The catalog pages (EN/DE/FR), the instance-URL guidance and the manual suite match what the picker ships, including what GlitchTip and Jev decisions do, how they authenticate (GlitchTip: token + instance URL; Jev decisions: an OpenRouter API key), and their read/write effects.

Actual: See the frozen output.

User impact

Admins who follow the documented catalog cannot find what GlitchTip or Jev decisions are for, what credential they need, or that GlitchTip needs an instance origin. The only GlitchTip guidance sits in the automation guide. Manual QA rounds that follow CONN-F3 fail on a correct catalog.

Executable local proof

probes/proof-docs-catalog.cjs (below) compares the deployed picker catalog (GET /api/app/connector-credentials/catalog for a fresh synthetic organization) with the three guide tables, reads the captions and the suite, and opens GlitchTip's step 2 in Chromium. Frozen output at d351611bd:

catalog offered to the picker (15): Confluence, Discord, GitHub, GlitchTip, Gmail, Google Drive, IMAP / SMTP Mailbox, Jev decisions, Microsoft Outlook, Microsoft Teams, Shopify, Slack, Tavily, Twilio, WebDAV Files
docs/en/platform/connectors/overview.md table rows (13); missing from it: ["GlitchTip","Jev decisions"]; caption: "Add credential opens on the catalog — the thirteen shipped connectors,…"
docs/de/platform/connectors/overview.md table rows (13); missing from it: ["GlitchTip","Jev decisions"]; caption: "Zugangsdaten hinzufügen öffnet den Katalog — die dreizehn mitgeliefert…"
docs/fr/platform/connectors/overview.md table rows (13); missing from it: ["GlitchTip","Jev decisions"]; caption: "Ajouter des identifiants s’ouvre sur le catalogue — les treize connect…"
manual suite: ["offers **13**","13 vendors in one list"]
GlitchTip step 2 fields: ["Name","Token","Instance URL"]
admin docs name an instance address for: ["For Confluence, use the Atlassian site origin","For Shopify, use the store's `myshopify"]

Mocked boundary

None for this check. The catalog is the repo's own configs/platform/system/connectors as served by the backend. In the audit stack, only the OAuth URLs of five connectors were re-pointed at a loopback fake, which changes no name or count.

Local stack (loopback only): a detached worktree of d351611bd with bun install --frozen-lockfile; a fresh PostgreSQL 16.13 + pg_search 0.22.6 + pgvector 0.8.1 cluster bootstrapped like the tale-db image plus services/db/init-scripts; the backend from services/platform (node --experimental-transform-types --import ./backend/node-loader.mjs backend/main.ts, TALE_ROLE=all, PORT=3005, SITE_URL=http://localhost:3000, an empty TALE_CONFIG_DIR, TALE_CONFIG_BUILTIN_DIR=configs/platform/custom, TALE_DEV_SEED_USER=1, TALE_ALLOW_OPEN_SIGN_UP=true, locally generated ENCRYPTION_SECRET_HEX/BETTER_AUTH_SECRET); the SPA via TALE_BACKEND_URL=http://127.0.0.1:3005 bunx --bun vite --port 3000; Chromium 141 driven by the worktree's playwright-core 1.58.2. The backend ran with NODE_USE_ENV_PROXY=1 HTTPS_PROXY=HTTP_PROXY=http://127.0.0.1:9 NO_PROXY=127.0.0.1,localhost,::1, so every non-loopback fetch failed at a dead proxy: no real provider, mailbox or external service was reachable. Each proof mints its own synthetic organization through POST /api/auth/sign-up/email + POST /api/auth/organization/create.

Deduplication

probes/lib.cjs (shared helpers)
// Shared helpers for the TALE-78 local audit probes. Everything targets the local stack only:
// SPA http://localhost:3000 (proxying /api to the backend on :3005), fake vendor https://127.0.0.1:4443.
const { chromium } = require('/agent/.runtime/home/scratch/tale78/tale/node_modules/playwright-core');
const fs = require('node:fs');
const BASE = 'http://localhost:3000';
const ORIGIN = { origin: BASE };
const PW = 'TaleAudit!Passw0rd';
const USERS = {
  owner: { email: '[email protected]', password: 'TaleDev!Passw0rd' },
};
async function launch() {
  return chromium.launch({ executablePath: '/opt/ms-playwright/chromium-1194/chrome-linux/chrome', headless: true });
}
async function newContext(browser, opts = {}) {
  const context = await browser.newContext({ baseURL: BASE, ignoreHTTPSErrors: true, serviceWorkers: 'block', viewport: opts.viewport ?? { width: 1280, height: 900 }, locale: 'en-US' });
  return context;
}
async function signIn(context, who) {
  const u = typeof who === 'string' ? (USERS[who] ?? { email: who, password: PW }) : who;
  const r = await context.request.post('/api/auth/sign-in/email', { data: { email: u.email, password: u.password }, headers: ORIGIN });
  if (!r.ok()) throw new Error(`sign-in ${u.email} -> ${r.status()} ${await r.text()}`);
  return r.json();
}
async function api(context, method, path, data) {
  const r = await context.request.fetch(path, { method, data, headers: ORIGIN });
  let body = null;
  const text = await r.text();
  try { body = JSON.parse(text); } catch { body = text; }
  return { status: r.status(), body };
}
function watch(page, sink) {
  page.on('console', (m) => { if (['error', 'warning'].includes(m.type())) sink.push(`[console.${m.type()}] ${m.text().slice(0, 300)}`); });
  page.on('pageerror', (e) => sink.push(`[pageerror] ${String(e).slice(0, 300)}`));
  page.on('response', (r) => { if (r.status() >= 400 && r.url().includes('/api/')) sink.push(`[http ${r.status()}] ${r.request().method()} ${r.url().replace(BASE, '')}`); });
}
const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
module.exports = { launch, newContext, signIn, api, watch, sleep, BASE, ORIGIN, PW, USERS, fs };

// ---- fresh synthetic organizations for self-contained proofs ------------------------------------
async function freshOrg(browser, label) {
  const stamp = `${label}-${Date.now().toString(36)}`;
  const email = `proof-${stamp}@tale.test`;
  const ctx = await newContext(browser);
  const su = await api(ctx, 'POST', '/api/auth/sign-up/email', { email, password: PW, name: `Proof ${label}` });
  if (su.status !== 200) throw new Error(`sign-up ${email}: ${su.status} ${JSON.stringify(su.body)}`);
  const org = await api(ctx, 'POST', '/api/auth/organization/create', { name: `Proof ${stamp}`, slug: `proof-${stamp}` });
  if (org.status !== 200) throw new Error(`org create: ${org.status} ${JSON.stringify(org.body)}`);
  await api(ctx, 'POST', '/api/auth/organization/set-active', { organizationId: org.body.id });
  return { ctx, orgId: org.body.id, email, stamp };
}
async function addMember(browser, owner, role) {
  const email = `proof-${owner.stamp}-${role}@tale.test`;
  const ctx = await newContext(browser);
  const su = await api(ctx, 'POST', '/api/auth/sign-up/email', { email, password: PW, name: `Proof ${role}` });
  const add = await api(owner.ctx, 'POST', `/api/app/members?orgId=${owner.orgId}`, { userId: su.body.user.id, role });
  if (add.status !== 200) throw new Error(`add member ${role}: ${add.status} ${JSON.stringify(add.body)}`);
  return { ctx, email, memberId: add.body.memberId };
}
const creds = async (ctx, orgId) => (await api(ctx, 'GET', `/api/app/connector-credentials?orgId=${orgId}`)).body.credentials;
const vendorControl = (q) => fetch(`https://127.0.0.1:4443/control?${q}`).then((r) => r.json());
const toasts = async (page) => (await page.locator('[role="region"] li').allInnerTexts()).map((s) => s.replace(/\s*\n+\s*/g, ' ').trim()).filter(Boolean);
const focusedDesc = (page) => page.evaluate(() => { const e = document.activeElement; if (!e || e === document.body) return 'BODY'; return `${e.tagName.toLowerCase()} "${(e.getAttribute('aria-label') || e.innerText || '').trim().split('\n')[0].slice(0, 50)}"`; });
Object.assign(module.exports, { freshOrg, addMember, creds, vendorControl, toasts, focusedDesc });
probes/proof-docs-catalog.cjs
// PROOF: the Add credential picker offers 15 connectors; the connector docs (EN/DE/FR) and the manual suite describe 13.
// GlitchTip (needs an Instance URL, like Confluence/Shopify) and Jev decisions are missing from the catalog page.
const L = require('./lib.cjs');
const fs = require('node:fs');
const REPO = '/agent/.runtime/home/scratch/tale78/tale';
(async () => {
  const browser = await L.launch();
  const owner = await L.freshOrg(browser, 'docs');
  const o = owner.orgId;
  const cat = await L.api(owner.ctx, 'GET', `/api/app/connector-credentials/catalog?orgId=${o}`);
  const shipped = (cat.body.connectors ?? cat.body).map((c) => c.displayName).sort();
  console.log(`catalog offered to the picker (${shipped.length}): ${shipped.join(', ')}`);
  for (const lang of ['en', 'de', 'fr']) {
    const md = fs.readFileSync(`${REPO}/docs/${lang}/platform/connectors/overview.md`, 'utf8');
    const rows = md.split('\n').filter((l) => /^\| [^-|]/.test(l)).slice(1).map((l) => l.split('|')[1].trim());
    const missing = shipped.filter((n) => !rows.some((r) => r.toLowerCase().includes(n.split(' ')[0].toLowerCase())));
    const caption = (md.match(/<Frame caption="([^"]+)"/) ?? [])[1] ?? '';
    console.log(`docs/${lang}/platform/connectors/overview.md table rows (${rows.length}); missing from it: ${JSON.stringify(missing)}; caption: "${caption.slice(0, 70)}…"`);
  }
  const suite = fs.readFileSync(`${REPO}/services/platform/tests/manual/suites/connectors.md`, 'utf8');
  console.log(`manual suite: ${JSON.stringify((suite.match(/offers \*\*13\*\*|13 vendors in one list/g) ?? []))}`);
  const page = await owner.ctx.newPage();
  await page.goto(`/dashboard/${o}/settings/connectors`);
  await page.getByRole('button', { name: 'Add credential' }).first().click();
  const dlg = page.getByRole('dialog');
  await dlg.getByRole('button', { name: /^GlitchTip/ }).first().click();
  await page.waitForTimeout(400);
  console.log(`GlitchTip step 2 fields: ${JSON.stringify(await dlg.locator('label').allInnerTexts())}`);
  console.log(`admin docs name an instance address for: ${JSON.stringify((fs.readFileSync(`${REPO}/docs/en/platform/admin/connectors.md`, 'utf8').match(/For (Confluence|Shopify|GlitchTip)[^.]*/g) ?? []))}`);
  await browser.close();
})().catch((e) => { console.error(e); process.exit(1); });

Activity

  1. added
    docs
    service: platform
    on Sep 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsservice: platform

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions