Skip to content

Conversation

@transphorm
Copy link
Member

@transphorm transphorm commented Aug 10, 2025

Summary

  • exclude app/android from license header checks
  • ensure configs, scripts, and docs examples carry BUSL headers via ESLint

Testing

  • yarn workspace @selfxyz/mobile-sdk-alpha nice
  • yarn workspace @selfxyz/common nice (fails: Require statement not part of import statement)
  • yarn workspace @selfxyz/mobile-app nice (fails: 19 errors)
  • yarn lint
  • yarn build
  • yarn workspace @selfxyz/contracts build (fails: Invalid account: #0 for network: mainnet - Expected string, received undefined)
  • yarn types
  • yarn workspace @selfxyz/common test
  • yarn workspace @selfxyz/circuits test (fails: Unsupported signature algorithm: undefined)
  • yarn workspace @selfxyz/mobile-app test
  • yarn workspace @selfxyz/mobile-sdk-alpha test
  • rg --files-without-match "SPDX-License-Identifier: BUSL-1.1" -g '*.ts' -g '*.tsx' -g '*.js' -g '*.cjs' -g '*.kt' -g '*.java' -g '*.rb' -g '*.sh' -g '!android/**' app

https://chatgpt.com/codex/tasks/task_b_68990600bbc4832d900feaf96d98da46

Summary by CodeRabbit

  • Chores
    • Added SPDX license headers across the project for licensing compliance; no functional impact.
  • Documentation
    • Clarified and reorganized tree-shaking examples and comments to improve readability.
  • Style
    • Standardized imports, quoting, and minor formatting (including type-only imports); no behavior changes.
  • Tests
    • Added license headers to test files; no changes to test logic.
  • Build/CI
    • Updated build-test script to invoke bundle analysis directly; no impact on app runtime or features.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Aug 10, 2025

Warning

Rate limit exceeded

@transphorm has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 21 minutes and 22 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between d8b2f60 and 268c33c.

📒 Files selected for processing (37)
  • app/.eslintrc.cjs (2 hunks)
  • app/babel.config.cjs (1 hunks)
  • app/declarations.d.ts (1 hunks)
  • app/docs/examples/tree-shaking/granular-circuits-example.ts (1 hunks)
  • app/docs/examples/tree-shaking/level2-optimal-example.ts (2 hunks)
  • app/docs/examples/tree-shaking/level3-migration-guide.ts (3 hunks)
  • app/docs/examples/tree-shaking/level3-optimal-example.ts (1 hunks)
  • app/env.ts (1 hunks)
  • app/fastlane/helpers.rb (1 hunks)
  • app/fastlane/helpers/android.rb (1 hunks)
  • app/fastlane/helpers/common.rb (1 hunks)
  • app/fastlane/helpers/ios.rb (3 hunks)
  • app/fastlane/helpers/slack.rb (1 hunks)
  • app/fastlane/helpers/version_manager.rb (2 hunks)
  • app/fastlane/test/app_name_test.rb (1 hunks)
  • app/fastlane/test/helpers_test.rb (1 hunks)
  • app/jest.config.cjs (1 hunks)
  • app/metro.config.cjs (1 hunks)
  • app/package.json (1 hunks)
  • app/react-native.config.cjs (1 hunks)
  • app/scripts/alias-imports.cjs (1 hunks)
  • app/scripts/analyze-tree-shaking.cjs (1 hunks)
  • app/scripts/bundle-analyze-ci.cjs (1 hunks)
  • app/scripts/check-duplicate-headers.cjs (1 hunks)
  • app/scripts/cleanup-ios-build.sh (1 hunks)
  • app/scripts/generate-changelog.sh (1 hunks)
  • app/scripts/release.sh (1 hunks)
  • app/scripts/test-e2e-local.sh (1 hunks)
  • app/scripts/test-tree-shaking.cjs (1 hunks)
  • app/scripts/tests/alias-imports.test.cjs (1 hunks)
  • app/scripts/tests/bundle-analyze-ci.test.cjs (1 hunks)
  • app/scripts/tests/cleanup-ios-build.test.cjs (1 hunks)
  • app/scripts/tests/mobile-deploy-confirm-module.test.cjs (1 hunks)
  • app/scripts/tests/tree-shaking.test.cjs (1 hunks)
  • app/scripts/version.cjs (1 hunks)
  • app/src/types/png.d.ts (1 hunks)
  • app/src/types/svg.d.ts (1 hunks)

Walkthrough

This PR adds SPDX license headers across configs, scripts, Fastlane helpers, tests, and example files; updates ESLint ignorePatterns and overrides; re-enables the header rule for .cjs; converts some TS imports to type-only; performs minor import reorderings/formatting; and updates the test:build script to call bundle-analyze directly.

Changes

Cohort / File(s) Change summary
ESLint config adjustments
app/.eslintrc.cjs
Added SPDX header; removed '.d.ts', 'metro.config.cjs', and 'docs/examples/' from ignorePatterns; added override disabling unused-vars and import/no-unresolved for docs/examples/**/.ts; re-enabled header/header for *.cjs.
Project configs licensing
app/babel.config.cjs, app/jest.config.cjs, app/metro.config.cjs, app/react-native.config.cjs
Added SPDX license headers; no functional changes.
Docs examples (tree-shaking)
app/docs/examples/tree-shaking/granular-circuits-example.ts, .../level2-optimal-example.ts, .../level3-optimal-example.ts, .../level3-migration-guide.ts
Added SPDX headers; reordered imports; in level3-migration-guide: reordered/renamed example functions and comments; no logic changes.
Scripts (license/formatting only)
app/scripts/analyze-tree-shaking.cjs, .../bundle-analyze-ci.cjs, .../check-duplicate-headers.cjs, .../test-tree-shaking.cjs, .../alias-imports.cjs, .../version.cjs, .../cleanup-ios-build.sh, .../generate-changelog.sh, .../release.sh, .../test-e2e-local.sh, app/scripts/tests/*.cjs
Added SPDX headers; added/adjusted blank lines; no logic changes.
Fastlane helpers and tests
app/fastlane/helpers.rb, app/fastlane/helpers/android.rb, app/fastlane/helpers/common.rb, app/fastlane/helpers/ios.rb, app/fastlane/helpers/version_manager.rb, app/fastlane/helpers/slack.rb, app/fastlane/test/*.rb
Added SPDX headers; ios.rb minor trailing commas; version_manager.rb switched single to double quotes and whitespace cleanup; no behavior changes.
Type declarations
app/src/types/png.d.ts, app/src/types/svg.d.ts, app/declarations.d.ts
Added SPDX headers (png/svg); converted React/SvgProps imports to import type; no type surface changes.
Env formatting
app/env.ts
Inserted a blank line after header; no functional change.
Package script
app/package.json
Modified "test:build" to call node ./scripts/bundle-analyze-ci.cjs ios directly instead of yarn analyze:bundle:ios.

Sequence Diagram(s)

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related PRs

Suggested reviewers

  • motemotech
  • remicolin
  • aaronmgdr

Poem

New banners wave atop each file,
SPDX whispers, rank and file.
Imports shuffle, scripts align,
Linting rules now toe the line.
Tests and types all neatly dressed—
A tidy repo, license-blessed.
Onward, build; the headers shine!

✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch codex/insert-spdx-license-identifier-in-code-files

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@transphorm transphorm marked this pull request as ready for review August 10, 2025 21:29
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🧹 Nitpick comments (10)
app/docs/examples/tree-shaking/level2-optimal-example.ts (1)

1-1: Optional: adopt multi-line SPDX/REUSE style for broader tooling compatibility

Some scanners prefer SPDX and copyright lines split. If your ESLint header rule allows, consider:

-// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11
+// SPDX-License-Identifier: BUSL-1.1
+// Copyright (c) 2025 Social Connect Labs, Inc.
+// Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11
app/src/types/png.d.ts (1)

1-1: Optional typing improvement (not blocking this PR)

Unrelated to licensing, but consider tightening the PNG module typing to improve RN type-safety:

// app/src/types/png.d.ts
declare module '*.png' {
  import { ImageSourcePropType } from 'react-native';
  const content: ImageSourcePropType;
  export default content;
}
app/docs/examples/tree-shaking/level3-optimal-example.ts (1)

1-1: SPDX header added — looks good

Placement and comment style are correct. If your ESLint rule expects a standalone SPDX line, consider splitting as suggested in tests to avoid false positives.

app/fastlane/helpers/ios.rb (1)

1-1: Keep SPDX identifier on its own line for maximum tooling compatibility

Some scanners expect the SPDX tag to be on a standalone line. Suggest splitting the combined header into separate lines.

-# SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11
+# SPDX-License-Identifier: BUSL-1.1
+# Copyright (c) 2025 Social Connect Labs, Inc.
+# Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11
app/scripts/analyze-tree-shaking.cjs (1)

2-2: Place SPDX on its own line; keep shebang on line 1 (good)

Shebang remains first (correct). For better SPDX tooling support, split the header into multiple lines.

-// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11
+// SPDX-License-Identifier: BUSL-1.1
+// Copyright (c) 2025 Social Connect Labs, Inc.
+// Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11
app/fastlane/helpers/common.rb (1)

1-1: Split the license header for SPDX parsers

Keeping the SPDX identifier alone on the first line improves parser reliability.

-# SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11
+# SPDX-License-Identifier: BUSL-1.1
+# Copyright (c) 2025 Social Connect Labs, Inc.
+# Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11
app/fastlane/helpers/android.rb (1)

1-1: Split combined header into separate lines

Improves compatibility with SPDX scanners and code formatters.

-# SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11
+# SPDX-License-Identifier: BUSL-1.1
+# Copyright (c) 2025 Social Connect Labs, Inc.
+# Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11
app/metro.config.cjs (1)

1-1: Prefer standalone SPDX identifier line

Consider splitting the header for better SPDX tooling support.

-// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11
+// SPDX-License-Identifier: BUSL-1.1
+// Copyright (c) 2025 Social Connect Labs, Inc.
+// Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11
app/fastlane/helpers/slack.rb (1)

1-1: Split header into multiple lines for SPDX compatibility

This is a nit, but helps automated scanners and keeps consistency across languages.

-# SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11
+# SPDX-License-Identifier: BUSL-1.1
+# Copyright (c) 2025 Social Connect Labs, Inc.
+# Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11
app/scripts/test-e2e-local.sh (1)

2-2: Shell header: SPDX on its own line; shebang stays first (good)

Split the combined header for better SPDX parsing while keeping shebang on line 1.

-# SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11
+# SPDX-License-Identifier: BUSL-1.1
+# Copyright (c) 2025 Social Connect Labs, Inc.
+# Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11
📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between d8b2f60 and e5c9d57.

📒 Files selected for processing (30)
  • app/.eslintrc.cjs (2 hunks)
  • app/babel.config.cjs (1 hunks)
  • app/docs/examples/tree-shaking/granular-circuits-example.ts (1 hunks)
  • app/docs/examples/tree-shaking/level2-optimal-example.ts (1 hunks)
  • app/docs/examples/tree-shaking/level3-migration-guide.ts (1 hunks)
  • app/docs/examples/tree-shaking/level3-optimal-example.ts (1 hunks)
  • app/fastlane/helpers/android.rb (1 hunks)
  • app/fastlane/helpers/common.rb (1 hunks)
  • app/fastlane/helpers/ios.rb (1 hunks)
  • app/fastlane/helpers/slack.rb (1 hunks)
  • app/fastlane/test/app_name_test.rb (1 hunks)
  • app/fastlane/test/helpers_test.rb (1 hunks)
  • app/jest.config.cjs (1 hunks)
  • app/metro.config.cjs (1 hunks)
  • app/react-native.config.cjs (1 hunks)
  • app/scripts/analyze-tree-shaking.cjs (1 hunks)
  • app/scripts/bundle-analyze-ci.cjs (1 hunks)
  • app/scripts/check-duplicate-headers.cjs (1 hunks)
  • app/scripts/cleanup-ios-build.sh (1 hunks)
  • app/scripts/generate-changelog.sh (1 hunks)
  • app/scripts/release.sh (1 hunks)
  • app/scripts/test-e2e-local.sh (1 hunks)
  • app/scripts/test-tree-shaking.cjs (1 hunks)
  • app/scripts/tests/alias-imports.test.cjs (1 hunks)
  • app/scripts/tests/bundle-analyze-ci.test.cjs (1 hunks)
  • app/scripts/tests/cleanup-ios-build.test.cjs (1 hunks)
  • app/scripts/tests/mobile-deploy-confirm-module.test.cjs (1 hunks)
  • app/scripts/tests/tree-shaking.test.cjs (1 hunks)
  • app/src/types/png.d.ts (1 hunks)
  • app/src/types/svg.d.ts (1 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
app/src/**/*.{ts,tsx,js,jsx}

⚙️ CodeRabbit Configuration File

app/src/**/*.{ts,tsx,js,jsx}: Review React Native TypeScript code for:

  • Component architecture and reusability
  • State management patterns
  • Performance optimizations
  • TypeScript type safety
  • React hooks usage and dependencies
  • Navigation patterns

Files:

  • app/src/types/png.d.ts
  • app/src/types/svg.d.ts
🔇 Additional comments (21)
app/docs/examples/tree-shaking/level2-optimal-example.ts (1)

1-1: SPDX header added correctly

Header syntax and placement look good. No functional impact.

app/docs/examples/tree-shaking/granular-circuits-example.ts (1)

1-1: SPDX header added correctly

Consistent with other example files. No functional changes.

app/src/types/png.d.ts (1)

1-1: SPDX header added correctly

Looks good and consistent with TypeScript single-line comment style.

app/src/types/svg.d.ts (1)

1-1: SPDX header added correctly

Header format and placement are correct for .d.ts files.

app/docs/examples/tree-shaking/level3-migration-guide.ts (1)

1-1: SPDX header added correctly

No content changes beyond licensing; header placement is correct.

app/fastlane/test/app_name_test.rb (1)

1-1: SPDX header added correctly

Ruby comment style is correct; no impact on tests.

app/scripts/tests/mobile-deploy-confirm-module.test.cjs (1)

1-1: SPDX header added correctly

Header added without affecting CommonJS test semantics.

app/scripts/tests/alias-imports.test.cjs (2)

2-2: SPDX header after shebang — correct placement

With a shebang on Line 1, placing the header on Line 2 is the right call.


2-2: All SPDX headers are correctly applied

The ripgrep check returned no missing files—every code file (excluding app/android) includes the BUSL-1.1 SPDX header on its first non-shebang line. No further action required.

app/scripts/release.sh (1)

2-2: Shebang preserved; header correctly placed on line 2

This is the right placement for shell scripts. No functional impact.

app/jest.config.cjs (1)

1-1: SPDX header added — acknowledged

CJS single-line comment is appropriate. Ensure your ESLint header rule pattern matches this exact format across configs.

app/scripts/cleanup-ios-build.sh (1)

2-2: Header placement is correct for shell

Kept after the shebang; no runtime effect. Good.

app/scripts/generate-changelog.sh (1)

2-2: Header placement is correct for shell

No functional change; safe.

app/react-native.config.cjs (1)

1-1: SPDX header added — good

No behavioral impact. Consistent with other configs.

app/babel.config.cjs (1)

1-1: SPDX header added — good

No functional change; aligns with repo-wide standardization.

app/scripts/bundle-analyze-ci.cjs (1)

2-2: Header placement LGTM

Header comes right after the shebang, which avoids breaking executable scripts and aligns with ESLint’s header rule.

app/scripts/tests/tree-shaking.test.cjs (1)

2-2: Header added correctly

Consistent with the enforced single-line header format. No test behavior changes.

app/scripts/test-tree-shaking.cjs (1)

2-2: Header added correctly

Placed after the shebang; won’t affect script execution.

app/scripts/tests/bundle-analyze-ci.test.cjs (1)

2-2: Header added correctly

Matches the configured ESLint header; no impact on test logic.

app/fastlane/test/helpers_test.rb (1)

1-1: Header added correctly

Ruby comment style is correct; no semantic changes to tests.

app/.eslintrc.cjs (1)

1-1: ESLint header rule alignment

Top-of-file header matches the configured single-line header string. Good consistency across files.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 5

🧹 Nitpick comments (5)
fix_all_missing_newlines.sh (1)

37-37: Fix mojibake in completion message.

The final echo prints garbled characters. Use a valid emoji or plain text.

-echo "�� All files fixed!"
+echo "✅ All files fixed!"
fix_all_comprehensive.sh (2)

5-26: Reduce maintenance: populate arrays programmatically from detector output.

Manually curating single/split lists is error-prone. Prefer generating these lists via find_missing_newlines_fixed.sh (which can emit the correct “after line” for each file), or unify into one auto-detecting fixer.

I can provide a single script that reads filenames and whether to insert after 1 or 2 based on shebang/license detection.

Also applies to: 27-50


51-51: Fix mojibake in completion message.

-echo "�� All files fixed!"
+echo "✅ All files fixed!"
find_missing_newlines_fixed.sh (2)

1-4: Add safe shell options.

Harden the script to fail fast and avoid word-splitting surprises.

 #!/bin/bash
 
-echo "🔍 Finding ALL files missing new lines after license headers (including split headers)..."
+set -euo pipefail
+IFS=$'\n\t'
+
+echo "🔍 Finding ALL files missing new lines after license headers (including split headers)..."

30-38: Clarify policy: enforce an actual blank line (not a comment) after the header.

You currently treat a comment line as acceptable. If the goal is “blank line after license header,” tighten the check to require an empty line.

Proposed stricter checks:

-                if [ -n "$third_line" ] && ! [[ "$third_line" =~ ^[[:space:]]*$ ]] && ! [[ "$third_line" =~ ^[[:space:]]*// ]] && ! [[ "$third_line" =~ ^[[:space:]]*# ]] && ! [[ "$third_line" =~ ^[[:space:]]*/\* ]]; then
+                if [ -n "$third_line" ] && ! [[ "$third_line" =~ ^[[:space:]]*$ ]]; then
-                if [ -n "$second_line" ] && ! [[ "$second_line" =~ ^[[:space:]]*$ ]] && ! [[ "$second_line" =~ ^[[:space:]]*// ]] && ! [[ "$second_line" =~ ^[[:space:]]*# ]] && ! [[ "$second_line" =~ ^[[:space:]]*/\* ]]; then
+                if [ -n "$second_line" ] && ! [[ "$second_line" =~ ^[[:space:]]*$ ]]; then

Please confirm whether comments are allowed immediately after the header or if an empty line is mandatory. I can adjust the fixer accordingly.

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 530b4f8 and be49c7d.

📒 Files selected for processing (7)
  • app/.eslintrc.cjs (2 hunks)
  • app/jest.config.cjs (1 hunks)
  • app/metro.config.cjs (1 hunks)
  • app/src/types/png.d.ts (1 hunks)
  • find_missing_newlines_fixed.sh (1 hunks)
  • fix_all_comprehensive.sh (1 hunks)
  • fix_all_missing_newlines.sh (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (4)
  • app/jest.config.cjs
  • app/.eslintrc.cjs
  • app/src/types/png.d.ts
  • app/metro.config.cjs
⏰ Context from checks skipped due to timeout of 300000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
  • GitHub Check: e2e-ios
  • GitHub Check: analyze-ios
  • GitHub Check: analyze-android
  • GitHub Check: build

@transphorm transphorm changed the title Add BUSL license headers Add additional missing BUSL license headers Aug 10, 2025
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Aug 10, 2025

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@transphorm
Copy link
Member Author

@coderabbitai full review

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Aug 10, 2025

✅ Actions performed

Full review triggered.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🧹 Nitpick comments (1)
app/fastlane/helpers/ios.rb (1)

10-15: Remove trailing comma (RuboCop: Style/TrailingCommaInArguments)

Keep argument lists compliant with project RuboCop rules.

-          platform: "ios",
+          platform: "ios"
📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between be49c7d and 268c33c.

📒 Files selected for processing (16)
  • app/babel.config.cjs (1 hunks)
  • app/env.ts (1 hunks)
  • app/fastlane/helpers/ios.rb (3 hunks)
  • app/react-native.config.cjs (1 hunks)
  • app/scripts/alias-imports.cjs (1 hunks)
  • app/scripts/analyze-tree-shaking.cjs (1 hunks)
  • app/scripts/bundle-analyze-ci.cjs (1 hunks)
  • app/scripts/cleanup-ios-build.sh (1 hunks)
  • app/scripts/test-e2e-local.sh (1 hunks)
  • app/scripts/test-tree-shaking.cjs (1 hunks)
  • app/scripts/tests/alias-imports.test.cjs (1 hunks)
  • app/scripts/tests/bundle-analyze-ci.test.cjs (1 hunks)
  • app/scripts/tests/cleanup-ios-build.test.cjs (1 hunks)
  • app/scripts/tests/mobile-deploy-confirm-module.test.cjs (1 hunks)
  • app/scripts/tests/tree-shaking.test.cjs (1 hunks)
  • app/src/types/svg.d.ts (1 hunks)
✅ Files skipped from review due to trivial changes (5)
  • app/scripts/alias-imports.cjs
  • app/env.ts
  • app/scripts/cleanup-ios-build.sh
  • app/scripts/tests/cleanup-ios-build.test.cjs
  • app/react-native.config.cjs
🚧 Files skipped from review as they are similar to previous changes (10)
  • app/scripts/tests/alias-imports.test.cjs
  • app/babel.config.cjs
  • app/scripts/tests/bundle-analyze-ci.test.cjs
  • app/scripts/test-tree-shaking.cjs
  • app/scripts/bundle-analyze-ci.cjs
  • app/src/types/svg.d.ts
  • app/scripts/tests/tree-shaking.test.cjs
  • app/scripts/test-e2e-local.sh
  • app/scripts/analyze-tree-shaking.cjs
  • app/scripts/tests/mobile-deploy-confirm-module.test.cjs
🧰 Additional context used
🪛 RuboCop (1.76.1)
app/fastlane/helpers/ios.rb

[convention] 13-13: Avoid comma after the last parameter of a method call.

(Style/TrailingCommaInArguments)


[convention] 69-69: Avoid comma after the last parameter of a method call.

(Style/TrailingCommaInArguments)


[convention] 75-75: Avoid comma after the last parameter of a method call.

(Style/TrailingCommaInArguments)

@transphorm transphorm merged commit aa35965 into dev Aug 10, 2025
15 checks passed
@transphorm transphorm deleted the codex/insert-spdx-license-identifier-in-code-files branch August 10, 2025 23:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants