Skip to content
This repository was archived by the owner on Nov 3, 2026. It is now read-only.

refactor!: meta_core discovers only .meta.yaml - #14

Merged
gold-silver-copper merged 4 commits into
mainfrom
feat/meta-yaml-only
Oct 28, 2026
Merged

gold-silver-copper merged 4 commits into
mainfrom
feat/meta-yaml-only

Conversation

@gold-silver-copper

@gold-silver-copper gold-silver-copper commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

META_CONFIG_NAMES (four names) becomes META_CONFIG_NAME = ".meta.yaml". ConfigFormat, the JSON parse path and the "Multiple meta config files" error are deleted. find_meta_config_in, find_meta_config, meta_config_at and find_parent_meta_config return Option<PathBuf> instead of Option<(PathBuf, ConfigFormat)>. OrphanWarning::parent_format is gone. An unreadable .meta.yaml is still an error. New tests: old_config_names_are_not_config (old names alone are not a config; .meta.yaml beside them is) and any_config_file_is_read_as_yaml. Messages say .meta.yaml.

Part of gitkb/meta#132 (meta reads only .meta.yaml), which has the reasoning, the breaking-change note and the verification. Merge together with it.

Task: [[tasks/harmony-2878]]

meta discovers its config only as .meta.yaml (and, until Matt confirms its removal, .meta.yml). The .meta and .meta.json names, the JSON parse path and ConfigFormat are gone: every config is parsed as YAML, which reads JSON content too. A folder with only .meta or .meta.json is not a workspace.

BREAKING CHANGE: rename a .meta or .meta.json config to .meta.yaml (same content).

[[tasks/harmony-2878]]
Matt approved dropping .meta and .meta.json; .meta.yml was not in his note, so it goes in its own commit to keep or drop. With one name a folder can no longer hold two configs, so the "Multiple meta config files" error and its tests go too.

BREAKING CHANGE: rename a .meta.yml config to .meta.yaml.

[[tasks/harmony-2878]]
@coderabbitai

coderabbitai Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: dd91afef-39a5-4b80-8a10-bece9da55c6c
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

…YAML

Review round 1. The old-name test checks only its own folder, then shows .meta.yaml is the config next to .meta, .meta.json and .meta.yml. A YAML file named alt.json parses, which the old extension check refused.

[[tasks/harmony-2878]]
Review round 2. JSON-style content now goes through the YAML parser; meta's own duplicate-key check still names the key.

[[tasks/harmony-2878]]
@gold-silver-copper
gold-silver-copper merged commit d1b8c84 into main Oct 28, 2026
7 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant