Skip to content
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

Fix timeout copy again #978

Merged
merged 6 commits into from
Dec 20, 2022
Merged

Fix timeout copy again #978

merged 6 commits into from
Dec 20, 2022

Conversation

sunkickr
Copy link
Contributor

Description

fix timeout copy again

🎟 Issue(s)

Related #XXX

🧪 Functional Testing

tested manually

📸 Screenshots

Screenshot 2022-12-20 at 11 40 02 AM

📋 Checklist

  • Rebased from the main (or release if patching) branch (before testing)
  • Ran make test before taking out of draft
  • Ran make lint before taking out of draft
  • Added/updated applicable tests
  • Tested against Astro-API (if necessary).
  • Tested against Houston-API and Astronomer (if necessary).
  • Communicated to/tagged owners of respective clients potentially impacted by these changes.
  • Updated any related documentation

@sunkickr sunkickr marked this pull request as ready for review December 20, 2022 18:05
@codecov
Copy link

codecov bot commented Dec 20, 2022

Codecov Report

Base: 87.42% // Head: 87.42% // No change to project coverage 👍

Coverage data is based on head (dd976fa) compared to base (127fbe4).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #978   +/-   ##
=======================================
  Coverage   87.42%   87.42%           
=======================================
  Files         111      111           
  Lines        9457     9457           
=======================================
  Hits         8268     8268           
  Misses        698      698           
  Partials      491      491           
Impacted Files Coverage Δ
airflow/docker.go 85.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

fmt.Println("\nProject is not yet running. The project is still attempting to start up. Run 'astro dev logs --webserver | --scheduler' for details.")
return fmt.Errorf("%w: the health check timed out after %s. Use the --wait flag to increase the time out", errWebServerUnHealthy, timeout)
fmt.Printf("\n")
return fmt.Errorf("there might be a problem with your project starting up. The webserver health check timed out after %s but your project will continue trying to start. Run 'astro dev logs --webserver | --scheduler' for details.\n\nTry again or use the --wait flag to increase the time out", timeout) //nolint:goerr113
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you capitalize the first letter of the error message?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

that breaks the linter

@sunkickr sunkickr merged commit 924cea9 into main Dec 20, 2022
@sunkickr sunkickr deleted the fix-timeout-copy branch December 20, 2022 19:34
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.

2 participants