Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(ai): Fix test script broken by #9232 #9235

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

Merged
hsubox76 merged 3 commits into main from ch-ai-hotfix
Sep 2, 2025
Merged

fix(ai): Fix test script broken by #9232 #9235

hsubox76 merged 3 commits into main from ch-ai-hotfix
Sep 2, 2025

Conversation

Copy link
Contributor

@hsubox76 hsubox76 commented Aug 29, 2025

In the emergency fix for #9232, overlooked that the factory export was being used by a test utility. Refactored so that the test utility can use it without exporting it in the public API.

Also added a tsc type check to the tests, that would have caught this.

Copy link

changeset-bot bot commented Aug 29, 2025
edited
Loading

🦋 Changeset detected

Latest commit: d8194d2

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

This PR includes changesets to release 2 packages
Name Type
@firebase/ai Patch
firebase Patch

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

@hsubox76 hsubox76 marked this pull request as ready for review August 29, 2025 17:21
@hsubox76 hsubox76 requested a review from a team as a code owner August 29, 2025 17:21
Copy link
Contributor

google-oss-bot commented Aug 29, 2025
edited
Loading

Copy link
Contributor

google-oss-bot commented Aug 29, 2025
edited
Loading

Size Analysis Report 1

Affected Products

  • @firebase/ai

    • ChatSession

      Size

      TypeBase (4d834de)Merge (f1d771f)Diff
      size21.0 kB21.0 kB-15 B (-0.1%)
    • GenerativeModel

      Size

      TypeBase (4d834de)Merge (f1d771f)Diff
      size24.7 kB24.7 kB-15 B (-0.1%)
    • getGenerativeModel

      Size

      TypeBase (4d834de)Merge (f1d771f)Diff
      size25.1 kB25.1 kB-14 B (-0.1%)

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/WJnJz0kkUq.html

@@ -0,0 +1,34 @@

import { ComponentContainer, InstanceFactoryOptions } from "@firebase/component";
Copy link
Contributor

@DellaBitta DellaBitta Aug 29, 2025

Choose a reason for hiding this comment

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

Copyright header.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@hsubox76 hsubox76 requested review from a team as code owners August 29, 2025 18:18
@hsubox76 hsubox76 merged commit a4848b4 into main Sep 2, 2025
36 of 38 checks passed
@hsubox76 hsubox76 deleted the ch-ai-hotfix branch September 2, 2025 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@DellaBitta DellaBitta DellaBitta approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /