Skip to content

Enable contextual debug logging for integration tests #9012

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

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

MarkDuckworth
Copy link
Contributor

Contextual debug logging for integration tests will log the debug log for the 100 debug or warning messages leading up to a logged error message. This is intended to give context to flakes seen in the CI, without logging an excessive amount which would make the CI logs too large to easily review.

Copy link

changeset-bot bot commented May 9, 2025

⚠️ No Changeset found

Latest commit: 1fb16cf

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

Copy link
Contributor

github-actions bot commented May 9, 2025

Vertex AI Mock Responses Check ⚠️

A newer major version of the mock responses for Vertex AI unit tests is available. update_vertexai_responses.sh should be updated to clone the latest version of the responses: v13.0

@google-oss-bot
Copy link
Contributor

google-oss-bot commented May 9, 2025

Size Report 1

Affected Products

  • @firebase/ai

    TypeBase (8a03143)Merge (0b7bead)Diff
    browser?42.5 kB? (?)
    main?43.7 kB? (?)
    module?42.5 kB? (?)
  • @firebase/app

    TypeBase (8a03143)Merge (0b7bead)Diff
    browser19.5 kB19.5 kB-9 B (-0.0%)
    main20.4 kB20.4 kB-9 B (-0.0%)
    module19.5 kB19.5 kB-9 B (-0.0%)
  • @firebase/app-check

    TypeBase (8a03143)Merge (0b7bead)Diff
    browser26.7 kB26.9 kB+210 B (+0.8%)
    main27.7 kB27.9 kB+210 B (+0.8%)
    module26.7 kB26.9 kB+210 B (+0.8%)
  • @firebase/auth

    TypeBase (8a03143)Merge (0b7bead)Diff
    browser193 kB193 kB+100 B (+0.1%)
    cordova166 kB166 kB+60 B (+0.0%)
    main147 kB147 kB+44 B (+0.0%)
    module193 kB193 kB+100 B (+0.1%)
    react-native165 kB165 kB+44 B (+0.0%)
  • @firebase/auth-cordova

    TypeBase (8a03143)Merge (0b7bead)Diff
    browser166 kB166 kB+60 B (+0.0%)
    module166 kB166 kB+60 B (+0.0%)
  • @firebase/auth-web-extension

    TypeBase (8a03143)Merge (0b7bead)Diff
    browser142 kB142 kB+60 B (+0.0%)
    main159 kB159 kB+46 B (+0.0%)
    module142 kB142 kB+60 B (+0.0%)
  • @firebase/auth/internal

    TypeBase (8a03143)Merge (0b7bead)Diff
    browser204 kB204 kB+100 B (+0.0%)
    main174 kB174 kB+46 B (+0.0%)
    module204 kB204 kB+100 B (+0.0%)
  • @firebase/database

    TypeBase (8a03143)Merge (0b7bead)Diff
    browser249 kB250 kB+136 B (+0.1%)
    main254 kB255 kB+125 B (+0.0%)
    module249 kB250 kB+136 B (+0.1%)
  • @firebase/database-compat/standalone

    TypeBase (8a03143)Merge (0b7bead)Diff
    main366 kB367 kB+116 B (+0.0%)
  • @firebase/firestore

    TypeBase (8a03143)Merge (0b7bead)Diff
    browser385 kB387 kB+1.63 kB (+0.4%)
    main596 kB598 kB+2.24 kB (+0.4%)
    module385 kB387 kB+1.63 kB (+0.4%)
    react-native385 kB387 kB+1.63 kB (+0.4%)
  • @firebase/firestore-lite

    TypeBase (8a03143)Merge (0b7bead)Diff
    browser114 kB115 kB+1.45 kB (+1.3%)
    main157 kB159 kB+2.07 kB (+1.3%)
    module114 kB115 kB+1.45 kB (+1.3%)
    react-native114 kB116 kB+1.44 kB (+1.3%)
  • @firebase/functions

    TypeBase (8a03143)Merge (0b7bead)Diff
    browser14.1 kB14.2 kB+100 B (+0.7%)
    main14.7 kB14.8 kB+89 B (+0.6%)
    module14.1 kB14.2 kB+100 B (+0.7%)
  • @firebase/storage

    TypeBase (8a03143)Merge (0b7bead)Diff
    browser58.4 kB58.5 kB+96 B (+0.2%)
    main60.0 kB60.1 kB+85 B (+0.1%)
    module58.4 kB58.5 kB+96 B (+0.2%)
  • @firebase/util

    TypeBase (8a03143)Merge (0b7bead)Diff
    browser23.7 kB29.3 kB+5.58 kB (+23.5%)
    main30.0 kB35.7 kB+5.69 kB (+19.0%)
    module23.7 kB29.3 kB+5.58 kB (+23.5%)
  • bundle

    46 size changes

    TypeBase (8a03143)Merge (0b7bead)Diff
    analytics (logEvent)44.7 kB44.7 kB-7 B (-0.0%)
    app-check (CustomProvider)37.8 kB38.0 kB+197 B (+0.5%)
    app-check (ReCaptchaEnterpriseProvider)40.3 kB40.5 kB+197 B (+0.5%)
    app-check (ReCaptchaV3Provider)40.3 kB40.5 kB+197 B (+0.5%)
    auth (Anonymous)77.8 kB77.8 kB-7 B (-0.0%)
    auth (EmailAndPassword)87.9 kB87.9 kB-7 B (-0.0%)
    auth (GoogleFBTwitterGitHubPopup)105 kB109 kB+4.37 kB (+4.2%)
    auth (GooglePopup)102 kB102 kB-7 B (-0.0%)
    auth (GoogleRedirect)102 kB102 kB-7 B (-0.0%)
    auth (Phone)95.3 kB95.3 kB-7 B (-0.0%)
    database (Append to a list of data)150 kB154 kB+4.42 kB (+2.9%)
    database (Filtering data)149 kB153 kB+4.42 kB (+3.0%)
    database (Listen for child events)165 kB170 kB+4.42 kB (+2.7%)
    database (Listen for value events + Detach listeners)165 kB170 kB+4.42 kB (+2.7%)
    database (Listen for value events)165 kB170 kB+4.42 kB (+2.7%)
    database (Read data once)165 kB169 kB+4.42 kB (+2.7%)
    database (Save data as transactions)167 kB172 kB+4.42 kB (+2.6%)
    database (Sort data)151 kB155 kB+4.42 kB (+2.9%)
    database (Write data)149 kB154 kB+4.42 kB (+3.0%)
    firestore (CSI Auto Indexing Disable and Delete)275 kB280 kB+4.52 kB (+1.6%)
    firestore (CSI Auto Indexing Enable)275 kB280 kB+4.52 kB (+1.6%)
    firestore (Persistence)307 kB311 kB+4.64 kB (+1.5%)
    firestore (Query Cursors)252 kB256 kB+4.63 kB (+1.8%)
    firestore (Query)249 kB254 kB+4.63 kB (+1.9%)
    firestore (Read data once)237 kB242 kB+4.63 kB (+1.9%)
    firestore (Read Write w Persistence)331 kB336 kB+4.63 kB (+1.4%)
    firestore (Realtime updates)239 kB244 kB+4.63 kB (+1.9%)
    firestore (Transaction)216 kB221 kB+4.51 kB (+2.1%)
    firestore (Write data)216 kB220 kB+4.51 kB (+2.1%)
    firestore-lite (Query Cursors)105 kB109 kB+4.51 kB (+4.3%)
    firestore-lite (Query)101 kB105 kB+4.51 kB (+4.5%)
    firestore-lite (Read data once)76.3 kB80.8 kB+4.51 kB (+5.9%)
    firestore-lite (Transaction)102 kB106 kB+4.51 kB (+4.4%)
    firestore-lite (Write data)85.9 kB90.4 kB+4.51 kB (+5.2%)
    functions (call)35.0 kB39.4 kB+4.38 kB (+12.5%)
    messaging (send + receive)47.5 kB47.5 kB-7 B (-0.0%)
    performance (trace)62.4 kB62.4 kB-7 B (-0.0%)
    remote-config (getAndFetch)48.8 kB48.8 kB-7 B (-0.0%)
    storage (getBytes)42.8 kB47.2 kB+4.37 kB (+10.2%)
    storage (getDownloadURL)44.9 kB49.3 kB+4.37 kB (+9.7%)
    storage (getMetadata)44.3 kB48.7 kB+4.37 kB (+9.9%)
    storage (list + listAll)43.8 kB48.1 kB+4.37 kB (+10.0%)
    storage (updateMetadata)44.6 kB49.0 kB+4.37 kB (+9.8%)
    storage (uploadBytes)49.5 kB53.8 kB+4.37 kB (+8.8%)
    storage (uploadBytesResumable)59.4 kB63.8 kB+4.37 kB (+7.4%)
    storage (uploadString)49.7 kB54.0 kB+4.37 kB (+8.8%)

  • firebase

    21 size changes

    TypeBase (8a03143)Merge (0b7bead)Diff
    firebase-ai.js?33.8 kB? (?)
    firebase-app-check-compat.js22.9 kB23.1 kB+197 B (+0.9%)
    firebase-app-check.js25.3 kB25.5 kB+194 B (+0.8%)
    firebase-app-compat.js31.8 kB31.8 kB-6 B (-0.0%)
    firebase-app.js103 kB103 kB-9 B (-0.0%)
    firebase-auth-compat.js141 kB145 kB+4.13 kB (+2.9%)
    firebase-auth-cordova.js138 kB142 kB+4.46 kB (+3.2%)
    firebase-auth-web-extension.js121 kB125 kB+4.46 kB (+3.7%)
    firebase-auth.js158 kB163 kB+4.49 kB (+2.8%)
    firebase-compat.js798 kB803 kB+5.71 kB (+0.7%)
    firebase-database-compat.js164 kB168 kB+4.20 kB (+2.6%)
    firebase-database.js187 kB192 kB+4.54 kB (+2.4%)
    firebase-firestore-compat.js343 kB348 kB+5.38 kB (+1.6%)
    firebase-firestore-lite.js133 kB138 kB+5.83 kB (+4.4%)
    firebase-firestore.js444 kB450 kB+5.99 kB (+1.3%)
    firebase-functions-compat.js10.5 kB14.7 kB+4.15 kB (+39.3%)
    firebase-functions.js15.0 kB19.5 kB+4.52 kB (+30.1%)
    firebase-performance-standalone-compat.js105 kB105 kB-6 B (-0.0%)
    firebase-storage-compat.js40.1 kB44.2 kB+4.13 kB (+10.3%)
    firebase-storage.js46.7 kB51.2 kB+4.50 kB (+9.6%)
    firebase-vertexai.js29.3 kB33.8 kB+4.50 kB (+15.3%)

Test Logs

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

@google-oss-bot
Copy link
Contributor

google-oss-bot commented May 9, 2025

Size Analysis Report 1

This report is too large (658,777 characters) to be displayed here in a GitHub comment. Please use the below link to see the full report on Google Cloud Storage.

Test Logs

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

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