# Deprecation of collections broken?

**URL:** <https://forum.ansible.com/t/deprecation-of-collections-broken/6545>\
**Category:** Get Help\
**Tags:** collections, galaxy-ng\
**Created:** [June 14, 2024, 7:23pm UTC](https://forum.ansible.com/t/deprecation-of-collections-broken/6545 "2024-06-14T19:23:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![thorian93](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/thorian93/32/1320_2.png) [@thorian93](https://forum.ansible.com/u/thorian93)\
**Post date:** [June 14, 2024, 7:23pm UTC](https://forum.ansible.com/t/deprecation-of-collections-broken/6545/1 "2024-06-14T19:23:35Z")

</div>

I just realized, that a collection I deprecated in the old Galaxy, does not seem to be deprecated in the new Galaxy anymore. “Well then” I though “let’s quickly deprecate it again!”. But to no avail. I can manhandle the “Deprecate” button as much as I want, but nothing (visually) changes.

 ![image](https://us1.discourse-cdn.com/ansible/original/2X/0/0c39f683163ada421373d5d92db3088485b52524.png)  
I am logged in and I have permissions on the namespace (AFAIK).  
Can anyone tell me, what I am missing?

[https://galaxy.ansible.com/ui/repo/published/tribe29/checkmk/](https://galaxy.ansible.com/ui/repo/published/tribe29/checkmk/)

---

<div class="post-metadata">

**Author:** ![flowerysong](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/flowerysong/32/2305_2.png) [@flowerysong](https://forum.ansible.com/u/flowerysong)\
**Post date:** [June 14, 2024, 9:21pm UTC](https://forum.ansible.com/t/deprecation-of-collections-broken/6545/2 "2024-06-14T21:21:29Z")

</div>

It’s just a short lag time before the updated status is shown, possibly due to server caching.

 ![image](https://us1.discourse-cdn.com/ansible/original/2X/a/a598fecc20c7187a90bdea5974f4ee97bfb32f7f.png)

I tested this on one of my collections (which had also lost its deprecation) and it takes a little over a minute for deprecation or undeprecation to be visible in the UI.

---

<div class="post-metadata">

**Author:** ![felixfontein](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/felixfontein/32/7530_2.png) [@felixfontein](https://forum.ansible.com/u/felixfontein)\
**Post date:** [June 15, 2024, 9:59am UTC](https://forum.ansible.com/t/deprecation-of-collections-broken/6545/3 "2024-06-15T09:59:30Z")

</div>

I also checked some of my collections which should be deprecated and turned out they weren’t. Either I forgot to do it in the past or they became un-deprecated.

While re-deprecating them I noticed a strange behavior: I had three of them open in tabs, deprecated all three of them using the menu - and after a couple of minutes only one of them was actually deprecated. After trying this again, it seems to be that the _latest_ tab I refreshed got deprecated, and the others do not, for whatever reason (some hidden state, I guess). In any case, now all three of them are properly marked as deprecated.

If someone else experiences problems when trying to deprecate multiple collections in parallel, try it serially. That might solve your problem.

---

<div class="post-metadata">

**Author:** ![thorian93](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/thorian93/32/1320_2.png) [@thorian93](https://forum.ansible.com/u/thorian93)\
**Post date:** [June 17, 2024, 9:01pm UTC](https://forum.ansible.com/t/deprecation-of-collections-broken/6545/4 "2024-06-17T21:01:15Z")

</div>

> [@felixfontein](#):
>
> or they became un-deprecated.

I am pretty positive, that I deprecated the mentioned collection in the old Galaxy. So I guess the migration did not carry this attribute to the new Galaxy.

> [@flowerysong](#):
>
> and it takes a little over a minute for deprecation or undeprecation to be visible in the UI.

Jep, impatient me thought it should be instantaneous, or at least be visible within some seconds. Checking again today verifies that one of my several attempts the other day was successfull and the deprecation banner is now shown.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [July 17, 2024, 9:01pm UTC](https://forum.ansible.com/t/deprecation-of-collections-broken/6545/5 "2024-07-17T21:01:59Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
