New Adapter: Matterfull - #4343
Conversation
Code coverage summaryNote:
matterfullRefer here for heat map coverage report |
Code coverage summaryNote:
matterfullRefer here for heat map coverage report |
|
@ShriprasadM can you please review? |
|
@ShriprasadM Hi! Can you please tell me the status of our adapter and what we need to do next? |
|
@ShriprasadM Please let us know if you need anything from our side in order to complete the review. |
Code coverage summaryNote:
matterfullRefer here for heat map coverage report |
@Matterfull : Was busy with some other work. I will look into this today |
|
@ShriprasadM Do we have any updates? |
|
@scr-oath I fixed the errors according to the last code review. Tell me, I think I incorrectly brought to the current version of the repository and pushed. |
scr-oath
left a comment
There was a problem hiding this comment.
Hmm… I started to review changes in other adapters and then realized - is this merged properly? Why are we picking up other changes and not merely changes to the materfull adapter?
5ef785a to
9e38a98
Compare
Code coverage summaryNote:
matterfullRefer here for heat map coverage report |
|
@scr-oath Hi, we fixed our pull request, the latest changes were added correctly and we ask for a re-code review. |
scr-oath
left a comment
There was a problem hiding this comment.
I'm so happy that you were able to salvage the review and reduce it down to only your changes. Would you mind ensuring that each outstanding comment is either resolved (can you resolve them?) or has a reply by you if you need more clarification?
Code coverage summaryNote:
matterfullRefer here for heat map coverage report |
|
@scr-oath We have checked and responded to all previous tasks to improve the adapter. The latest found defects have been fixed. Please review the code again. |
|
@scr-oath Please check our latest changes. |
|
@scr-oath Hi, just checking in on the Matterfull adapter. The follow-up changes addressing your optional review notes are on the current head, and @postindustria-code has re-approved it. The remaining Semgrep failure is the known fork/ |
|
@scr-oath Hi, sorry to ping again. We are still waiting for the second approval on the Matterfull adapter. @postindustria-code has approved the current head, and the branch has not changed since the last reminder. Could you please take another look when you have a moment? Thanks. |
|
@przemkaczmarek, @linux019 |
Code coverage summaryNote:
matterfullRefer here for heat map coverage report |
| } | ||
|
|
||
| // MakeBids translates Matterfull bid response to prebid-server specific format | ||
| func (adapter *adapter) MakeBids(internalRequest *openrtb2.BidRequest, externalRequest *adapters.RequestData, response *adapters.ResponseData) (*adapters.BidderResponse, []error) { |
There was a problem hiding this comment.
The receiver is named adapter, which is the same as the type name.
This is unconventional in Go and creates confusing expressions like
adapter.EndpointTemplate inside a method on *adapter.
PBS convention is a short single-letter (or two-letter) receiver
that abbreviates the type — e.g. a:
func (a *adapter) MakeRequests(...)
func (a *adapter) MakeBids(...)
func (a *adapter) buildAdapterRequest(...)
func (a *adapter) buildEndpointURL(...)
There was a problem hiding this comment.
Done in 9eee013 — renamed the receiver to a in all four adapter methods. The targeted tests pass with 100% Matterfull coverage, and go vet is clean.
Code coverage summaryNote:
matterfullRefer here for heat map coverage report |
|
@przemkaczmarek @postindustria-code @hhhjort @linux019 @scr-oath Thank you both for approving the current head. All required checks are passing, and GitHub reports the PR as approved and mergeable, but it is still blocked with nine unresolved review conversations, mostly older non-blocking notes that have already been addressed or acknowledged. Could one of you please help resolve the remaining conversations and move the PR toward merge? Thanks. |
Code coverage summaryNote:
matterfullRefer here for heat map coverage report |
Code coverage summaryNote:
matterfullRefer here for heat map coverage report |
|
@bsardo ready to merge |
|
@bsardo Hi, just following up on this PR. The current head has two approvals, is mergeable, and the required |
9eee013
|
@przemkaczmarek @postindustria-code @linux019 @scr-oath @hhhjort @SyntaxNode The receiver rename requested in the latest review is now in 9eee013. This is a mechanical naming-only change; the targeted suite passes, Matterfull remains at 100% coverage, and |
Code coverage summaryNote:
matterfullRefer here for heat map coverage report |
Code coverage summaryNote:
matterfullRefer here for heat map coverage report |
Docs PR - prebid/prebid.github.io#6042