-
Notifications
You must be signed in to change notification settings - Fork 61
Blame #778
base: development
Are you sure you want to change the base?
Blame #778
Conversation
callback created
initial stages needing input
✅ Deploy Preview for ubiquibot-staging ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@pavlovcik Bit busy the past few days but finally got around to it, let me know what your thoughts are when you can |
Let's do two dot compare instead of three dot. I think it shows every file change. To be honest I'm not 100% clear on the difference but one seems to be more granular. I think for peripheral change we can figure an improvement to the feature with a new bounty. Not all lines of code changed are equal so that's why I don't want to "blame more" who changed the most lines of code. However in the blame list we could sort by most lines of code changed to least but I don't think we need to emphasize this. As long as they changed any lines from the merged pull request, they are a suspect. This is cool to see currently. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code and qa looks pretty solid so far
Three dot gets the benefit of the GitHub UI prettifying it for us. In order to get a two dot comparison we'll need to handle formatting the url ourselves. Currently: ref...ref and it works Incoming: Use the compareChanges url with dual dots and insert the refs ourselves, but how should it be formatted? https://github.com/Keyrxng/UbiquityBotTesting/issues/47#issuecomment-1722344751 |
assorted blame
show reviewers, use chars changed, remove count
Now showing the reviewers, which PRs they reviewed as well the count being removed from hunters. Included a comparison for all merge commits and left in the example 2 and 3 dot comparisons lmk which of the two is the preference. Where do I take it from here? |
I fear that merged pulls and commits lists could get massive but I can't think of a better solution now. Seems pretty solid so far. As a heads up we are temporarily pausing merged into Furthermore we plan to only accept with unit tests so if you want to try and get a head start feel free or you can standby for another week to add when jest is merged in the project |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using null is more expressive than "" to signal that it is intentionally an empty value.
Besides it's less verbose to check conditional statements as well, given that null is falsely and "" is truthy
You should apply this everywhere applicable
null instead
Resolves #758
Quality Assurance:
https://github.com/Keyrxng/UbiquityBotTesting/issues/1#issuecomment-1722343964
https://github.com/Keyrxng/UbiquityBotTesting/issues/47#issuecomment-1722344751
The diff comparison works by finding the
merge_commit_sha
and compares it tocurrentCommit.sha
Looking for opinions going forward from here in regards to identifying who broke the feature of the issue.
We can go direct and say 'who changed the code from pr a to pr b' and that's who is at fault but what if the feature of the issue gets broken by a peripheral change, how do we identify that? (The more I think about it this will likely be in the AI infused version am I right?)
Or do we approach it from a 'this was the last working version' so last man on top carries the burden?
Your spec sounds a lot like 'pr a to pr b' for me, so my next steps (at least for the first iteration) will be simply looking for any commits that overwrite the implementation of the issue.
I'm thinking if there are multiple contributors then it'll just need to boil down to whoever changed the most code?