Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 19, 2025

Addresses code organization feedback from #1990 where trueStr and falseStr constants were defined in query.go but used in both query.go and table.go, creating an implicit cross-file dependency.

Changes:

  • Created metrics/constants.go to house shared package-level constants
  • Removed constant definitions from query.go

Both files now explicitly reference constants from the dedicated location rather than relying on same-package visibility from an arbitrary source file.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI changed the title [WIP] WIP address feedback on node_hint metrics improvements Move shared constants to dedicated file Dec 19, 2025
Copilot AI requested a review from asmyasnikov December 19, 2025 14:57
@qrort qrort force-pushed the node-hint-metric-improve branch 3 times, most recently from 7f12ad2 to 3092b0d Compare December 23, 2025 14:53
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.

3 participants