Skip to content

Prefer documentation tags when publishing JSDoc - #1625

Merged
minggangw merged 2 commits into
RobotWebTools:developfrom
minggangw:fix-1623-1
Oct 13, 2026
Merged

minggangw merged 2 commits into
RobotWebTools:developfrom
minggangw:fix-1623-1

Conversation

@minggangw

Copy link
Copy Markdown
Member
  • Use docs- when available, otherwise fall back to the release tag.
  • Validate source package versions and log selected tags without rewriting source or suppressing errors.
  • Update documentation and manifest guidance for the tag-selection policy.
  • Add regression tests for tag preference, fallback and missing sources.

Fix: #1623

Copilot AI balanced review requested due to automatic review settings October 13, 2026 05:37

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

Tag-triggered deployments use tooling from the source tag, and the promised regression tests are absent.

2 open findings
What changed in this PR

Updates JSDoc publishing to prefer version-specific documentation tags while retaining release-tag fallback and validation.

Changes:

  • Resolves and validates documentation source tags.
  • Logs selected sources and documents the policy.
  • Updates manifest guidance.
File Description
tools/​jsdoc/​regenerate-published-docs.js Adds source-tag selection and version validation.
tools/​jsdoc/​README.md Documents publishing and tag behavior.
tools/​jsdoc/​published-versions.json Updates manifest guidance.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread tools/jsdoc/README.md Outdated
Comment on lines +57 to +58
The workflow's branch selector chooses the deployment tooling, not the source
for each documentation version. The generator applies this rule independently
main();
}

module.exports = { resolveDocumentationSources };
@coveralls

coveralls commented Oct 13, 2026 •

Copy link
Copy Markdown

Coverage Status

coverage: 91.156% (-0.001%) from 91.157% — minggangw:fix-1623-1 into RobotWebTools:develop

@minggangw
minggangw merged commit 0c2aac0 into RobotWebTools:develop Oct 13, 2026
17 checks passed
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.

Fix JSDoc annotation error

3 participants