redhat-developer / redhat-developer/vscode-yaml

Schemas not loaded in github.dev (hosted vscode)

Open
#655 4 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
829
Forks
260
Avg merge
5h 43m
Merged PRs (30d)
1

Description

Describe the bug

Schemas configured via a .vscode/settings.json don't load in github.dev

Expected Behavior

Schemas work like in local vscode

Current Behavior

I get an error:

Unable to load schema from '/schema/workflows.schema.json': No content.

Steps to Reproduce

  • Create a JSON schema file (eg in /schema.json)
  • Add a .vscode/settings.json file with the following contents
{
  "yaml.schemas": {
    "schema.json": [
      "foo.yaml"
    ]
  }
}
  • edit foo.yaml

Environment

  • Windows
  • Mac
  • Linux
  • other: github.dev

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in github.dev using the root schema.json, .vscode/settings.json, and foo.yaml described in the report. Start by comparing schema loading there with local VS Code; done means the configured schema loads for foo.yaml without the reported “No content” error.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.