-
-
Notifications
You must be signed in to change notification settings - Fork 0
chore(fixture): enrich fixtures/minimal to exercise every codemap surface #55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
e7e078d
chore(fixture): enrich fixtures/minimal to exercise every codemap sur…
SutuSebastian 9d65813
fix(lint): pass --no-error-on-unmatched-pattern to oxlint
SutuSebastian 56bc737
chore(fixture): apply CodeRabbit fixture corrections
SutuSebastian f770638
chore(fixture): refresh files-hashes golden + slim cache.ts comments
SutuSebastian File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,7 @@ | ||
| [ | ||
| { | ||
| "name": "ProductCard" | ||
| }, | ||
| { | ||
| "name": "ShopButton" | ||
| } | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,26 @@ | ||
| [ | ||
| { | ||
| "name": "legacyClient", | ||
| "kind": "function", | ||
| "file_path": "src/api/client.ts", | ||
| "line_start": 41, | ||
| "signature": "legacyClient()", | ||
| "doc_comment": "@deprecated Use `createClient({ baseUrl })` directly. Kept as a fixture for\n`deprecated-symbols` + `--format sarif` / `--format annotations` recipes." | ||
| }, | ||
| { | ||
| "name": "now", | ||
| "kind": "function", | ||
| "file_path": "src/utils/date.ts", | ||
| "line_start": 5, | ||
| "signature": "now(): number", | ||
| "doc_comment": "@deprecated Use `Date.now()` directly. Kept as a fixture for the\n`deprecated-symbols` recipe golden test." | ||
| }, | ||
| { | ||
| "name": "epochMs", | ||
| "kind": "function", | ||
| "file_path": "src/utils/format.ts", | ||
| "line_start": 5, | ||
| "signature": "epochMs(): number", | ||
| "doc_comment": "@deprecated Drift detector for the SARIF / GH-annotations golden output.\nPair with `now()` in `./date.ts` to give recipes >1 row to render." | ||
| } | ||
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| [ | ||
| { | ||
| "n": 11 | ||
| "n": 18 | ||
| } | ||
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,9 @@ | ||
| [ | ||
| { | ||
| "files": 11, | ||
| "symbols": 9, | ||
| "imports": 3, | ||
| "components": 1, | ||
| "dependencies": 2 | ||
| "files": 18, | ||
| "symbols": 33, | ||
| "imports": 11, | ||
| "components": 2, | ||
| "dependencies": 10 | ||
| } | ||
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| --- | ||
| actions: | ||
| - type: review-shop-surface | ||
| auto_fixable: false | ||
| description: "Public shop component surface — review when adding/removing components." | ||
| --- | ||
|
|
||
| Shop component public surface — every exported function under `src/components/shop/`. Used for change-impact reviews when the shop UI evolves. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| -- Project-local recipe — exercises `<state-dir>/recipes/<id>.{sql,md}` discovery | ||
| -- and the `codemap query --recipe <id>` path. Frontmatter actions in the | ||
| -- sibling `.md` file attach a per-row hint to JSON output. | ||
| SELECT name, file_path, line_start, signature | ||
| FROM symbols | ||
| WHERE file_path LIKE 'src/components/shop/%' | ||
| AND kind = 'function' | ||
| AND is_exported = 1 | ||
| ORDER BY file_path, line_start; | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| # Fixture CODEOWNERS — exercises `codemap query --group-by owner`. | ||
| # Real ownership lookup uses last-matching-rule semantics; we keep two rules | ||
| # so the recipe groups fan-in / fan-out by team. | ||
|
|
||
| src/api/ @backend | ||
| src/components/ @frontend | ||
| src/lib/ @backend | ||
| src/utils/ @platform | ||
| src/styles/ @frontend | ||
| *.md @docs |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.