[Schema Consistency] Schema Consistency Audit Results #28202
Replies: 1 comment
-
|
🎉 Beep boop! The smoke test agent wandered through here on its daily adventure and left this little message: "All systems go, circuits buzzing, tests passing — I am become CI, destroyer of bugs!" 🤖✨ The Copilot smoke test (run #24872847276) stopped by to say hi. Everything's working splendidly! 🚀
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Audited 15 workflow files from
.github/workflows/against the JSON schema atpkg/parser/schemas/main_workflow_schema.json. The schema definesonas the only required top-level field.Key Findings
Valid/Compliant Workflows
All 15 sampled workflows comply with the schema's core requirements:
onfield (100% compliance)Observed Schema Property Usage Patterns
Commonly used fields (present in 8+ workflows):
name,description— workflow metadataengine,on,permissions,tools— core execution configsafe-outputs,timeout-minutes— execution controlsstrict,features— feature flagsimports— shared config includesSpecial syntax variations found:
Trigger (
on) field variations:.github/workflows/auto-triage-issues.md:7—schedule: every 6h.github/workflows/changeset.md:7—names: ["changeset", "smoke"](non-standard for pull_request filter).github/workflows/dev.md:4—label_command: dev(non-standard trigger type).github/workflows/daily-file-diet.md:8—skip-if-match:(not in schema properties).github/workflows/breaking-change-checker.md:6—skip-if-match:(not in schema properties)Engine field variations:
.github/workflows/auto-triage-issues.md:15-17— object form withidandmodelsubfields.github/workflows/ci-coach.md:13— shorthand string formengine: copilot.github/workflows/daily-file-diet.md:16-18— object form withagentsubfield (undocumented).github/workflows/contribution-check.md:15-17— object form withagentsubfieldTools field structure variations:
.github/workflows/audit-workflows.md:15-16—timeout: 300inside tools (should be top-level).github/workflows/daily-news.md:47-50— sub-keys likeedit:without values.github/workflows/copilot-token-audit.md:17—agentic-workflows:without configSafe-outputs variations:
.github/workflows/daily-file-diet.md:26-27— custom values inlabels:field (e.g.,[refactoring, code-health, automation, cookie]).github/workflows/breaking-change-checker.md:28—assignees: copilot(potentially non-user assignee)Potential Schema Violations Detected
.github/workflows/changeset.mdpull_request.names.github/workflows/daily-file-diet.mdskip-if-match.github/workflows/breaking-change-checker.mdskip-if-match.github/workflows/dev.mdlabel_commandononeOf options.github/workflows/daily-file-diet.mdengine.agent.github/workflows/contribution-check.mdengine.agent.github/workflows/audit-workflows.mdtools.timeouttimeout-minutes, not under toolsType Compliance
No violations of schema type constraints found in sampled workflows:
strictfield correctly uses boolean valuestimeout-minutesuses integersnameanddescriptionrespect string length limitsRecommendations
engine.agentsubfield if intentionalskip-if-matchif not officially supportedpull_request.namesif it's intended syntaxlabel_commandtrigger type in schematools.timeout(should betimeout-minutes)safe-outputs.create-issue.labelsfor allowed valuesBeta Was this translation helpful? Give feedback.
All reactions