Skip to content

changelog generated yaml utf8 BOM #3191

@SylvainJuge

Description

@SylvainJuge

The YAML generated by docs-builder changelog starts with an UTF-8 BOM (Byte Order Mark) which may make some tools fail to handle this properly as reported by Copilot here.

I think we should clarify the following:

  • is this BOM usage intentional for the generated yaml, for example to help with localization of content or integration with other tooling
  • if the potential issue reported by copilot is significant or not in practice, if not, then we should find a way to avoid such noisy comments.

There are two possible approaches depending on the answer to the questions above:

  • if it's not intentional nor needed, then we can just remove it as it's simpler
  • if it's intentional or required, then we should find a way to make copilot (and others) stop from reporting it as a potential issue.

In practice, the impact of this is minor but not zero because it's mostly noise on the PR reviewer. However it also makes the copilot (or similar) automated review less useful for changelog-related PRs, which keeps some friction in the release process.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions