Skip to content

Colab schedules #12826

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

Merged
merged 69 commits into from
Feb 4, 2025
Merged

Colab schedules #12826

merged 69 commits into from
Feb 4, 2025

Conversation

bcreddy-gcp
Copy link
Contributor

Release Note Template for Downstream PRs (will be copied)

See Write release notes for guidance.

`google_colab_schedule`

Copy link

Hello! I am a robot. Tests will require approval from a repository maintainer to run.

@melinath, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look.

You can help make sure that review is quick by doing a self-review and by running impacted tests locally.

@github-actions github-actions bot requested a review from melinath January 22, 2025 01:16
@modular-magician

This comment was marked as outdated.

@modular-magician

This comment was marked as outdated.

@modular-magician

This comment was marked as outdated.

@modular-magician

This comment was marked as outdated.

@modular-magician

This comment was marked as outdated.

@modular-magician

This comment was marked as outdated.

@modular-magician

This comment was marked as outdated.

@modular-magician

This comment was marked as outdated.

@modular-magician

This comment was marked as outdated.

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 16
Passed tests: 13
Skipped tests: 0
Affected tests: 3

Click here to see the affected service packages
  • colab

Action taken

Found 3 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccColabSchedule_colabScheduleBasicExample
  • TestAccColabSchedule_colabScheduleFullExample
  • TestAccColabSchedule_colabSchedulePausedExample

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🟢 Tests passed during RECORDING mode:
TestAccColabSchedule_colabScheduleBasicExample [Debug log]
TestAccColabSchedule_colabScheduleFullExample [Debug log]
TestAccColabSchedule_colabSchedulePausedExample [Debug log]

🟢 No issues found for passed tests after REPLAYING rerun.


🟢 All tests passed!

View the build log or the debug log for each test

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 7 files changed, 2748 insertions(+), 2 deletions(-))
google-beta provider: Diff ( 7 files changed, 2748 insertions(+), 2 deletions(-))
terraform-google-conversion: Diff ( 1 file changed, 362 insertions(+))

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_colab_schedule (13 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_colab_schedule" "primary" {
  create_notebook_execution_job_request {
    notebook_execution_job {
      execution_user = # value needed
    }
  }
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 18
Passed tests: 18
Skipped tests: 0
Affected tests: 0

Click here to see the affected service packages
  • colab

🟢 All tests passed!

View the build log

Copy link
Member

@melinath melinath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a couple small tweaks to the update tests to make the resources sweepable, otherwise LGTM

@github-actions github-actions bot requested a review from melinath February 4, 2025 19:01
@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google-beta provider: Diff ( 7 files changed, 2748 insertions(+), 2 deletions(-))
terraform-google-conversion: Diff ( 1 file changed, 362 insertions(+))

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_colab_schedule (13 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_colab_schedule" "primary" {
  create_notebook_execution_job_request {
    notebook_execution_job {
      execution_user = # value needed
    }
  }
}

Errors

google provider:

  • Failed to build branch auto-pr-12826-old

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 18
Passed tests: 16
Skipped tests: 0
Affected tests: 2

Click here to see the affected service packages
  • colab

Action taken

Found 2 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccColabSchedule_update
  • TestAccColabSchedule_update_state

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🟢 Tests passed during RECORDING mode:
TestAccColabSchedule_update [Debug log]
TestAccColabSchedule_update_state [Debug log]

🟢 No issues found for passed tests after REPLAYING rerun.


🟢 All tests passed!

View the build log or the debug log for each test

@melinath melinath added this pull request to the merge queue Feb 4, 2025
@melinath melinath removed this pull request from the merge queue due to a manual request Feb 4, 2025
@melinath
Copy link
Member

melinath commented Feb 4, 2025

I'm rerunning the tests due to the error mentioned in the diff comment... but I can't reproduce the problem locally so I suspect it might be a temporary glitch.

/gcbrun

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 7 files changed, 2748 insertions(+), 2 deletions(-))
google-beta provider: Diff ( 7 files changed, 2748 insertions(+), 2 deletions(-))
terraform-google-conversion: Diff ( 1 file changed, 362 insertions(+))

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_colab_schedule (13 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_colab_schedule" "primary" {
  create_notebook_execution_job_request {
    notebook_execution_job {
      execution_user = # value needed
    }
  }
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 18
Passed tests: 18
Skipped tests: 0
Affected tests: 0

Click here to see the affected service packages
  • colab

🟢 All tests passed!

View the build log

@melinath melinath added this pull request to the merge queue Feb 4, 2025
Merged via the queue into GoogleCloudPlatform:main with commit 87af64a Feb 4, 2025
23 checks passed
@melinath
Copy link
Member

melinath commented Feb 4, 2025

note: merging without tests for execution_user because I ended up using that field to run tests locally, so I have confidence it maps properly. However, it would be good to add tests using it as a follow-up.

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.

4 participants