Skip to content

fix: remove duplicate-word typos across SDK error, run-engine docs, and schemaTask doc#3696

Closed
devteamaegis wants to merge 1 commit into
triggerdotdev:mainfrom
devteamaegis:fix-duplicate-word-typos
Closed

fix: remove duplicate-word typos across SDK error, run-engine docs, and schemaTask doc#3696
devteamaegis wants to merge 1 commit into
triggerdotdev:mainfrom
devteamaegis:fix-duplicate-word-typos

Conversation

@devteamaegis
Copy link
Copy Markdown

Summary

Four small duplicated-word typos:

File:line Fix
`packages/trigger-sdk/src/v3/ai.ts:861` `Cannot convert this task to to a tool` → `Cannot convert this task to a tool` (user-facing error message thrown by `assertTaskUsableAsTool`)
`internal-packages/run-engine/src/engine/index.ts:1587` JSDoc: `Send a heartbeat to signal the the run is still executing.` → `...the run is still executing.`
`internal-packages/run-engine/README.md:192` `created with the the global scope` → `created with the global scope`
`docs/tasks/schemaTask.mdx:27` `a schema parser function from a schema library or or a custom parser function` → `...or a custom parser function`

Diff is exactly 4 lines + 1 changeset entry (patch for `@trigger.dev/sdk` since `ai.ts` is in a public package).

Novelty

`gh pr list --search` for each phrase across the repo returned no open PRs touching these lines. No open typo PR at all.

Test plan

  • All edits are JSDoc/comment/error-string/doc-only — no runtime/type behaviour change.
  • `grep -rn 'the the \|to to a tool\|or or a custom'` across the changed files returns no matches after the fix.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 22, 2026

🦋 Changeset detected

Latest commit: ae2f8a5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 32 packages
Name Type
@trigger.dev/sdk Patch
@trigger.dev/python Patch
@internal/sdk-compat-tests Patch
references-ai-chat Patch
d3-chat Patch
references-d3-openai-agents Patch
references-nextjs-realtime Patch
references-realtime-hooks-test Patch
references-realtime-streams Patch
references-telemetry Patch
@trigger.dev/build Patch
@trigger.dev/core Patch
@trigger.dev/plugins Patch
@trigger.dev/react-hooks Patch
@trigger.dev/redis-worker Patch
@trigger.dev/rsc Patch
@trigger.dev/schema-to-json Patch
@trigger.dev/database Patch
@trigger.dev/otlp-importer Patch
@trigger.dev/rbac Patch
trigger.dev Patch
@internal/cache Patch
@internal/clickhouse Patch
@internal/llm-model-catalog Patch
@internal/redis Patch
@internal/replication Patch
@internal/run-engine Patch
@internal/schedule-engine Patch
@internal/testcontainers Patch
@internal/tracing Patch
@internal/tsql Patch
@internal/zod-worker Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

Hi @devteamaegis, thanks for your interest in contributing!

This project requires that pull request authors are vouched, and you are not in the list of vouched users.

This PR will be closed automatically. See https://github.com/triggerdotdev/trigger.dev/blob/main/CONTRIBUTING.md for more details.

@github-actions github-actions Bot closed this May 22, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 22, 2026

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: f6c945b1-028a-4df4-87dc-865acc499fd8

📥 Commits

Reviewing files that changed from the base of the PR and between c80b85e and ae2f8a5.

📒 Files selected for processing (5)
  • .changeset/fix-ai-task-tool-error-typo.md
  • docs/tasks/schemaTask.mdx
  • internal-packages/run-engine/README.md
  • internal-packages/run-engine/src/engine/index.ts
  • packages/trigger-sdk/src/v3/ai.ts

Walkthrough

This PR corrects five separate typos and documentation inconsistencies across the trigger.dev SDK. The changes include fixing a duplicated "to" in an error message for assertTaskUsableAsTool, correcting a "the the" typo in a JSDoc comment for heartbeatRun, refining wording in schemaTask documentation, clarifying guidance in run-engine README about idempotencyKey usage, and documenting the patch release via changeset.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

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.

1 participant