Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

tillh-stripe
Copy link
Collaborator

Summary

This pull request adds the endpoint path to the response logging in DefaultStripeNetworkClient to make debugging slightly easier.

Motivation

Testing

  • Added tests
  • Modified tests
  • Manually verified

Screenshots

Before After
before screenshot after screenshot

Changelog

@tillh-stripe tillh-stripe force-pushed the tillh/log-request-endpoint branch from 2eaf4db to 0dd950e Compare August 21, 2025 23:36
Copy link
Contributor

github-actions bot commented Aug 21, 2025

Diffuse output:

OLD: paymentsheet-example-release-master.apk (signature: V1, V2)
NEW: paymentsheet-example-release-pr.apk (signature: V1, V2)

          │            compressed            │           uncompressed           
          ├───────────┬───────────┬──────────┼───────────┬───────────┬──────────
 APK      │ old       │ new       │ diff     │ old       │ new       │ diff     
──────────┼───────────┼───────────┼──────────┼───────────┼───────────┼──────────
      dex │   4.8 MiB │   4.8 MiB │   +601 B │  10.5 MiB │  10.5 MiB │   +148 B 
     arsc │   2.6 MiB │   2.6 MiB │      0 B │   2.6 MiB │   2.6 MiB │      0 B 
 manifest │   5.8 KiB │   5.8 KiB │      0 B │  30.1 KiB │  30.1 KiB │      0 B 
      res │ 924.5 KiB │ 924.5 KiB │      0 B │   1.5 MiB │   1.5 MiB │      0 B 
   native │   3.5 MiB │   3.5 MiB │      0 B │   8.5 MiB │   8.5 MiB │      0 B 
    asset │   1.6 MiB │   1.6 MiB │ -1.4 KiB │   1.6 MiB │   1.6 MiB │ -1.4 KiB 
    other │ 198.5 KiB │ 198.5 KiB │     -5 B │ 374.9 KiB │ 374.9 KiB │      0 B 
──────────┼───────────┼───────────┼──────────┼───────────┼───────────┼──────────
    total │  13.6 MiB │  13.6 MiB │   -844 B │  25.1 MiB │  25.1 MiB │ -1.3 KiB 

         │         raw          │           unique           
         ├───────┬───────┬──────┼───────┬───────┬────────────
 DEX     │ old   │ new   │ diff │ old   │ new   │ diff       
─────────┼───────┼───────┼──────┼───────┼───────┼────────────
   files │     2 │     2 │    0 │       │       │            
 strings │ 53368 │ 53366 │   -2 │ 49743 │ 49741 │ -2 (+2 -4) 
   types │ 19022 │ 19022 │    0 │ 17308 │ 17308 │  0 (+0 -0) 
 classes │ 14606 │ 14606 │    0 │ 14606 │ 14606 │  0 (+0 -0) 
 methods │ 74371 │ 74372 │   +1 │ 71560 │ 71561 │ +1 (+4 -3) 
  fields │ 48432 │ 48433 │   +1 │ 47476 │ 47477 │ +1 (+3 -2) 

 ARSC    │ old  │ new  │ diff 
─────────┼──────┼──────┼──────
 configs │  242 │  242 │  0   
 entries │ 6355 │ 6355 │  0
APK
     compressed      │     uncompressed     │                               
──────────┬──────────┼───────────┬──────────┤                               
 size     │ diff     │ size      │ diff     │ path                          
──────────┼──────────┼───────────┼──────────┼───────────────────────────────
  7.9 KiB │ -1.4 KiB │   7.7 KiB │ -1.4 KiB │ ∆ assets/dexopt/baseline.prof 
  4.3 MiB │   +601 B │   9.5 MiB │   +148 B │ ∆ classes.dex                 
 55.1 KiB │     -5 B │ 122.2 KiB │      0 B │ ∆ META-INF/CERT.SF            
  1.2 KiB │     -2 B │   1.2 KiB │      0 B │ ∆ META-INF/CERT.RSA           
 51.6 KiB │     +2 B │ 122.1 KiB │      0 B │ ∆ META-INF/MANIFEST.MF        
──────────┼──────────┼───────────┼──────────┼───────────────────────────────
  4.4 MiB │   -844 B │   9.7 MiB │ -1.3 KiB │ (total)
DEX
STRINGS:

   old   │ new   │ diff       
  ───────┼───────┼────────────
   49743 │ 49741 │ -2 (+2 -4) 
  
  + Exception while making Stripe API request to 
  + ~~R8{"backend":"dex","compilation-mode":"release","has-checksums":false,"min-api":21,"pg-map-id":"b18cbf7","r8-mode":"full","version":"8.8.34"}
  
  - , Status Code: 
  - Exception while making Stripe API request
  - Request-Id: 
  - ~~R8{"backend":"dex","compilation-mode":"release","has-checksums":false,"min-api":21,"pg-map-id":"ffea649","r8-mode":"full","version":"8.8.34"}
  

METHODS:

   old   │ new   │ diff       
  ───────┼───────┼────────────
   71560 │ 71561 │ +1 (+4 -3) 
  
  + G8.Z0 <init>(int, String, String, Map)
  + G8.w0 <init>(String, int, Map)
  + R5.a0 <init>(int, String, String, Map)
  + java.net.URLConnection getURL() → URL
  
  - G8.Z0 <init>(String, int, String, Map)
  - G8.w0 <init>(int, String, Map)
  - R5.a0 <init>(int, String, Map)
  

FIELDS:

   old   │ new   │ diff       
  ───────┼───────┼────────────
   47476 │ 47477 │ +1 (+3 -2) 
  
  + R5.a0 d: String
  + R5.a0 f: boolean
  + R5.a0 g: Q
  
  - R5.a0 d: boolean
  - R5.a0 f: Q

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.

1 participant