-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deleted files #291
Deleted files #291
Conversation
https://github.com/ishowvel/text-conversation-rewards/actions/runs/13540880010 |
tests are becoming more and more unreliable because of the timeouts, they fail in both of my pull requests when they should have passed |
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.
The current implementation only skips counting deleted files but does not subtract their line counts from the total as specified in the issue. The code needs to be modified to: 1) Track the total lines removed from deleted files separately 2) Subtract those lines from the final line count calculation 3) Consider different weighting for deleted cypress test files vs application code. Please update the implementation to fully address these requirements.
@gentlementlegen total line count was made from adding the deletions of deleted files earlier, this implementation just skips adding the deleted files diff to avoid adding and then subtracting edit: maybe this far-fetched but the bot could check if the requested changes message has been replied to; if it has, the bot could use the replies "counter argument" and review again. if the review fails again the bot should also say that "if you havent found this result satisfactory, please contact codeowners" |
will qa in a bit |
If you can show QA that will allow us to approve this easily. |
It seems like if you passed in the entire file as context (not just the diff) it would be able to understand the full picture and possibly let this pass. |
Also, I would like some unit tests with this pull-request. |
Passing full files would eat up the context length really quickly, if a single log is edited on a file and the entire file gets submitted as context. That would be a waste in my opinion |
Will add tomorrow, it's past midnight right now |
I agree but I'm not sure how else to solve for this. Maybe it can request to see more of the file after internal reasoning step. Chain of thought @shiv810 rfc |
We could create a rolling code viewer, like the one used in |
I really hope that we can use an existing open source setup instead of reinventing the wheel. |
ubiquity-os-marketplace/daemon-pull-review#15 - Let's start here? I've suggested |
@ishowvel, you have used |
Giving an exam today, will add tests and provide qa as soon as I come back |
You'll need to self unassign before you get disqualified. |
on a side note, isnt the bot supposed to notify on each use of a deadline extension, or is this intentional? |
knip shouldnt fail as "GithubDiff" is used in both "process.issue.test.ts" and "review-incentivizer.test.ts", so its not an unused export |
The top ups are based on the time since you started the task so it is intentional.
I don't think tests files are referenced as en entry point for knip which is probably why it considers that this file is not used. |
@gentlementlegen heres the qa, i decided against removing the row with the empty changes as it wouldnt make sense at least in my opinion |
I just realized but the precheck said thumbs up and requested changes. It needs to clear its previous state after running again. |
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.
QA seems fine
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.
Changes seem fine.
1fb1ea1
into
ubiquity-os-marketplace:development
Resolves #270