Skip to content

fix: remove orphan toolset (singular) deprecated property from schema#33360

Merged
pelikhan merged 7 commits into
mainfrom
copilot/deep-report-fix-deprecation
May 19, 2026
Merged

fix: remove orphan toolset (singular) deprecated property from schema#33360
pelikhan merged 7 commits into
mainfrom
copilot/deep-report-fix-deprecation

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 19, 2026

tools.github.toolset (singular) existed in the schema marked deprecated, but the parser never read it — only toolsets (plural) is consumed. A user writing toolset: would silently get no toolset config with no warning or migration.

Changes

  • pkg/parser/schemas/main_workflow_schema.json — removes the dead toolset (singular) property block entirely; a deprecation entry for a field that never worked is misleading
  • docs/public/editor/autocomplete-data.json — regenerated via docs/scripts/generate-autocomplete-data.js to drop the corresponding editor autocomplete entry

Copilot AI and others added 2 commits May 19, 2026 16:57
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix orphan deprecation for toolset in schema fix: remove orphan toolset (singular) deprecated property from schema May 19, 2026
Copilot AI requested a review from pelikhan May 19, 2026 17:00
@pelikhan
Copy link
Copy Markdown
Collaborator

@copilot run make fmt

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented May 19, 2026

@copilot run make fmt

Done — make fmt applied and committed.

@pelikhan pelikhan marked this pull request as ready for review May 19, 2026 18:11
Copilot AI review requested due to automatic review settings May 19, 2026 18:11
@pelikhan
Copy link
Copy Markdown
Collaborator

@copilot format code

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copy link
Copy Markdown
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 aims to remove the deprecated tools.github.toolset (singular) property from the main workflow JSON schema and to regenerate the editor autocomplete data so that the deprecated entry no longer appears.

Changes:

  • Remove tools.github.toolset (singular) from pkg/parser/schemas/main_workflow_schema.json.
  • Regenerate docs/public/editor/autocomplete-data.json, dropping the toolset autocomplete entry (and updating other generated entries).
  • Update a Datadog header placeholder in .github/workflows/smoke-otel-backends.lock.yml to use ${DD_APP_KEY} for DD_APPLICATION_KEY.
Show a summary per file
File Description
pkg/parser/schemas/main_workflow_schema.json Removes the deprecated toolset (singular) schema property under tools.github.
docs/public/editor/autocomplete-data.json Regenerated autocomplete snapshot reflecting schema changes (and additional generated diffs).
.github/workflows/smoke-otel-backends.lock.yml Changes Datadog MCP header env placeholder for DD_APPLICATION_KEY.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 3/3 changed files
  • Comments generated: 3

@@ -3916,25 +3916,6 @@
}
]
},
Comment on lines +641 to +646
"allowed-input": {
"type": "boolean",
"desc": "When true and the workflow uses workflow_call, expose a network_allowed string input on the compiled lock file.",
"enum": [true, false],
"leaf": true
},
"headers": {
"DD_API_KEY": "\${DD_API_KEY}",
"DD_APPLICATION_KEY": "\${DD_APPLICATION_KEY}",
"DD_APPLICATION_KEY": "\${DD_APP_KEY}",
Copy link
Copy Markdown
Contributor Author

Copilot AI commented May 19, 2026

@copilot format code

Done — code formatted and committed.

@pelikhan pelikhan merged commit c946cf6 into main May 19, 2026
12 checks passed
@pelikhan pelikhan deleted the copilot/deep-report-fix-deprecation branch May 19, 2026 18:50
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.

[deep-report] Orphan deprecation: tools.github.toolset (singular) is deprecated in schema but never read by parser

3 participants