Skip to content

[Fix] Develop CI Type Check fails on duplicate worker runtime schema import#310

Closed
roomote-roomote[bot] wants to merge 1 commit into
developfrom
fix/dedupe-worker-runtime-schema-import-2qeminiv0abor
Closed

[Fix] Develop CI Type Check fails on duplicate worker runtime schema import#310
roomote-roomote[bot] wants to merge 1 commit into
developfrom
fix/dedupe-worker-runtime-schema-import-2qeminiv0abor

Conversation

@roomote-roomote

Copy link
Copy Markdown
Contributor

Created by Roomote. Follow up by mentioning @roomote-roomote, in the web UI, or in Slack.

Related issue

Not tracked as a standalone GitHub issue. Fixes the develop CI Type Check regression introduced by #307 (WORKER_RUNTIME_SCHEMA_VERSION imported twice in apps/web setup-new tests). Fail run: https://github.com/RooCodeInc/Roomote/actions/runs/29294274110

Why this PR exists

  • A maintainer explicitly invited this PR in the linked issue or discussion
  • I am a maintainer / this is internal Roomote work

What changed

Removed a duplicate WORKER_RUNTIME_SCHEMA_VERSION import from the setup-new command tests so TypeScript no longer reports TS2300: Duplicate identifier. The symbol remains imported once from @roomote/types with the other runtime schema fixtures used in those tests.

Why this change was made

Develop CI Type Check went red after #307 merged with two imports of the same constant in the same file. This is the smallest fix that restores green type checking without reworking related runtime-schema fixture PRs.

Impact

No intended product behavior change. Restores develop Type Check / @roomote/web type checking so CI can pass again for later merges.

How it was tested

  • Reproduced the failing @roomote/web check-types error (TS2300 on the duplicate import) on develop head.
  • After the one-line dedupe, pnpm --filter @roomote/web check-types passes.
  • Pre-push hooks (lint:fast, check-types:fast, knip) passed on push.

Checklist

  • The PR title follows the repo convention: [Fix], [Feat], [Improve], [Refactor], [Docs], or [Chore] followed by a user-facing description
  • This PR is small and scoped to one change
  • pnpm lint and pnpm check-types pass locally
  • I added tests or included a clear manual validation note above
  • I removed secrets, tokens, private keys, and customer data from code, logs, and screenshots
  • If this change should appear in the changelog, I ran pnpm changeset

@roomote-roomote

roomote-roomote Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor Author

No code issues found. This is a correct, minimal fix that removes the duplicate top-of-file WORKER_RUNTIME_SCHEMA_VERSION import; the symbol is still imported once from @roomote/types and used throughout the test file, and pnpm --filter @roomote/web check-types passes. See task

Reviewed 5bfe021

daniel-lxs added a commit that referenced this pull request Jul 14, 2026
Same one-line fix as #310; keeps this branch typechecking until that
lands on develop.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
daniel-lxs added a commit that referenced this pull request Jul 14, 2026
…305)

* Post announcer and manager-stats reports via communication adapters

The last two Slack-hardwired automation reporters now reach Teams and
Telegram destinations. Slack destinations keep the existing
SlackNotifier + Block Kit path byte-identical; non-Slack destinations
post through getCommunicationProviderAdapter with the summary degraded
from Slack mrkdwn to standard markdown (new degradeSlackMrkdwnToMarkdown
helper), the settings-link footer becoming a cross-surface url button,
detail messages threaded under the root, and tracked automation threads
upserted with the destination surface.

Deployment eligibility generalizes like the triage runner: Slack
installations first, otherwise any connected communication provider
(manager-stats resolves its GitHub actor from the installation row on
Slack-less deployments). Registry declarations flip to
slack/teams/telegram for both.

ci_failure_triage and the suggester's advanced routing intentionally
stay Slack-only.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Dedupe worker runtime schema import inherited from develop

Same one-line fix as #310; keeps this branch typechecking until that
lands on develop.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
@daniel-lxs

Copy link
Copy Markdown
Member

Obsolete: #305 carried the identical dedupe; develop typechecks clean.

@daniel-lxs daniel-lxs closed this Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants