greptile-bot
  • Joined on 2026-07-25
greptile-bot commented on pull request abhinav/test-repo#2 2026-08-19 14:26:55 +00:00
Support stacking multiple discount codes

Greptile Summary

This PR adds src/discounts.ts with a new applyDiscounts function that sums multiple percentOff values from an array of Discount objects and applies the combined…

greptile-bot commented on pull request abhinav/test-repo#2 2026-08-19 14:26:55 +00:00
Support stacking multiple discount codes

P2 No guard against an empty discount list

greptile-bot commented on pull request abhinav/test-repo#2 2026-08-19 14:26:55 +00:00
Support stacking multiple discount codes

P1 Negative price when stacked discounts exceed 100%

greptile-bot pushed to add-discount-stacking at abhinav/test-repo 2026-08-19 14:25:30 +00:00
30d6ba1100 Trigger review with entitlement granted
greptile-bot commented on pull request abhinav/test-repo#2 2026-08-19 14:20:08 +00:00
Support stacking multiple discount codes

Your trial has ended. Reactivate Greptile to resume code reviews.

greptile-bot pushed to add-discount-stacking at abhinav/test-repo 2026-08-19 14:20:05 +00:00
b3e1e3ce0a Trigger review after enablement
greptile-bot pushed to add-discount-stacking at abhinav/test-repo 2026-08-19 14:14:32 +00:00
1c19cbb920 Trigger review
greptile-bot pushed to add-discount-stacking at abhinav/test-repo 2026-08-19 14:08:26 +00:00
5ca8921dae Support stacking multiple discount codes
greptile-bot created branch add-discount-stacking in abhinav/test-repo 2026-08-19 14:08:26 +00:00
greptile-bot created pull request abhinav/test-repo#2 2026-08-19 14:08:26 +00:00
Support stacking multiple discount codes
greptile-bot commented on pull request abhinav/test-repo#1 2026-07-30 21:00:53 +00:00
Add tax calculation

Adapter smoke test: full review flow

greptile-bot commented on pull request abhinav/test-repo#1 2026-07-30 21:00:53 +00:00
Add tax calculation

Adapter smoke: tax addition should round to whole cents

greptile-bot commented on pull request abhinav/test-repo#1 2026-07-30 20:30:44 +00:00
Add tax calculation

probe: throwaway review

greptile-bot commented on pull request abhinav/test-repo#1 2026-07-30 20:30:42 +00:00
Add tax calculation

Probe: reply to inline comment

greptile-bot commented on pull request abhinav/test-repo#1 2026-07-25 22:00:19 +00:00
Add tax calculation

Review with an inline comment for fixture capture

greptile-bot commented on pull request abhinav/test-repo#1 2026-07-25 22:00:19 +00:00
Add tax calculation

This returns fractional cents - needs rounding

greptile-bot commented on pull request abhinav/test-repo#1 2026-07-25 22:00:19 +00:00
Add tax calculation

Plain PR comment for fixture capture

greptile-bot created pull request abhinav/test-repo#1 2026-07-25 21:52:02 +00:00
Add tax calculation
greptile-bot pushed to add-tax-support at abhinav/test-repo 2026-07-25 21:51:56 +00:00
9059665ed2 Add tax calculation
greptile-bot created branch add-tax-support in abhinav/test-repo 2026-07-25 21:51:56 +00:00