You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/06/02 17:43:37 UTC

[GitHub] [airflow] bbovenzi opened a new pull request, #24119: Note that yarn dev needs webserver -d

bbovenzi opened a new pull request, #24119:
URL: https://github.com/apache/airflow/pull/24119

   Some contributors have been confused on how to iterate quickly with the UI. Often building the UI after every change. But `airflow webserver -d` and `yarn dev` allows for just refreshing the page.
   This PR adds a note to the contributing doc to help surface this information for future contributors.
   
   ---
   **^ Add meaningful description above**
   
   Read the **[Pull Request Guidelines](https://github.com/apache/airflow/blob/main/CONTRIBUTING.rst#pull-request-guidelines)** for more information.
   In case of fundamental code change, Airflow Improvement Proposal ([AIP](https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Improvements+Proposals)) is needed.
   In case of a new dependency, check compliance with the [ASF 3rd Party License Policy](https://www.apache.org/legal/resolved.html#category-x).
   In case of backwards incompatible changes please leave a note in a newsfragement file, named `{pr_number}.significant.rst`, in [newsfragments](https://github.com/apache/airflow/tree/main/newsfragments).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] jedcunningham commented on a diff in pull request #24119: Note that yarn dev needs webserver -d

Posted by GitBox <gi...@apache.org>.
jedcunningham commented on code in PR #24119:
URL: https://github.com/apache/airflow/pull/24119#discussion_r888222211


##########
CONTRIBUTING.rst:
##########
@@ -1253,6 +1253,7 @@ commands:
     yarn run prod
 
     # Starts a web server that manages and updates your assets as you modify them
+    # You'll need to run the webserver in dev mode too: `airflow webserver -d`

Review Comment:
   ```suggestion
       # You'll need to run the webserver in debug mode too: `airflow webserver -d`
   ```
   
   Let's use the language the webserver uses.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] github-actions[bot] commented on pull request #24119: Note that yarn dev needs webserver -d

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on PR #24119:
URL: https://github.com/apache/airflow/pull/24119#issuecomment-1145134921

   The PR is likely ready to be merged. No tests are needed as no important environment files, nor python files were modified by it. However, committers might decide that full test matrix is needed and add the 'full tests needed' label. Then you should rebase it to the latest main or amend the last commit of the PR, and push it with --force-with-lease.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] jedcunningham commented on a diff in pull request #24119: Note that yarn dev needs webserver in debug mode

Posted by GitBox <gi...@apache.org>.
jedcunningham commented on code in PR #24119:
URL: https://github.com/apache/airflow/pull/24119#discussion_r888271461


##########
CONTRIBUTING.rst:
##########
@@ -1253,6 +1253,7 @@ commands:
     yarn run prod
 
     # Starts a web server that manages and updates your assets as you modify them
+    # You'll need to run the webserver in debug mode too: `airflow webserver -d`

Review Comment:
   `-D` is different! You want the lower case `-d`. Daemon vs debug.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] bbovenzi merged pull request #24119: Note that yarn dev needs webserver in debug mode

Posted by GitBox <gi...@apache.org>.
bbovenzi merged PR #24119:
URL: https://github.com/apache/airflow/pull/24119


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] eladkal commented on a diff in pull request #24119: Note that yarn dev needs webserver -d

Posted by GitBox <gi...@apache.org>.
eladkal commented on code in PR #24119:
URL: https://github.com/apache/airflow/pull/24119#discussion_r888232156


##########
CONTRIBUTING.rst:
##########
@@ -1253,6 +1253,7 @@ commands:
     yarn run prod
 
     # Starts a web server that manages and updates your assets as you modify them
+    # You'll need to run the webserver in debug mode too: `airflow webserver -d`

Review Comment:
   does `-d` works?
   isn't it `-D` or -`-daemon`?
   https://github.com/apache/airflow/blob/3138604b264878f27505223bd14c7814eacc1e57/airflow/cli/cli_parser.py#L213



##########
CONTRIBUTING.rst:
##########
@@ -1253,6 +1253,7 @@ commands:
     yarn run prod
 
     # Starts a web server that manages and updates your assets as you modify them
+    # You'll need to run the webserver in debug mode too: `airflow webserver -d`

Review Comment:
   does `-d` work?
   isn't it `-D` or -`-daemon`?
   https://github.com/apache/airflow/blob/3138604b264878f27505223bd14c7814eacc1e57/airflow/cli/cli_parser.py#L213



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] bbovenzi commented on a diff in pull request #24119: Note that yarn dev needs webserver in debug mode

Posted by GitBox <gi...@apache.org>.
bbovenzi commented on code in PR #24119:
URL: https://github.com/apache/airflow/pull/24119#discussion_r888276811


##########
CONTRIBUTING.rst:
##########
@@ -1253,6 +1253,7 @@ commands:
     yarn run prod
 
     # Starts a web server that manages and updates your assets as you modify them
+    # You'll need to run the webserver in debug mode too: `airflow webserver -d`

Review Comment:
   Reverting.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] eladkal commented on a diff in pull request #24119: Note that yarn dev needs webserver -d

Posted by GitBox <gi...@apache.org>.
eladkal commented on code in PR #24119:
URL: https://github.com/apache/airflow/pull/24119#discussion_r888232156


##########
CONTRIBUTING.rst:
##########
@@ -1253,6 +1253,7 @@ commands:
     yarn run prod
 
     # Starts a web server that manages and updates your assets as you modify them
+    # You'll need to run the webserver in debug mode too: `airflow webserver -d`

Review Comment:
   does `-d` work?
   isn't it `-D` or `--daemon`?
   https://github.com/apache/airflow/blob/3138604b264878f27505223bd14c7814eacc1e57/airflow/cli/cli_parser.py#L213



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] jedcunningham commented on a diff in pull request #24119: Note that yarn dev needs webserver -d

Posted by GitBox <gi...@apache.org>.
jedcunningham commented on code in PR #24119:
URL: https://github.com/apache/airflow/pull/24119#discussion_r888236353


##########
CONTRIBUTING.rst:
##########
@@ -1253,6 +1253,7 @@ commands:
     yarn run prod
 
     # Starts a web server that manages and updates your assets as you modify them
+    # You'll need to run the webserver in debug mode too: `airflow webserver -d`

Review Comment:
   We are after debug, which is `-d`.
   https://github.com/apache/airflow/blob/3138604b264878f27505223bd14c7814eacc1e57/airflow/cli/cli_parser.py#L608-L610



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] bbovenzi commented on a diff in pull request #24119: Note that yarn dev needs webserver -d

Posted by GitBox <gi...@apache.org>.
bbovenzi commented on code in PR #24119:
URL: https://github.com/apache/airflow/pull/24119#discussion_r888251033


##########
CONTRIBUTING.rst:
##########
@@ -1253,6 +1253,7 @@ commands:
     yarn run prod
 
     # Starts a web server that manages and updates your assets as you modify them
+    # You'll need to run the webserver in debug mode too: `airflow webserver -d`

Review Comment:
   I've always been using `-d` so I gets its not case specific. But our docs do use `-D`, so I'll make it consistent



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org