Skip to content

fix: record methods with @Labels even if they look trivial#327

Draft
kgilpin wants to merge 1 commit intomasterfrom
fix/labels-bypass-trivial-filter
Draft

fix: record methods with @Labels even if they look trivial#327
kgilpin wants to merge 1 commit intomasterfrom
fix/labels-bypass-trivial-filter

Conversation

@kgilpin
Copy link
Copy Markdown
Contributor

@kgilpin kgilpin commented May 6, 2026

Methods annotated with @Labels (or named explicitly under methods: in appmap.yml, or labeled there) were being dropped by the getter/setter trivial-method filter before the agent ever consulted the opt-in. They now bypass that filter so explicit user intent always wins.

Extract the @Labels-by-name reading from CodeObject into a shared LabelUtil so ConfigCondition can ask the same question during match.

Methods annotated with @Labels (or named explicitly under `methods:` in
appmap.yml, or labeled there) were being dropped by the getter/setter
trivial-method filter before the agent ever consulted the opt-in. They
now bypass that filter so explicit user intent always wins.

Extract the @Labels-by-name reading from CodeObject into a shared
LabelUtil so ConfigCondition can ask the same question during match.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@kgilpin kgilpin marked this pull request as draft May 6, 2026 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant