Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented May 2, 2025

Updated vcr cassettes

Via event: workflow_dispatch

  • If "workflow_dispatch" it was triggered by a person clicking the "Run workflow" button in the GitHub UI Actions tab
  • If "schedule" it was triggered by a scheduled event (see the .github/workflows/api-rewrite-cassettes.yml file for the schedule)

Review, then either merge or close this PR

  • A cursory review is sufficient (e.g., just look at a few cassette *yml files; though if anything is concerning, please investigate and discuss with Scott or Sean)

What is this?

  • This is a pull request that updates the vcr cassettes for the Cromwell API tests. Read more about how tests work in the README. We use the vcrpy Python library to record and replay HTTP requests and responses (called "cassettes"). These cassettes need to be re-recorded every so often to ensure that tests reflect the reality of the PROOF and Cromwell APIs.

Note that workflows are not run for this PR because actions cannot trigger other workflows

@github-actions github-actions bot requested review from sckott and seankross May 2, 2025 18:56
@github-actions github-actions bot force-pushed the create-pull-request/rewrite-cassettes branch 2 times, most recently from d6e841c to dc6f416 Compare May 6, 2025 15:50
@sckott sckott mentioned this pull request May 6, 2025
@github-actions github-actions bot force-pushed the create-pull-request/rewrite-cassettes branch 6 times, most recently from b2a0791 to baa7367 Compare May 12, 2025 19:24
* #168 try retrying the run tests step upon failure with nick-fields/retry

* timeout minutes for retry rewrite to 30 min

* use pytest-json-report to generate json report; use report to get cassettes from failed/succeeded tests

* test output format

* add mock_jsons to output

* back to rewrites

* rewrite just two tests to speed up result

* try fromJson

* try parse array to jq -r

* try this

* ugh

* gitinogre

* make rewrite tests back to all tests

* make json report pytest hook pytest_json_modifyreport optional so cached tests work

* hopefully fix showing cassettes for failed or passed tests

* tweak to reporting passed cassettes

* fixed now?

* base64 encode/decode?

* try a differnet approach

* [no ci] back to all tests

* [no ci] back to exit 0 por favor

* [no ci] swap exit 0 for continue-on-error: true

* try yet another approach undoing changes to failed tests and back to predefined paths to include in PR; only run one test file for quick check

* [no ci] move echo help lines; run create pull request without if statement

* [no ci] run everything
An error occurred while trying to automatically change base from rewrite-cassettes-retry to main May 12, 2025 21:26
An error occurred while trying to automatically change base from rewrite-cassettes-retry to main May 12, 2025 21:26
@github-actions github-actions bot force-pushed the create-pull-request/rewrite-cassettes branch from baa7367 to 9fc522b Compare May 18, 2025 04:17
@sckott sckott closed this May 19, 2025
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