[CDRIVER-4493] Collect FaaS platform information as part of the environment information in driver handshake metadata Created: 10/Oct/22  Updated: 14/Aug/23  Resolved: 26/Jul/23

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.25.0

Type: Improvement Priority: Unknown
Reporter: PM Bot Assignee: Adrian Dole
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by PHPC-2266 Collect FaaS platform information as ... Closed
Gantt Start to Start
has to be started together with CDRIVER-4636 AWS Lambda metadata detection logic i... Closed
Issue split
Related
Upstream Changes Summary:

DRIVERS-2209:
Drivers will need to implement the changes from bc37892:

  • collect some new information to include in the handshake metadata client document
  • implement fallback logic to ensure the handshake doesn't exceed the size limit
  • implement some new prose tests

There are no spec test changes associated with this update.

Note that 935954b updates the recommended truncation logic, 27f9a69 updates vercel-related collection, and DRIVERS-2623 updates the AWS Lambda detection logic.


 Description   

This ticket was split from DRIVERS-2209, please see that ticket for a detailed description.



 Comments   
Comment by Githook User [ 14/Aug/23 ]

Author:

{'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}

Message: CDRIVER-4493 assert return of `bson_init_static` (#1359)
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/2c8ed74d3efcd188d3a079d1c9f116ac9e64593b

Comment by Githook User [ 02/Aug/23 ]

Author:

{'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}

Message: CDRIVER-4493 do not override handshake arch in tests (#1369)
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/14edfd2c605be54e11ec133e04ca0e320dec3ec8

Comment by Githook User [ 25/Jul/23 ]

Author:

{'name': 'Adrian Dole', 'email': 'adrian@dole.tech', 'username': 'adriandole'}

Message: CDRIVER-4493 Override host platform, os, flags, compiler info for testing (#1355)

Fix test failures where a large platform string caused handshake truncation
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/21053276c0f1ef0ac3bacfcf66139fa4449435a3

Comment by Githook User [ 20/Jul/23 ]

Author:

{'name': 'Adrian Dole', 'email': 'adrian@dole.tech', 'username': 'adriandole'}

Message: CDRIVER-4493 collect FaaS platform info in handshake metadata (#1340)

Include FaaS info (provider, timeout, memory, region) in handshake
---------

Co-authored-by: Kevin Albertson <kevin.albertson@10gen.com>
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/ffdc47efebe107b8a7c18c0c48d7820877b7b574

Generated at Wed Feb 07 21:21:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.