feat: Add sharable analysis link - generate a permalink for results#188
Open
Vikrant0207 wants to merge 10 commits into
Open
feat: Add sharable analysis link - generate a permalink for results#188Vikrant0207 wants to merge 10 commits into
Vikrant0207 wants to merge 10 commits into
Conversation
imDarshanGK
requested changes
May 21, 2026
Owner
imDarshanGK
left a comment
There was a problem hiding this comment.
@Vikrant0207
Please fix the route mounting for share endpoints. [share.py] already defines , and [main.py] also includes the router with [prefix="/share"], which creates /share/share/* instead of /share/*. After that, please re-run the share tests and confirm the endpoints match the issue spec
Author
|
@imDarshanGK Now check :
|
imDarshanGK
requested changes
May 21, 2026
Owner
imDarshanGK
left a comment
There was a problem hiding this comment.
@Vikrant0207 Please clean up [share.py]) before merge. The file still has duplicate/conflicting code from a merge, and the request/response fields don’t match the current schema. After removing the conflict leftovers and aligning the share payload fields, I can re-review.
Author
|
@imDarshanGK /review |
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.

Summary
Added a share feature that allows users to generate shareable links for code analysis results.
Closes Issue #132
Changes made:
POST /share/andGET /share/{id}endpoints?share=IDType of Change
Testing
pytest -q)Checklist
Screenshot:
Output on web (After clicking the share analysis button):
Check the msg in bottom right corner.
Terminal output:
Additional note
I am GSSoC'26 Contributor. Please assign all the required labels. I would kindly request you to put the requied necessary labels to get points in GSSoC'26. I would highly appreciate if you give me type bonus and quality multipliers.