currents-dev / cypress-cloud

Debug, troubleshoot and record Cypress CI tests in Cloud
https://currents.dev
Other
47 stars 16 forks source link

[CSR-1772] feat: added env for machine id #218

Closed miguelangaranocurrents closed 1 week ago

miguelangaranocurrents commented 1 week ago

Description

Provide a brief description of the changes in this PR. Important to list all the changes made in overall. Describe any improvements, follow up tasks or edge cases related to this PR

This PR add to the intro printer the machineId if added via env variable by process.env.CURRENTS_MACHINE_ID and accept CURRENTS_MACHINE_ID as env variable. Also being sent in the createRun request.

PR Checklist

Release Plan

Do we need to update any environment variables? Is there any order of releases required?

Demo

Add screenshots or videos demonstrating the solution if applicable

image image

Manual Testing

Describe in steps (support it with images if needed) how to try the changes of this PR. (Even the start/setup of the services needed to try it out). If it's a bug also include reproduction steps

  1. Add a value to CURRENTS_MACHINE_ID environment variable can be via CLI or in env file
  2. Execute the run and you will be able to see in the intro print the machineId value assigned.
notion-workspace[bot] commented 1 week ago

🙋🏼 Show machineId on spec file