Skip to content

Add line about JSDoc comments for functions in AGENTS.md - #15227

Merged
petebacondarwin merged 1 commit into
mainfrom
dario/agents-jsdoc-fn
Aug 16, 2026
Merged

petebacondarwin merged 1 commit into
mainfrom
dario/agents-jsdoc-fn

Conversation

@dario-piotrowicz

Copy link
Copy Markdown
Member

Including a nice JSDoc comment for every function is a personal preference of mine. I often comment on the lack of @param and @returns in PR, so I figured that it could be nice to add a line about it in AGENTS.md.... hopefully this is not too controversial 🙈


  • Tests
    • Tests included/updated
    • Automated tests not possible - manual testing has been completed as follows:
    • Additional testing not necessary because: minor AGENTS.md change
  • Public documentation
    • Cloudflare docs PR(s):
    • Documentation not necessary because: minor AGENTS.md change

A picture of a cute animal (not mandatory, but encouraged)

@changeset-bot

changeset-bot Bot commented Aug 16, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: e9f5017

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

@github-project-automation github-project-automation Bot moved this to Untriaged in workers-sdk Aug 16, 2026
@workers-devprod
workers-devprod requested a review from a team August 16, 2026 17:09
@workers-devprod

workers-devprod commented Aug 16, 2026 •

Copy link
Copy Markdown
Contributor

Codeowners approval required for this PR:

  • ✅ @cloudflare/wrangler
Show detailed file reviewers

@workers-devprod
workers-devprod requested review from penalosa and removed request for a team August 16, 2026 17:09

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

Copy link
Copy Markdown
Contributor

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

@ask-bonk

ask-bonk Bot commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

This is a single-line documentation change to AGENTS.md adding a guideline about JSDoc comments. The change is a simple, well-formed addition of a code style guideline. There are no logic bugs, security issues, or API behavior concerns. The wording is clear and consistent with the surrounding bullet points.

LGTM

github run

@dario-piotrowicz dario-piotrowicz added the ci:no-changeset-required Skip pull request checks for a valid changeset label Aug 16, 2026
@pkg-pr-new

pkg-pr-new Bot commented Aug 16, 2026

Copy link
Copy Markdown
@cloudflare/autoconfig

npm i https://pkg.pr.new/@cloudflare/autoconfig@15227

@cloudflare/build-output-utils

npm i https://pkg.pr.new/@cloudflare/build-output-utils@15227

@cloudflare/config

npm i https://pkg.pr.new/@cloudflare/config@15227

create-cloudflare

npm i https://pkg.pr.new/create-cloudflare@15227

@cloudflare/deploy-helpers

npm i https://pkg.pr.new/@cloudflare/deploy-helpers@15227

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@15227

miniflare

npm i https://pkg.pr.new/miniflare@15227

@cloudflare/pages-functions

npm i https://pkg.pr.new/@cloudflare/pages-functions@15227

@cloudflare/pages-shared

npm i https://pkg.pr.new/@cloudflare/pages-shared@15227

@cloudflare/unenv-preset

npm i https://pkg.pr.new/@cloudflare/unenv-preset@15227

@cloudflare/vite-plugin

npm i https://pkg.pr.new/@cloudflare/vite-plugin@15227

@cloudflare/vitest-pool-workers

npm i https://pkg.pr.new/@cloudflare/vitest-pool-workers@15227

@cloudflare/workers-auth

npm i https://pkg.pr.new/@cloudflare/workers-auth@15227

@cloudflare/workers-editor-shared

npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@15227

@cloudflare/workers-utils

npm i https://pkg.pr.new/@cloudflare/workers-utils@15227

wrangler

npm i https://pkg.pr.new/wrangler@15227

commit: e9f5017

@workers-devprod workers-devprod left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Codeowners reviews satisfied

@github-project-automation github-project-automation Bot moved this from Untriaged to Approved in workers-sdk Aug 16, 2026
@petebacondarwin
petebacondarwin merged commit 96ce4b3 into main Aug 16, 2026
64 of 65 checks passed
@petebacondarwin
petebacondarwin deleted the dario/agents-jsdoc-fn branch August 16, 2026 20:04
@github-project-automation github-project-automation Bot moved this from Approved to Done in workers-sdk Aug 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:no-changeset-required Skip pull request checks for a valid changeset

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants