Repository navigation
[Schema Consistency] 🔍 Schema Consistency Check - 2026-11-06 #75321
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by Schema Consistency Checker. A newer discussion is available at Discussion #75483. |
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.
Overview
Found 3 actionable inconsistencies across schema, compiler, and documentation. Reviewed repository workflow usage; no matching violations found in 478 workflow/shared frontmatter mappings. No critical runtime bug established. Analysis was static; no workflow code was executed and no source files were changed.
Key issues
sandbox.agent.nvx, but the schema requires it whenruntime: nvx. The compiler supplies defaults for absent NVX options. Align the schema with the compiler and documented optional overrides.runner.labels. Move labels to top-levelruns-on;runneraccepts topology only. The published example fails schema validation.keyfor the logs entry; the compiler generates a default key, but the array schema requires it. Make the array key optional to match the compiler and docs.Evidence, minimal examples, and validation
1. NVX schema versus compiler and docs
docs/src/content/docs/reference/agent-runtimes.md:115declaressandbox.agent: {id: awf, runtime: nvx}and describes default paths and optional overrides.pkg/parser/schemas/main_workflow_schema.json:4578requiresnvxin the runtime conditional.pkg/workflow/sandbox.go:82describes NVX options as optional;pkg/workflow/nvx.go:56callseffectiveNVXConfig, whose implementation at line 190 starts with the default configuration.nvx: {}passes schema validation when a valid workflow trigger is supplied. This establishes a schema/default contract mismatch, not proof that any particular host can execute NVX.2. ARC runner example
docs/src/content/docs/reference/agent-runtimes.md:144placeslabels: [self-hosted, linux, arc]insiderunner.pkg/parser/schemas/main_workflow_schema.json:3319permits onlytopologyunderrunnerand disallows additional properties.pkg/workflow/runner_config.go:13extracts topology only. Top-levelruns-onis documented separately indocs/src/content/docs/reference/self-hosted-runners.md.runner: {topology: arc-dind}with top-levelruns-on: [self-hosted, linux, arc]passes with a valid trigger.3. Cache-memory array key
docs/src/content/docs/reference/cache-memory.md:83includes{id: logs, retention-days: 7}and says the key defaults to a workflow-scoped prefix.pkg/parser/schemas/main_workflow_schema.json:5886requires bothidandkeyfor every array entry.pkg/workflow/cache_config.go:129initializes each entry withgenerateDefaultCacheKey(defaultID)before applying explicit identity settings.key: memory-logspasses with a valid trigger.idfor array entries, preserving compiler default-key generation.Scope and exclusions
Started from the precomputed schema diff. Both top-level field gaps (
docker-image-pull-policyandwork-queue-policy) have RawFrontmatter consumers, so they are not findings. Scanned documentation fences and schema defaults/examples, excluded incomplete fragments and Kubernetes examples, and avoided repeating cached findings. Workflow pattern checks found zero uses of the three confirmed patterns; this is not a claim that every workflow fully validates after imports and template expansion. No compiler build or runtime test was performed.Non-authoritative AWF warning
The supplied AWF comparison has
degraded: true: canonical-source retrieval failed. AWF config-source drift could not be assessed authoritatively. No corrective PR, drift issue, or required-check failure is proposed from that comparison.Strategy performance
Next actions
References: §42168131873
All reactions