Skip to content

fix: undefined errors in braze, firehose, gaoc - #2139

Merged
yashasvibajpai merged 8 commits into
developfrom
fix.bugsnag.errors
May 9, 2023
Merged

yashasvibajpai merged 8 commits into
developfrom
fix.bugsnag.errors

Conversation

@yashasvibajpai

@yashasvibajpai yashasvibajpai commented May 8, 2023 •

Copy link
Copy Markdown
Contributor

Description of the change

Fix 'of undefined' errors in Braze, Firehose, GAOC.
Added support for retryable error in tiktok ads.

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Related issues

Fix #1

Checklists

Development

  • Lint rules pass locally
  • The code changed/added as part of this pull request has been covered with tests
  • All tests related to the changed code pass in development

Code review

  • This pull request has a descriptive title and information useful to a reviewer. There may be a screenshot or screencast attached
  • "Ready for review" label attached to the PR and reviewers mentioned in a comment
  • Changes have been reviewed by at least one other engineer
  • Issue from task tracker has a link to this pull request

@yashasvibajpai
yashasvibajpai requested a review from a team as a code owner May 8, 2023 09:58
@yashasvibajpai yashasvibajpai self-assigned this May 8, 2023
@codecov

codecov Bot commented May 8, 2023 •

Copy link
Copy Markdown

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (a0f9ae9) 87.89% compared to head (85c9fa0) 87.90%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2139   +/-   ##
========================================
  Coverage    87.89%   87.90%           
========================================
  Files          509      509           
  Lines        25783    25788    +5     
  Branches      6383     6386    +3     
========================================
+ Hits         22663    22668    +5     
  Misses        2787     2787           
  Partials       333      333           
Impacted Files Coverage Δ
...ations/google_adwords_offline_conversions/utils.js 94.40% <ø> (ø)
src/v0/destinations/braze/transform.js 84.88% <100.00%> (ø)
src/v0/destinations/firehose/transform.js 90.90% <100.00%> (+1.43%) ⬆️
src/v0/destinations/tiktok_ads/networkHandler.js 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Comment thread src/v0/destinations/braze/transform.js Resolved
@yashasvibajpai

Copy link
Copy Markdown
Contributor Author

@utsabc Also added support for retryable errors in case of tiktok ads.

@yashasvibajpai
yashasvibajpai requested a review from ItsSudip May 9, 2023 01:46
utsabc
utsabc previously approved these changes May 9, 2023
Comment thread src/v0/destinations/braze/transform.js Resolved
ItsSudip
ItsSudip previously approved these changes May 9, 2023
@yashasvibajpai
yashasvibajpai dismissed stale reviews from ItsSudip and utsabc via 97599d5 May 9, 2023 04:16
@yashasvibajpai
yashasvibajpai requested a review from ItsSudip May 9, 2023 04:21
ItsSudip
ItsSudip previously approved these changes May 9, 2023
@sonarqubecloud

sonarqubecloud Bot commented May 9, 2023

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 177 Code Smells

86.9% 86.9% Coverage
4.3% 4.3% Duplication

@yashasvibajpai
yashasvibajpai merged commit 06110c5 into develop May 9, 2023
@yashasvibajpai
yashasvibajpai deleted the fix.bugsnag.errors branch May 9, 2023 06:24
saikumarrs added a commit that referenced this pull request May 10, 2023
* chore(cicd): replace local with gha cache in build steps (#2128)

* chore(cicd): replace local with gha cache in build steps

* fix: add missing file

* fix: remove redundant parts in workflow files

* chore: empty commit to trigger actions

* chore: upgrade checkout action version to latest

* chore: turnoff lint rule

* fix: snyk issues fix (#2136)

* fix: package.json & package-lock.json to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-XML2JS-5414874

* fix: upgrade @aws-sdk/client-s3 from 3.295.0 to 3.306.0

Snyk has created this PR to upgrade @aws-sdk/client-s3 from 3.295.0 to 3.306.0.

See this package in npm:
https://www.npmjs.com/package/@aws-sdk/client-s3

See this project in Snyk:
https://app.snyk.io/org/rudder-integrations/project/a862a698-0e7a-46bd-8897-5dda3e28b3c6?utm_source=github&utm_medium=referral&page=upgrade-pr

* chore: upgrading aws-sdk/lib-storage version

---------

Co-authored-by: snyk-bot <[email protected]>

* feat: braze merge users (#2135)

* feat: braze merge users (#2135)

* chore: fix sending secrets to reusable workflows (#2147)

* feat: onboard new source formsort (#2120)

* formsort: onboarding new source

* feat: onboard formsort source

* update formsort file structure

* chore: comments addressed

---------

Co-authored-by: Saurav Lal <[email protected]>
Co-authored-by: Saurav Lal <[email protected]>
Co-authored-by: Mihir Bhalala <[email protected]>

* fix: undefined errors in braze, firehose, gaoc (#2139)

* fix: undefined errors in braze, firehose, gaoc

* fix: address comments

* fix: add retryable error support

* fix: 429 and event as a string, address comments

* fix: products is an array check before iterating

* chore: add tests, use native isArray

* chore: fix cases

* feat(ga4): common page call information(page, url, title) support in track call (#2141)

* chore(release): 1.27.0

* fix: update default error code to 500 (#2129)

* fix: update default error code to 500

* fix: update test cases

* chore: fix package.json

* fix: check event properties without making them to lower case (#2150)

---------

Co-authored-by: Sai Kumar Battinoju <[email protected]>
Co-authored-by: saikumarrs <[email protected]>
Co-authored-by: shrouti1507 <[email protected]>
Co-authored-by: snyk-bot <[email protected]>
Co-authored-by: AASHISH MALIK <[email protected]>
Co-authored-by: Anant Jain <[email protected]>
Co-authored-by: Saurav Lal <[email protected]>
Co-authored-by: Saurav Lal <[email protected]>
Co-authored-by: Mihir Bhalala <[email protected]>
Co-authored-by: Yashasvi Bajpai <[email protected]>
Co-authored-by: GitHub Actions <[email protected]>
Co-authored-by: Utsab Chowdhury <[email protected]>
Co-authored-by: Sudip Paul <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants