Skip to content

Conversation

@ya7010
Copy link
Collaborator

@ya7010 ya7010 commented Oct 10, 2025

No description provided.

Copilot AI review requested due to automatic review settings October 10, 2025 16:12
Copy link
Contributor

Copilot AI left a comment

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 deprecates the throttle_seconds configuration option for workspace diagnostics. The change marks the option as deprecated with updated documentation explaining it's no longer needed.

Key Changes

  • Updated documentation to mark throttle_seconds as deprecated
  • Added deprecated attribute to the field and schema property
  • Simplified documentation from detailed throttling behavior explanation to deprecation notice

Reviewed Changes

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

File Description
json.schemastore.org/tombi.json Updates JSON schema to mark throttle-seconds as deprecated with new description
crates/tombi-config/src/server.rs Adds deprecation attribute and updates field documentation

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

"throttle-seconds": {
"title": "Throttle interval in seconds",
"description": "Controls the throttling behavior of workspace diagnostics:\n- 0: Run only once (first execution), then always skip\n- >0: Skip if within the specified interval, allow if interval has passed\n\nDefault: Follows the editor's execution frequency (no additional throttling).",
"description": "**🚧 Deprecated 🚧**\\\nDon't need to use this option.",
Copy link

Copilot AI Oct 10, 2025

Choose a reason for hiding this comment

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

[nitpick] Grammar improvement: 'Don't need to use this option' should be 'This option is no longer needed' for better clarity.

Suggested change
"description": "**🚧 Deprecated 🚧**\\\nDon't need to use this option.",
"description": "**🚧 Deprecated 🚧**\\\nThis option is no longer needed.",

Copilot uses AI. Check for mistakes.
///
/// Default: Follows the editor's execution frequency (no additional throttling).
/// **🚧 Deprecated 🚧**\
/// Don't need to use this option.
Copy link

Copilot AI Oct 10, 2025

Choose a reason for hiding this comment

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

[nitpick] Grammar improvement: 'Don't need to use this option' should be 'This option is no longer needed' for better clarity.

Suggested change
/// Don't need to use this option.
/// This option is no longer needed.

Copilot uses AI. Check for mistakes.
@ya7010 ya7010 merged commit fa00400 into main Oct 10, 2025
8 checks passed
@ya7010 ya7010 deleted the workspace_diagnostic_throttle_seconds_deprecated branch October 10, 2025 16:21
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.

2 participants