Repository navigation
Throwaway: stale generated parser must fail CI - #3
Closed
igor-tkachev wants to merge 4 commits into
Closed
igor-tkachev wants to merge 4 commits into
igor-tkachev wants to merge 4 commits into
Conversation
A stub grammar (optional operator, optional matcher prefix, rest of the line) is read by TargetFilterParser, whose members are generated by DotGram.Cli at a pinned DotGram commit and SDK (Source/TargetFilter/dotgram.pin) and committed under Source/TargetFilter/Generated. regenerate.sh builds the pinned tool and runs project-mode generation; the build itself needs no DotGram, so the package gains no dependency. -p:DotGramLocal=true builds the parser from the grammar with a DotGram checkout instead. Co-Authored-By: ai-it-boss <ai.it.boss@tkachev.com> Claude-Session: https://claude.ai/code/session_018vDs8xWpRAzexkRByS29oa
filter-parser regenerates the target filter parser exactly as a developer does (pinned SDK, the regenerate script) and fails on any difference in Source/TargetFilter, on Linux and on Windows. The workflow can be started by hand. The minimum-sdk consumers apply an aspect with a TargetFilter to a type and assert that only the selected call is intercepted. AGENTS.md describes the flow. Co-Authored-By: ai-it-boss <ai.it.boss@tkachev.com> Claude-Session: https://claude.ai/code/session_018vDs8xWpRAzexkRByS29oa
Co-Authored-By: ai-it-boss <ai.it.boss@tkachev.com> Claude-Session: https://claude.ai/code/session_018vDs8xWpRAzexkRByS29oa
Co-Authored-By: ai-it-boss <ai.it.boss@tkachev.com> Claude-Session: https://claude.ai/code/session_018vDs8xWpRAzexkRByS29oa
Owner
Author
|
Negative check done: filter-parser failed on both legs with the stale generated parser, as intended. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Negative check for the filter-parser job; will be closed without merging.
🤖 Generated with Claude Code