{"action":"created","issue":{"url":"https://api.github.com/repos/airbnb/airflow/issues/1085","repository_url":"https://api.github.com/repos/airbnb/airflow","labels_url":"https://api.github.com/repos/airbnb/airflow/issues/1085/labels{/name}","comments_url":"https://api.github.com/repos/airbnb/airflow/issues/1085/comments","events_url":"https://api.github.com/repos/airbnb/airflow/issues/1085/events","html_url":"https://github.com/airbnb/airflow/issues/1085","id":136528647,"number":1085,"title":"Concurrency=1 not honored when depends_on_past=False","user":{"login":"toryhaavik","id":4268290,"avatar_url":"https://avatars.githubusercontent.com/u/4268290?v=3","gravatar_id":"","url":"https://api.github.com/users/toryhaavik","html_url":"https://github.com/toryhaavik","followers_url":"https://api.github.com/users/toryhaavik/followers","following_url":"https://api.github.com/users/toryhaavik/following{/other_user}","gists_url":"https://api.github.com/users/toryhaavik/gists{/gist_id}","starred_url":"https://api.github.com/users/toryhaavik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toryhaavik/subscriptions","organizations_url":"https://api.github.com/users/toryhaavik/orgs","repos_url":"https://api.github.com/users/toryhaavik/repos","events_url":"https://api.github.com/users/toryhaavik/events{/privacy}","received_events_url":"https://api.github.com/users/toryhaavik/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/airbnb/airflow/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/airbnb/airflow/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-02-25T22:17:08Z","updated_at":"2016-03-03T07:04:10Z","closed_at":null,"body":"I have a celery worker listening on a queue called \"py2\", which is the default queue in my airflow.cfg.  The scheduler is running, but my DAG is currently set to \"off\".  Steps to reproduce issue:\r\n\r\n1. Enter these commands one after another:\r\n    - `airflow run dag task 2015-01-01`\r\n    - `airflow run dag task 2015-01-02`\r\n    - `airflow run dag task 2015-01-03`\r\n    - `airflow run dag task 2015-01-04`\r\n2.  `2015-01-01` starts running while the others are queued properly because I have `concurrency=1` for this DAG\r\n3. after `2015-01-01` successfully completes, all 3 queued tasks start executing, when I would have expected only 1 to start (and not necessarily `2015-01-02` because I have `depends_on_past=False`, so it might be arbitrary which starts next, which is fine)\r\n\r\nDo I have something setup incorrectly to be sure that only 1 task instance is executing at a time?"},"comment":{"url":"https://api.github.com/repos/airbnb/airflow/issues/comments/191618363","html_url":"https://github.com/airbnb/airflow/issues/1085#issuecomment-191618363","issue_url":"https://api.github.com/repos/airbnb/airflow/issues/1085","id":191618363,"user":{"login":"r39132","id":581734,"avatar_url":"https://avatars.githubusercontent.com/u/581734?v=3","gravatar_id":"","url":"https://api.github.com/users/r39132","html_url":"https://github.com/r39132","followers_url":"https://api.github.com/users/r39132/followers","following_url":"https://api.github.com/users/r39132/following{/other_user}","gists_url":"https://api.github.com/users/r39132/gists{/gist_id}","starred_url":"https://api.github.com/users/r39132/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r39132/subscriptions","organizations_url":"https://api.github.com/users/r39132/orgs","repos_url":"https://api.github.com/users/r39132/repos","events_url":"https://api.github.com/users/r39132/events{/privacy}","received_events_url":"https://api.github.com/users/r39132/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T07:04:10Z","updated_at":"2016-03-03T07:04:10Z","body":"If you have a fix in mind, please feel free to submit a PR. I'd be happy to review it. "}}