Skip to content

docs: add per-task middleware section to tasks overview#3197

Open
isshaddad wants to merge 2 commits intomainfrom
docs/per-task-middleware
Open

docs: add per-task middleware section to tasks overview#3197
isshaddad wants to merge 2 commits intomainfrom
docs/per-task-middleware

Conversation

@isshaddad
Copy link
Collaborator

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Mar 9, 2026

⚠️ No Changeset found

Latest commit: d03c176

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 9, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 200f108a-78cc-4d7a-9e53-4c39069bdf34

📥 Commits

Reviewing files that changed from the base of the PR and between 894109d and d03c176.

📒 Files selected for processing (1)
  • docs/tasks/overview.mdx
🚧 Files skipped from review as they are similar to previous changes (1)
  • docs/tasks/overview.mdx

Walkthrough

This pull request adds a per-task middleware option to docs/tasks/overview.mdx. The documentation describes that per-task middleware runs after global middleware and before the task run function, and includes TypeScript examples showing creation of a local via locals.create, setting it in middleware, and accessing it in run. The new content appears in two places within the file, duplicating the explanation. No code or exported API signatures were changed.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The pull request description is empty and lacks required sections from the template including Testing, Changelog, and issue reference. Add a complete description following the template: include issue reference, checklist items, testing steps, changelog entry, and any relevant screenshots.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and specifically describes the main change: adding documentation about per-task middleware to the tasks overview guide.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch docs/per-task-middleware

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.

coderabbitai[bot]

This comment was marked as resolved.

@isshaddad isshaddad marked this pull request as ready for review March 9, 2026 19:29
Copy link
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 potential bugs to report.

View in Devin Review to see 1 additional finding.

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