René's URL Explorer Experiment


Title: test: add unit and integration tests for annotatedast by Sneha41sb · Pull Request #612 · stackql/stackql · GitHub

Open Graph Title: test: add unit and integration tests for annotatedast by Sneha41sb · Pull Request #612 · stackql/stackql

X Title: test: add unit and integration tests for annotatedast by Sneha41sb · Pull Request #612 · stackql/stackql

Description: Summary This PR improves test coverage for the annotatedast package by adding unit and integration tests. Details Added new tests without modifying production code Improved coverage for reachable logic paths Avoided mocking non-exported internal types Coverage Notes Some functions depend on planner-injected AST state or internal types and cannot be safely unit-tested. Coverage has been improved as far as possible without violating package boundaries.

Open Graph Description: Summary This PR improves test coverage for the annotatedast package by adding unit and integration tests. Details Added new tests without modifying production code Improved coverage for reachable ...

X Description: Summary This PR improves test coverage for the annotatedast package by adding unit and integration tests. Details Added new tests without modifying production code Improved coverage for reachable ...

Opengraph URL: https://github.com/stackql/stackql/pull/612

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:6c2bd98b-a92b-6881-c99f-c531fb0ae026
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB32C:228A12:23C0DB2:32A292C:6A4CE48B
html-safe-nonce491d41c2453b1b2c5a857186b034841519fed53b13a5560cf880301cca168a4f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzJDOjIyOEExMjoyM0MwREIyOjMyQTI5MkM6NkE0Q0U0OEIiLCJ2aXNpdG9yX2lkIjoiNzMxNDc1Njg5NjYzNTU0NDcxNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac184579a3623c411130d9a0a932d3f3c4602f280c932e126797ef996a1f9dc1ca
hovercard-subject-tagpull_request:3237758511
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/stackql/stackql/pull/612/files
twitter:imagehttps://avatars.githubusercontent.com/u/213922659?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/213922659?s=400&v=4
og:image:altSummary This PR improves test coverage for the annotatedast package by adding unit and integration tests. Details Added new tests without modifying production code Improved coverage for reachable ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None299b43bca6e02ad35197ffeba30d2466846d5fb02ab96fbced5b5e6cec589fb8
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/stackql/stackql git https://github.com/stackql/stackql.git
octolytics-dimension-user_id95105302
octolytics-dimension-user_loginstackql
octolytics-dimension-repository_id443987542
octolytics-dimension-repository_nwostackql/stackql
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id443987542
octolytics-dimension-repository_network_root_nwostackql/stackql
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasec5a57f04eeb310f57c73fd6d751d957e2ca27ed2
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/stackql/stackql/pull/612/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstackql%2Fstackql%2Fpull%2F612%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstackql%2Fstackql%2Fpull%2F612%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=stackql%2Fstackql
Reloadhttps://github.com/stackql/stackql/pull/612/files
Reloadhttps://github.com/stackql/stackql/pull/612/files
Reloadhttps://github.com/stackql/stackql/pull/612/files
Please reload this pagehttps://github.com/stackql/stackql/pull/612/files
stackql https://github.com/stackql
stackqlhttps://github.com/stackql/stackql
Please reload this pagehttps://github.com/stackql/stackql/pull/612/files
Notifications https://github.com/login?return_to=%2Fstackql%2Fstackql
Fork 80 https://github.com/login?return_to=%2Fstackql%2Fstackql
Star 861 https://github.com/login?return_to=%2Fstackql%2Fstackql
Code https://github.com/stackql/stackql
Issues 101 https://github.com/stackql/stackql/issues
Pull requests 1 https://github.com/stackql/stackql/pulls
Discussions https://github.com/stackql/stackql/discussions
Actions https://github.com/stackql/stackql/actions
Projects https://github.com/stackql/stackql/projects
Wiki https://github.com/stackql/stackql/wiki
Security and quality 0 https://github.com/stackql/stackql/security
Insights https://github.com/stackql/stackql/pulse
Code https://github.com/stackql/stackql
Issues https://github.com/stackql/stackql/issues
Pull requests https://github.com/stackql/stackql/pulls
Discussions https://github.com/stackql/stackql/discussions
Actions https://github.com/stackql/stackql/actions
Projects https://github.com/stackql/stackql/projects
Wiki https://github.com/stackql/stackql/wiki
Security and quality https://github.com/stackql/stackql/security
Insights https://github.com/stackql/stackql/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fstackql%2Fstackql%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fstackql%2Fstackql%2Fissues%2Fnew%2Fchoose
general-kroll-4-lifehttps://github.com/general-kroll-4-life
stackql:mainhttps://github.com/stackql/stackql/tree/main
Sneha41sb:test/annotatedast-coverage-85https://github.com/Sneha41sb/stackql/tree/test/annotatedast-coverage-85
Conversation 4 https://github.com/stackql/stackql/pull/612
Commits 9 https://github.com/stackql/stackql/pull/612/commits
Checks 19 https://github.com/stackql/stackql/pull/612/checks
Files changed https://github.com/stackql/stackql/pull/612/files
Please reload this pagehttps://github.com/stackql/stackql/pull/612/files
test: add unit and integration tests for annotatedast https://github.com/stackql/stackql/pull/612/files#top
Show all changes 9 commits https://github.com/stackql/stackql/pull/612/files
509ea92 test: add unit and integration tests for annotatedast Sneha41sb Feb 2, 2026 https://github.com/stackql/stackql/pull/612/commits/509ea92cbed9f6ffd66f699f85a38a5444e28402
d20476c rerun CI Sneha41sb Mar 9, 2026 https://github.com/stackql/stackql/pull/612/commits/d20476c6abfe53624e9e03c501000453abd2469f
632bd5e rerun lint CI Sneha41sb Mar 9, 2026 https://github.com/stackql/stackql/pull/612/commits/632bd5e14d4bb90f2de0b32ee62f84ffa93d4aeb
6dff3aa Update package comment to include nolint directive general-kroll-4-life Mar 12, 2026 https://github.com/stackql/stackql/pull/612/commits/6dff3aa048f11983a250a8d90768dc84fbc3238f
650ce4d Update package comment to allow testpackage linting general-kroll-4-life Mar 12, 2026 https://github.com/stackql/stackql/pull/612/commits/650ce4dbfaabeef1d46859c7b42c97cab0f362a9
a9315ab Delete internal/stackql/astanalysis/annotatedast/c.out general-kroll-4-life Mar 12, 2026 https://github.com/stackql/stackql/pull/612/commits/a9315abe10f0b0a7b1760348c2fc82200ea0f435
4c585ce Delete internal/stackql/astanalysis/annotatedast/coverage.html general-kroll-4-life Mar 12, 2026 https://github.com/stackql/stackql/pull/612/commits/4c585ce823c7e46c900df3544621f3606b7e3344
9f66dfd Delete internal/stackql/astanalysis/annotatedast/coverage.out general-kroll-4-life Mar 12, 2026 https://github.com/stackql/stackql/pull/612/commits/9f66dfdc5acf94deaec84e09691a0b7a5b2cd046
57db61f Delete cover.out general-kroll-4-life Mar 12, 2026 https://github.com/stackql/stackql/pull/612/commits/57db61f24585609f4b6ed026ff46d3123289a8cc
Clear filters https://github.com/stackql/stackql/pull/612/files
Please reload this pagehttps://github.com/stackql/stackql/pull/612/files
Please reload this pagehttps://github.com/stackql/stackql/pull/612/files
annotatedast_test.go https://github.com/stackql/stackql/pull/612/files#diff-32d995d28026feeb7e6fdfdf1d1bf6f94a1a991ac9d1472bf865babf0deb2a44
annotatedast_integration_test.go https://github.com/stackql/stackql/pull/612/files#diff-b1e3c15479aeacd84f5efe34d61e2ea834202a4555864ddd35b5d2f3a9098e26
internal/stackql/astanalysis/annotatedast/annotatedast_test.gohttps://github.com/stackql/stackql/pull/612/files#diff-32d995d28026feeb7e6fdfdf1d1bf6f94a1a991ac9d1472bf865babf0deb2a44
View file https://github.com/Sneha41sb/stackql/blob/57db61f24585609f4b6ed026ff46d3123289a8cc/internal/stackql/astanalysis/annotatedast/annotatedast_test.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/stackql/stackql/pull/612/{{ revealButtonHref }}
internal/stackql/astanalysis/annotatedast_integration_test.gohttps://github.com/stackql/stackql/pull/612/files#diff-b1e3c15479aeacd84f5efe34d61e2ea834202a4555864ddd35b5d2f3a9098e26
View file https://github.com/Sneha41sb/stackql/blob/57db61f24585609f4b6ed026ff46d3123289a8cc/internal/stackql/astanalysis/annotatedast_integration_test.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/stackql/stackql/pull/612/{{ revealButtonHref }}
Please reload this pagehttps://github.com/stackql/stackql/pull/612/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.