Does the workzone plugin work properly with ref advertisement caching?

The article on scaling stash mentions that ref advertisements may be cached, but it warns that plugins which update the repository automatically might cause a stale refs cache and fetch operations to fail.

(Looking at your website, googling, and looking at other questions here, I couldn't find an answer to this question)

From Atlassian's article on Scaling Stash for continuous Integration performance ( ) :

  • As a precaution, ref advertisement caching is disabled by default. The openness of the plugin system means that plugins (or manually installed git hooks) could be updating refs in repository without the caching plugin detecting these changes. The result would be a stale refs cache and failing clone/fetch operations. However, if you know that there are no plugins or git hooks installed that make changes to the repository directly, you can enable the ref advertisement caching using the system properties listed in the Configuration section below. Note that as an additional precaution, the ref advertisement caches are configured to automatically expire after a minute.

Probably Related:

1 answer

1 accepted

Workzone uses the public Bitbucket API when auto-merging Pull Requests. This is technically the same as if you click the merge button in the UI. Changes will be propagated by BB server internally.

Workzone does NOT perform SCM level write operations directly to repositories at any time. That's all done by the code underneath BB's public PullRequestService API.

Hope that clears things up.

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

638 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot