Skip to content
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

fix(CI): extend logging in architecture-integrity scripts & add NativeProxy.kt to blacklist #2281

Merged
merged 6 commits into from
Aug 5, 2024

Conversation

kkafar
Copy link
Member

@kkafar kkafar commented Aug 5, 2024

Description

I was initially confused why the CI fails, so I debugged it a bit and it turned out that we forgot to add NativeProxy.kt to blacklist in the integrity scripts. <- Did it.

Because of the initial confusion I've decided to add some more logging & error handling mechanisms.

Test code and steps to reproduce

CI now passes. If similar case happens in the future we will get a nice error message.

Checklist

  • Ensured that CI passes

@kkafar kkafar changed the title fix(CI): WIP fix(CI): extend logging in architecture-integrity scripts & add NativeProxy.kt to blacklist Aug 5, 2024
@kkafar kkafar merged commit 3097f01 into main Aug 5, 2024
2 checks passed
@kkafar kkafar deleted the @kkafar/fix-ci branch August 5, 2024 09:10
github-merge-queue bot referenced this pull request in valora-inc/wallet Sep 10, 2024
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[react-native-screens](https://redirect.github.com/software-mansion/react-native-screens)
| [`^3.33.0` ->
`^3.34.0`](https://renovatebot.com/diffs/npm/react-native-screens/3.33.0/3.34.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-native-screens/3.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-native-screens/3.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-native-screens/3.33.0/3.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-native-screens/3.33.0/3.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>software-mansion/react-native-screens
(react-native-screens)</summary>

###
[`v3.34.0`](https://redirect.github.com/software-mansion/react-native-screens/releases/tag/3.34.0)

[Compare
Source](https://redirect.github.com/software-mansion/react-native-screens/compare/3.33.0...3.34.0)

Recently released
[3.33.0](https://redirect.github.com/software-mansion/react-native-screens/releases/tag/3.33.0)
introduced a crash **when running on** Android + Fabric + "bridgefull"
combination of platform / architecture. This version introduces a fix
for that crash with changes in native code, thus bumping minor version.

#### What's Changed

#### 🐛 Bug fixes

- Android, Fabric, bridge-mode: patch crash with context detached from
activity by [@&#8203;kkafar](https://redirect.github.com/kkafar) in
[https://github.com/software-mansion/react-native-screens/pull/2276](https://redirect.github.com/software-mansion/react-native-screens/pull/2276)

#### 🔢 Miscellaneous

- Extend logging in architecture-integrity scripts & add NativeProxy.kt
to blacklist by [@&#8203;kkafar](https://redirect.github.com/kkafar) in
[https://github.com/software-mansion/react-native-screens/pull/2281](https://redirect.github.com/software-mansion/react-native-screens/pull/2281)
- Aggregate updates from dependabot by
[@&#8203;kkafar](https://redirect.github.com/kkafar) in
[https://github.com/software-mansion/react-native-screens/pull/2267](https://redirect.github.com/software-mansion/react-native-screens/pull/2267)

**Full Changelog**:
software-mansion/react-native-screens@3.33.0...3.34.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 5pm,every weekend" in timezone
America/Los_Angeles, Automerge - "after 5pm,every weekend" in timezone
America/Los_Angeles.

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/valora-inc/wallet).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41OS4yIiwidXBkYXRlZEluVmVyIjoiMzguNTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsibnBtIiwicmVub3ZhdGUiXX0=-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: valora-bot <valorabot@valoraapp.com>
Co-authored-by: Jean Regisser <jean.regisser@gmail.com>
github-merge-queue bot referenced this pull request in valora-inc/wallet Sep 10, 2024
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[react-native-screens](https://redirect.github.com/software-mansion/react-native-screens)
| [`^3.33.0` ->
`^3.34.0`](https://renovatebot.com/diffs/npm/react-native-screens/3.33.0/3.34.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-native-screens/3.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-native-screens/3.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-native-screens/3.33.0/3.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-native-screens/3.33.0/3.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>software-mansion/react-native-screens
(react-native-screens)</summary>

###
[`v3.34.0`](https://redirect.github.com/software-mansion/react-native-screens/releases/tag/3.34.0)

[Compare
Source](https://redirect.github.com/software-mansion/react-native-screens/compare/3.33.0...3.34.0)

Recently released
[3.33.0](https://redirect.github.com/software-mansion/react-native-screens/releases/tag/3.33.0)
introduced a crash **when running on** Android + Fabric + "bridgefull"
combination of platform / architecture. This version introduces a fix
for that crash with changes in native code, thus bumping minor version.

#### What's Changed

#### 🐛 Bug fixes

- Android, Fabric, bridge-mode: patch crash with context detached from
activity by [@&#8203;kkafar](https://redirect.github.com/kkafar) in
[https://github.com/software-mansion/react-native-screens/pull/2276](https://redirect.github.com/software-mansion/react-native-screens/pull/2276)

#### 🔢 Miscellaneous

- Extend logging in architecture-integrity scripts & add NativeProxy.kt
to blacklist by [@&#8203;kkafar](https://redirect.github.com/kkafar) in
[https://github.com/software-mansion/react-native-screens/pull/2281](https://redirect.github.com/software-mansion/react-native-screens/pull/2281)
- Aggregate updates from dependabot by
[@&#8203;kkafar](https://redirect.github.com/kkafar) in
[https://github.com/software-mansion/react-native-screens/pull/2267](https://redirect.github.com/software-mansion/react-native-screens/pull/2267)

**Full Changelog**:
software-mansion/react-native-screens@3.33.0...3.34.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 5pm,every weekend" in timezone
America/Los_Angeles, Automerge - "after 5pm,every weekend" in timezone
America/Los_Angeles.

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/valora-inc/wallet).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41OS4yIiwidXBkYXRlZEluVmVyIjoiMzguNTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsibnBtIiwicmVub3ZhdGUiXX0=-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: valora-bot <valorabot@valoraapp.com>
Co-authored-by: Jean Regisser <jean.regisser@gmail.com>
ja1ns pushed a commit to WiseOwlTech/react-native-screens that referenced this pull request Oct 9, 2024
…eProxy.kt to blacklist (software-mansion#2281)

## Description

I was initially confused why the CI fails, so I debugged it a bit and it
turned out that we forgot to add `NativeProxy.kt` to blacklist in the
integrity scripts. <- Did it.

Because of the initial confusion I've decided to add some more logging &
error handling mechanisms.

## Test code and steps to reproduce

CI now passes. If similar case happens in the future we will get a nice
error message.

## Checklist

- [x] Ensured that CI passes
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.

1 participant