Skip to content

Conversation

@transphorm
Copy link
Member

@transphorm transphorm commented Aug 6, 2025

Summary by CodeRabbit

  • New Features

    • Added utility functions for safe JSON parsing and stringifying with error handling.
    • Introduced a testing utility for clearing document catalog data for migration testing.
  • Bug Fixes

    • Improved error reporting in the ErrorBoundary component, now sending errors to Sentry with context.
    • Added defensive checks to prevent returning null document catalogs during loading.
  • Tests

    • Added comprehensive tests for JSON utilities, ErrorBoundary, and passport data provider logic.
  • Chores

    • Enhanced editor configuration for better performance and reduced unnecessary file watching.
    • Updated ignore settings to allow access to certain configuration and lock files.
  • Refactor

    • Replaced many console logs with more appropriate warning or error messages, and limited development-only logging.
    • Removed unnecessary debug logging throughout the application for a cleaner production experience.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Aug 6, 2025

Walkthrough

This update introduces new JSON utility and testing utilities, comprehensive unit tests for key providers, and improved error handling in the ErrorBoundary component. It removes numerous debug and informational console logs across the codebase, updates editor configuration for performance, and revises ignore files. Several error logs are upgraded to warnings or errors, and default feature flag exports are refactored.

Changes

Cohort / File(s) Change Summary
Editor & Ignore Config
.cursorignore, .vscode/settings.json
Removes Fastlane, Podfile.lock, and .vscode/ from .cursorignore. Adds extensive performance and exclusion settings to .vscode/settings.json, optimizing file watching, search, and TypeScript responsiveness.
New Utilities
app/src/utils/jsonUtils.ts, app/src/utils/testingUtils.ts
Adds safeJsonParse and safeJsonStringify for robust JSON handling. Adds clearDocumentCatalogForMigrationTesting for clearing secure storage in migration tests.
New Tests for Utilities
app/tests/src/utils/jsonUtils.test.ts
Introduces tests for the new JSON utility functions, covering normal and edge cases.
Passport Provider Tests
app/tests/src/providers/passportDataProvider.test.tsx
Adds comprehensive unit tests for PassportProvider, including initialization, migration, and catalog loading with extensive mocking and error scenario coverage.
Error Boundary Improvements
app/src/components/ErrorBoundary.tsx, app/tests/src/components/ErrorBoundary.test.tsx
Updates ErrorBoundary to report errors to Sentry with context and analytics flushing. Adds a new test suite verifying error capture, fallback UI, and analytics integration.
Remote Config Refactor
app/src/RemoteConfig.shared.ts
Removes exported default flags, introduces a non-exported empty object, and upgrades some error logs to console.error.
Component Debug Log Cleanup
app/src/components/native/QRCodeScanner.tsx, app/src/components/native/RCTFragment.tsx
Removes debug logs; changes error log in RCTFragment to console.warn.
Navigation Debug Log Restriction
app/src/navigation/index.tsx
Restricts screen tracking logs to development mode only.
Auth Provider Log Cleanup
app/src/providers/authProvider.tsx
Removes debug logs; upgrades one error log to console.error.
Screen Debug Log Cleanup
app/src/screens/dev/MockDataScreen.tsx, app/src/screens/misc/LoadingScreen.tsx, app/src/screens/misc/SplashScreen.tsx, app/src/screens/prove/ConfirmBelongingScreen.tsx, app/src/screens/prove/ProofRequestStatusScreen.tsx, app/src/screens/prove/ProveScreen.tsx, app/src/screens/recovery/AccountRecoveryChoiceScreen.tsx, app/src/screens/recovery/RecoverWithPhraseScreen.tsx
Removes various debug and state logs, replaces some logs with warnings. No logic changes.
Store Debug Log Cleanup
app/src/stores/database.ts, app/src/stores/proofHistoryStore.ts, app/src/stores/selfAppStore.tsx, app/src/stores/settingStore.ts
Removes debug and summary logs in state management and persistence logic.
Proving/Validation Log Cleanup
app/src/utils/proving/provingMachine.ts, app/src/utils/proving/validateDocument.ts
Removes or restricts logs; upgrades some logs to warnings; moves function location for clarity.
Passport Provider Defensive Parsing
app/src/providers/passportDataProvider.tsx
Adds a defensive null check after JSON parsing in loadDocumentCatalog to prevent returning null catalogs, throwing a TypeError if parsed catalog is null.

Sequence Diagram(s)

sequenceDiagram
    participant App
    participant ErrorBoundary
    participant Sentry
    participant Analytics

    App->>ErrorBoundary: Render child component
    Note right of ErrorBoundary: Child throws error
    ErrorBoundary->>Analytics: flush()
    ErrorBoundary->>Sentry: captureException(error, {stack, errorBoundary: true})
    ErrorBoundary->>App: Render fallback UI
Loading
sequenceDiagram
    participant TestSuite
    participant PassportProvider
    participant Keychain
    participant NativeModules

    TestSuite->>PassportProvider: Render with children
    PassportProvider->>NativeModules: initializeNativeModules()
    alt NativeModules ready
        PassportProvider->>Keychain: loadDocumentCatalog()
        PassportProvider-->>TestSuite: Provide context
    else Error or retry needed
        PassportProvider->>NativeModules: Retry initialization
        PassportProvider->>Keychain: migrateFromLegacyStorage()
        PassportProvider->>Keychain: loadDocumentCatalog()
        PassportProvider-->>TestSuite: Provide context
    end
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

  • selfxyz/self#844: Modifies .cursorignore and .vscode/settings.json for similar configuration and performance optimizations.
  • selfxyz/self#838: Refactors RemoteConfig.shared.ts by removing default flags and updating error logs, matching changes here.
  • selfxyz/self#835: Updates ErrorBoundary to report errors to Sentry, directly relating to the error handling improvements in this PR.

Suggested labels

codex

Suggested reviewers

  • aaronmgdr

Poem

Logs have vanished, whispers fade,
Utilities robustly made.
Errors now with context fly,
To Sentry’s watchful, clouded sky.
Tests abound, the code is neat—
Performance tuned, a silent feat.
Reviewers, come and take a seat!
📝✨

✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch justin/integration-vscode-dx-console-logs-migrate-any-types

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
Copy link
Member Author

fyi @aaronmgdr creating my own version of an integration branch

@transphorm transphorm force-pushed the justin/integration-vscode-dx-console-logs-migrate-any-types branch from b2b0b8d to d42943d Compare August 6, 2025 23:15
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

📜 Review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between b2b0b8d and d42943d.

📒 Files selected for processing (8)
  • .cursorignore (0 hunks)
  • .vscode/settings.json (2 hunks)
  • app/src/providers/passportDataProvider.tsx (11 hunks)
  • app/src/screens/dev/DevSettingsScreen.tsx (1 hunks)
  • app/src/utils/jsonUtils.ts (1 hunks)
  • app/src/utils/testingUtils.ts (1 hunks)
  • app/tests/src/providers/passportDataProvider.test.tsx (1 hunks)
  • app/tests/src/utils/jsonUtils.test.ts (1 hunks)
💤 Files with no reviewable changes (1)
  • .cursorignore
✅ Files skipped from review due to trivial changes (1)
  • app/src/screens/dev/DevSettingsScreen.tsx
🚧 Files skipped from review as they are similar to previous changes (1)
  • .vscode/settings.json
🧰 Additional context used
📓 Path-based instructions (2)
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/utils/testingUtils.ts
  • app/src/utils/jsonUtils.ts
  • app/src/providers/passportDataProvider.tsx
**/*.{test,spec}.{ts,js,tsx,jsx}

⚙️ CodeRabbit Configuration File

**/*.{test,spec}.{ts,js,tsx,jsx}: Review test files for:

  • Test coverage completeness
  • Test case quality and edge cases
  • Mock usage appropriateness
  • Test readability and maintainability

Files:

  • app/tests/src/utils/jsonUtils.test.ts
  • app/tests/src/providers/passportDataProvider.test.tsx
🧠 Learnings (1)
📚 Learning: the import path '@selfxyz/common/utils/scope' is valid when the common package has a "./utils/*" exp...
Learnt from: transphorm
PR: selfxyz/self#795
File: app/src/screens/prove/ProveScreen.tsx:5-5
Timestamp: 2025-07-28T19:18:48.270Z
Learning: The import path 'selfxyz/common/utils/scope' is valid when the common package has a "./utils/*" export mapping in package.json, even if ESLint shows resolution errors before the package is built. The package.json exports field properly maps "./utils/*" to the compiled files in dist/.

Applied to files:

  • app/tests/src/utils/jsonUtils.test.ts
  • app/src/providers/passportDataProvider.tsx
⏰ 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: analyze-android
  • GitHub Check: analyze-ios
  • GitHub Check: e2e-ios
  • GitHub Check: build
🔇 Additional comments (3)
app/tests/src/providers/passportDataProvider.test.tsx (1)

46-47: Good practice: Mocking console methods in tests

Excellent approach to mock console methods in tests. This ensures tests don't pollute the console output and allows verification of logging behavior.

app/src/providers/passportDataProvider.tsx (2)

59-69: Good implementation of conditional test utility import

The conditional import of testing utilities only in development mode is a good practice to prevent test code from being included in production builds.


145-147: Good implementation of initialization mutex

The mutex pattern using initializationInProgress and initializationPromise effectively prevents race conditions during concurrent initialization calls. This is a robust solution for handling async initialization.

* Remove noisy console logs

* Restore web stub warnings

* clean up linting issues

* fix tests

* add instantiation test
* Log React errors to Sentry

* cr feedback and improve tests
@transphorm transphorm changed the title Integration: vscode fixes; remove console.logs; migrate any types INT: vscode fixes; remove console.logs; migrate any types Aug 7, 2025
export const LOCAL_OVERRIDES_KEY = 'feature_flag_overrides';

// Default feature flags - this should be defined by the consuming application
const defaultFlags: Record<string, any> = {};
Copy link
Contributor

Choose a reason for hiding this comment

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

i think flags can only be number string or boolean.

Copy link
Member Author

Choose a reason for hiding this comment

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

updated

Comment on lines 59 to 69
// Import testing utilities conditionally
let clearDocumentCatalogForMigrationTestingFromUtils:
| (() => Promise<void>)
| undefined;
if (__DEV__) {
try {
const testingUtils = require('../utils/testingUtils');
clearDocumentCatalogForMigrationTestingFromUtils =
testingUtils.clearDocumentCatalogForMigrationTesting;
} catch (error) {
console.warn('Testing utilities not available:', error);
Copy link
Contributor

Choose a reason for hiding this comment

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

hmm why are we even conditionally importing testing utils in main files

Copy link
Member Author

Choose a reason for hiding this comment

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

reverted all this logic and added tests for the current logic in dev.

going to test before merging

export async function storePassportData(passportData: PassportData) {
await storeDocumentWithDeduplication(passportData);
}

Copy link
Contributor

Choose a reason for hiding this comment

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

the changes in this pr seem to big for a pr labeled removed logs

Copy link
Member Author

Choose a reason for hiding this comment

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

yeah after reviewing i'm gonna revert this work and go with what is in dev

Copy link
Member Author

Choose a reason for hiding this comment

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

reverted. going to dismiss the review to merge and saving the types work for another pr

Copy link
Contributor

@aaronmgdr aaronmgdr left a comment

Choose a reason for hiding this comment

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

the passport data page is just so many changes i dont see why. and the pattern of having test code in main components seems fishy.

@transphorm transphorm changed the title INT: vscode fixes; remove console.logs; migrate any types INT: vscode fixes; remove console.logs Aug 7, 2025
@transphorm
Copy link
Member Author

@coderabbitai summary

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Aug 7, 2025

✅ Actions performed

Summary regeneration 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: 4

🧹 Nitpick comments (2)
app/tests/src/providers/passportDataProvider.test.tsx (2)

6-21: Clarify or relocate the "Import after mocking" comment

The comment on line 6 is misleading as the actual mocking occurs on lines 21 and 28-30, not before lines 7-10. While Jest hoists jest.mock() calls, this comment placement could confuse future maintainers.

Consider moving the comment or removing it entirely since Jest's hoisting behavior handles the execution order automatically:

-// Import after mocking
 import {
   PassportProvider,
   usePassport,
 } from '../../../src/providers/passportDataProvider';

 import { render } from '@testing-library/react-native';

-// Mock react-native-keychain before importing the module
+// Mock dependencies
 const mockKeychain = {

65-140: Well-structured initialization tests with comprehensive coverage

Excellent test coverage for initializeNativeModules including edge cases, retry logic, and concurrent initialization scenarios. The use of jest.resetModules() ensures proper test isolation.

Consider making test descriptions more specific about the behavior:

  • Line 78: "should return true immediately if native modules are already ready" → "should cache successful initialization and skip redundant checks"
  • Line 115: "should return false after max retries if modules never become ready" → "should respect maxRetries parameter and fail gracefully"
📜 Review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between cac11ee and 46786ca.

📒 Files selected for processing (3)
  • app/src/RemoteConfig.shared.ts (3 hunks)
  • app/src/screens/dev/MockDataScreen.tsx (0 hunks)
  • app/tests/src/providers/passportDataProvider.test.tsx (1 hunks)
💤 Files with no reviewable changes (1)
  • app/src/screens/dev/MockDataScreen.tsx
🚧 Files skipped from review as they are similar to previous changes (1)
  • app/src/RemoteConfig.shared.ts
🧰 Additional context used
📓 Path-based instructions (1)
**/*.{test,spec}.{ts,js,tsx,jsx}

⚙️ CodeRabbit Configuration File

**/*.{test,spec}.{ts,js,tsx,jsx}: Review test files for:

  • Test coverage completeness
  • Test case quality and edge cases
  • Mock usage appropriateness
  • Test readability and maintainability

Files:

  • app/tests/src/providers/passportDataProvider.test.tsx
⏰ 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-android
  • GitHub Check: analyze-ios
  • GitHub Check: build
🔇 Additional comments (1)
app/tests/src/providers/passportDataProvider.test.tsx (1)

227-229: Service name matches implementation — no change needed

The test’s hardcoded 'passportData:' aligns exactly with the implementation’s legacyServices entry ('passportData') and the template literal

`Could not migrate from service ${service}:`

so the expected string is correct. No updates required.

@transphorm
Copy link
Member Author

@coderabbitai title

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Aug 7, 2025

Tip

For best results, initiate chat on the files or code changes.

@transphorm The current title "INT: vscode fixes; remove console.logs" is accurate but could better reflect the broader scope of improvements. Based on the changes, I'd suggest:

"feat: enhance dev experience with editor optimizations, logging cleanup, and new utilities"

Or alternatively:

"dev: optimize editor config, improve logging, and add utility functions with tests"

The current title undersells the scope - you've made substantial improvements including:

  • VSCode performance optimizations and Cursor IDE configuration
  • New utility functions (jsonUtils.ts, testingUtils.ts) with comprehensive tests
  • Enhanced error handling with Sentry integration
  • Strategic logging improvements (not just removal, but proper level usage)
  • Better development tooling overall

The changes represent a significant developer experience enhancement rather than just "fixes."

@transphorm transphorm changed the title INT: vscode fixes; remove console.logs optimize editor config, improve logging, and add utility functions with tests Aug 7, 2025
@transphorm
Copy link
Member Author

@aaronmgdr thanks for approving. updated the passport provider tests based on coderabbit's feedback. tested the app locally and everything works. going to merge after the pipelines pass

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: 1

📜 Review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between 46786ca and 933c098.

📒 Files selected for processing (2)
  • app/src/providers/passportDataProvider.tsx (1 hunks)
  • app/tests/src/providers/passportDataProvider.test.tsx (1 hunks)
🧰 Additional context used
📓 Path-based instructions (2)
**/*.{test,spec}.{ts,js,tsx,jsx}

⚙️ CodeRabbit Configuration File

**/*.{test,spec}.{ts,js,tsx,jsx}: Review test files for:

  • Test coverage completeness
  • Test case quality and edge cases
  • Mock usage appropriateness
  • Test readability and maintainability

Files:

  • app/tests/src/providers/passportDataProvider.test.tsx
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/providers/passportDataProvider.tsx
🧠 Learnings (1)
📚 Learning: 2025-07-28T19:18:48.270Z
Learnt from: transphorm
PR: selfxyz/self#795
File: app/src/screens/prove/ProveScreen.tsx:5-5
Timestamp: 2025-07-28T19:18:48.270Z
Learning: The import path 'selfxyz/common/utils/scope' is valid when the common package has a "./utils/*" export mapping in package.json, even if ESLint shows resolution errors before the package is built. The package.json exports field properly maps "./utils/*" to the compiled files in dist/.

Applied to files:

  • app/src/providers/passportDataProvider.tsx
⏰ 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: analyze-ios
  • GitHub Check: analyze-android
  • GitHub Check: e2e-ios
  • GitHub Check: build
🔇 Additional comments (5)
app/src/providers/passportDataProvider.tsx (1)

499-504: Good defensive check for null catalog values

The added null check after parsing prevents edge cases where JSON.parse("null") would return null instead of a valid catalog object. This defensive programming ensures type safety and prevents downstream issues.

app/tests/src/providers/passportDataProvider.test.tsx (4)

33-60: Well-implemented test component that verifies actual context values

The TestComponent properly extracts and verifies the actual context functions rather than just rendering static text. This effectively addresses the previous review feedback and ensures the tests validate real context functionality.


128-256: Comprehensive PassportProvider test coverage

Excellent test suite that covers all the scenarios suggested in the previous review:

  • Multiple consumers accessing the same context
  • Context updates triggering re-renders
  • Error boundary handling
  • Provider without children
  • Context stability across re-renders

This thoroughly validates the provider's behavior.


257-332: Thorough testing of native module initialization

The test suite effectively covers all initialization scenarios including retry logic, error handling, and module caching. Good use of jest.resetModules() to ensure test isolation.


565-598: Excellent test coverage for the null password edge case

This test validates the defensive check added in loadDocumentCatalog where JSON.parse(null) is handled properly. It confirms that a TypeError is thrown, caught, and the function safely returns an empty catalog.

Comment on lines +580 to +587
console.log('About to call loadDocumentCatalogLocal');
const result = await loadDocumentCatalogLocal();
console.log('Called loadDocumentCatalogLocal');

console.log('Actual result:', result);
console.log('Result type:', typeof result);
console.log('Is null?', result === null);
console.log('Function name:', loadDocumentCatalogLocal.name);
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue

Remove debug console.log statements

These debug statements should be removed from the test code as they add noise to test output.

-      console.log('About to call loadDocumentCatalogLocal');
       const result = await loadDocumentCatalogLocal();
-      console.log('Called loadDocumentCatalogLocal');
-
-      console.log('Actual result:', result);
-      console.log('Result type:', typeof result);
-      console.log('Is null?', result === null);
-      console.log('Function name:', loadDocumentCatalogLocal.name);
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
console.log('About to call loadDocumentCatalogLocal');
const result = await loadDocumentCatalogLocal();
console.log('Called loadDocumentCatalogLocal');
console.log('Actual result:', result);
console.log('Result type:', typeof result);
console.log('Is null?', result === null);
console.log('Function name:', loadDocumentCatalogLocal.name);
const result = await loadDocumentCatalogLocal();
🤖 Prompt for AI Agents
In app/tests/src/providers/passportDataProvider.test.tsx around lines 580 to
587, remove all console.log debug statements as they clutter the test output and
are not needed for the final test code.

@transphorm transphorm merged commit d114253 into dev Aug 7, 2025
15 checks passed
@transphorm transphorm deleted the justin/integration-vscode-dx-console-logs-migrate-any-types branch August 7, 2025 22:34
This was referenced Aug 27, 2025
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.

3 participants