Skip to content

Add doxygen comments to DiagsTypes.hh#13262

Open
JosiahWI wants to merge 12 commits into
apache:masterfrom
JosiahWI:doc/diags
Open

Add doxygen comments to DiagsTypes.hh#13262
JosiahWI wants to merge 12 commits into
apache:masterfrom
JosiahWI:doc/diags

Conversation

@JosiahWI

@JosiahWI JosiahWI commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

I am testing out Claude Sonnet 4.6 and Claude Opus 4.7 with spec-kit. This change was generated by those models. Since code comments are very tedious to write by hand (especially for pre-existing code) and can provide great benefit, I think this is a good use case for experimentation. If this is accepted, I might do more of these as I refine my spec-kit configuration.

@JosiahWI JosiahWI self-assigned this Jun 12, 2026
Copilot AI review requested due to automatic review settings June 12, 2026 12:50
@JosiahWI JosiahWI added this to the 11.0.0 milestone Jun 12, 2026
@JosiahWI JosiahWI changed the title Add oxygen comments to diagnostic system Add doxygen comments to diagnostic system Jun 12, 2026
Comment thread include/tscore/DiagsTypes.h Outdated

Copilot AI 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.

Pull request overview

This PR adds Doxygen (“oxygen”) comments to ATS’s diagnostics and regression-test interfaces to make the Diags subsystem’s behavior easier to understand and navigate from headers.

Changes:

  • Adds API-level documentation for tell_diags_regression_testing_is_on() in Regression.h.
  • Adds extensive Doxygen comments across DiagsTypes.h for Diags configuration, tag activation, output routing, and log rolling/redirection APIs.
  • Adds documentation for the global Diags singleton registration/access in Diags.h.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 13 comments.

File Description
include/tscore/Regression.h Documents regression-mode diags behavior.
include/tscore/DiagsTypes.h Adds Doxygen comments for Diags types, fields, and public APIs.
include/tscore/Diags.h Documents DiagsPtr::set() and diags() singleton accessor.

Comment thread include/tscore/Regression.h Outdated
Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/Diags.h Outdated
Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/DiagsTypes.h Outdated
Copilot AI review requested due to automatic review settings June 12, 2026 14:34

Copilot AI 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.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 8 comments.

Comment thread include/tscore/Regression.h Outdated
Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/Diags.h Outdated

Copilot AI 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.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 20 comments.

Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/DiagsTypes.h Outdated

Copilot AI 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.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/DiagsTypes.h Outdated
@JosiahWI JosiahWI requested a review from Copilot June 13, 2026 16:15
@JosiahWI JosiahWI changed the title Add doxygen comments to diagnostic system Add doxygen comments to DiagsTypes.hh Jun 13, 2026

Copilot AI 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.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 6 comments.

Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/DiagsTypes.h
Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread src/tscore/Diags.cc
Comment thread src/tscore/Diags.cc
Comment thread src/tscore/Diags.cc

Copilot AI 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.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

Comment thread src/tscore/Diags.cc Outdated

Copilot AI 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.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 7 comments.

Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/DiagsTypes.h
Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/DiagsTypes.h Outdated

Copilot AI 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.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.

Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/DiagsTypes.h Outdated

Copilot AI 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.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/DiagsTypes.h Outdated

Copilot AI 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.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/DiagsTypes.h Outdated

Copilot AI 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.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/DiagsTypes.h Outdated
Comment thread include/tscore/DiagsTypes.h

Copilot AI 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.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

Comment thread src/tscore/Diags.cc
Comment thread src/tscore/Diags.cc
Comment thread include/tscore/DiagsTypes.h
Comment thread include/tscore/DiagsTypes.h Outdated

Copilot AI 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.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

Comment thread src/tscore/Diags.cc
Comment thread include/tscore/DiagsTypes.h
Comment thread include/tscore/DiagsTypes.h
@JosiahWI JosiahWI marked this pull request as ready for review June 13, 2026 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants