Skip to content

fix(ci): Unblock mainline typecheck, lint, and integration failures - #1285

Merged
dcramer merged 3 commits into
mainfrom
fix/mainline-ci-breakages-v2
Aug 7, 2026
Merged

dcramer merged 3 commits into
mainfrom
fix/mainline-ci-breakages-v2

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Aug 7, 2026 •

Copy link
Copy Markdown
Contributor

Unblock mainline CI. Every job was dying in packages/junior prepare on a type error from #1268, on top of the earlier file-length and structured-link failures.

Slack source URL typecheck

Channel-level session sources omit threadTs. sourceUrlFromConversation now skips archive URL construction when that anchor is missing, so packages/junior prepare typechecks again.

Agent dispatch suite split

agent-dispatch-work.test.ts was over the 1000-line file-length limit. Recovery cases move into agent-dispatch-recovery.test.ts, and shared helpers land in tests/fixtures/agent-dispatch.ts.

Structured Slack link assertion

message-content-behavior.test.ts now hydrates conversation messages before asserting full structured link targets, matching how message text is actually stored.

Checks

  • pnpm --filter @sentry/junior lint
  • pnpm --filter @sentry/junior typecheck
  • pnpm file-length:check
  • integration tests not re-run here (no Docker/Postgres in this sandbox)

sentry-junior Bot and others added 2 commits August 7, 2026 04:49
Split the oversized agent-dispatch work suite under the 1000-line limit and
hydrate conversation messages when asserting structured Slack link targets.

Co-Authored-By: David Cramer <[email protected]>
Move shared helpers imports above the first export so the fixture stays valid under lint rules.

Co-Authored-By: David Cramer <[email protected]>
@vercel

vercel Bot commented Aug 7, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
junior-docs Ready Ready Preview Aug 7, 2026 4:57am

Request Review

Channel-level session sources omit threadTs; skip archive URL construction
instead of failing the packages/junior prepare typecheck.

Co-Authored-By: David Cramer <[email protected]>
@sentry-junior sentry-junior Bot changed the title fix(tests): Unblock mainline lint and integration failures fix(ci): Unblock mainline typecheck, lint, and integration failures Aug 7, 2026
@dcramer
dcramer marked this pull request as ready for review August 7, 2026 04:57
@github-actions github-actions Bot added the risk: high PR risk score: high label Aug 7, 2026
@dcramer
dcramer merged commit 963c1d2 into main Aug 7, 2026
33 checks passed
@dcramer
dcramer deleted the fix/mainline-ci-breakages-v2 branch August 7, 2026 05:07

This branch was successfully deployed

1 active deployment
Preview – junior-docs — 16bd885a Deployed Aug 7, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: high PR risk score: high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant