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

chore(runtime): remove duplicate registerRemotes warn #3325

Merged
merged 4 commits into from
Dec 12, 2024

Conversation

2heal1
Copy link
Member

@2heal1 2heal1 commented Dec 6, 2024

Description

remove duplicate registerRemotes warn

Related Issue

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist

  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have updated the documentation.

Copy link

changeset-bot bot commented Dec 6, 2024

🦋 Changeset detected

Latest commit: 4223607

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

netlify bot commented Dec 6, 2024

Deploy Preview for module-federation-docs ready!

Name Link
🔨 Latest commit 4223607
🔍 Latest deploy log https://app.netlify.com/sites/module-federation-docs/deploys/675b58e72993c9000890e0fa
😎 Deploy Preview https://deploy-preview-3325--module-federation-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

@squadronai squadronai bot left a comment

Choose a reason for hiding this comment

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

Summary

The core changes in this pull request focus on improving the runtime by removing a duplicate warning message when registering a remote that is already registered. The updated code now only displays a single warning message, regardless of whether the remote is being overridden or not. This change helps to simplify the logging and provide a more concise and coherent user experience.

The changes are integrated within the existing codebase, specifically in the packages/runtime/src/remote/index.ts file. The pull request includes updated tests to ensure the new behavior is working as expected, and the documentation has been updated accordingly.

File Summaries
File Summary
packages/runtime/src/remote/index.ts The code changes remove a duplicate warning message when registering a remote that is already registered. The updated code now only displays a single warning message, regardless of whether the remote is being overridden or not.

Copy link
Contributor

@squadronai squadronai bot left a comment

Choose a reason for hiding this comment

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

Incremental Review

Comments posted: 2

Configuration

Squadron Mode: essential

Commits Reviewed

cafc5f040274ccb274f13d16910146415e8bd973...795010a93879b0133f7612b0ec88e372ffcd0e27

Files Reviewed
  • packages/runtime/src/remote/index.ts
Files Ignored

These files were ignored due to the filter in the squadron.yaml file.

  • .changeset/funny-drinks-bathe.md

@module-federation module-federation deleted a comment from squadronai bot Dec 10, 2024
@module-federation module-federation deleted a comment from squadronai bot Dec 10, 2024
@ScriptedAlchemy ScriptedAlchemy merged commit f817674 into main Dec 12, 2024
16 checks passed
@ScriptedAlchemy ScriptedAlchemy deleted the chore/remove-register-remotes-warn branch December 12, 2024 22:03
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.

2 participants