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 ( https://confluence.atlassian.com/stash/scaling-stash-for-continuous-integration-performance-329352840.html ) :

  • 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: https://answers.atlassian.com/questions/16392783

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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

27,358 views 26 12
Join discussion

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