question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GitHub executor does not wait for `version` to finish

See original GitHub issue

I have the following configuration:

"version": {
	"executor": "@jscutlery/semver:version",
	"options": {
		"push": true,
		"noVerify": true,
		"postTargets": ["workspace:github"]
	}
},
"github": {
	"executor": "@jscutlery/semver:github",
	"options": {
		"tag": "${tag}",
		"notes": "${notes}",
		"title": "Release ${tag}"
	}
}

However, whenever I try to run nx run workspace:version, I get the following error:

tag vx.y.z exists locally but has not been pushed to REPONAME, please push it before continuing or specify the `--target` flag to create a new tag

It seems like semver:version does not wait for the GitHub push before finishing and calling the postTargets.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
LuckeeDevcommented, Apr 28, 2022

Thanks a lot @edbzn!

0reactions
Brian-McBridecommented, Jul 26, 2022

Just ran across the same problem

Read more comments on GitHub >

github_iconTop Results From Across the Web

quarkus scheduler does not await termination of ... - GitHub
When hot code replace happens in dev mode, the scheduler extension does not wait for the scheduledExecutor to terminate.
Read more >
Graceful loop shutdown with running executor tasks · Issue #258
When I send a long task to tread-pool executor and immediately close the loop without waiting future returned by .run_in_executor() call I ...
Read more >
mpi4py/test_futures.py at master - GitHub
FINISHED. ) SHARED_POOL = futures._lib.SharedPool is not None ... self.executor.shutdown(wait=True) ... futures = [self.executor.submit(time.sleep, 0).
Read more >
Scheduler can't restart until long-running local executor(s) finish
Version of Airflow (e.g. a release version, running your own fork, ... The scheduler does not wait on the executor except if the...
Read more >
Wait container not actually waiting for main container #5252
Because the wait container doesn't actually wait for the main container to finish its work there are parameters and artifacts that have not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found