Skip to content

"Manager" Achievement Broken Due to Projects Classic Deprecation #1706

Open
@TonySatrem

Description

@TonySatrem

The "Manager" achievement (from plugin_achievements) is failing because it uses the deprecated Projects (classic) API: sunset on May 23, 2024.

Error observed:

errors: [
  {
    'NOT_FOUND',
    [ 'user', 'projects' ],
    [ { line: 50, column: 5 } ],
    'Projects (classic) is being deprecated in favor of the new Projects experience, see: [https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/)'
]

Reproduction steps:

  1. Use this workflow:
- uses: lowlighter/metrics@latest
  with:
    plugin_achievements: yes
  1. Have at least one Project V2 in your account.
  2. Run the action.

Proposed solution:

Code Change in plugins/achievements/list/users.mjs Manager block

Additional Context:

Impact: Affects all users with Projects V2 who enable plugin_achievements

Documentation:

Originally posted by @TonySatrem in #1705

Activity

stalomeow

stalomeow commented on Apr 4, 2025

@stalomeow

Here’s a temporary fix that works for me: stalomeow/metrics@edcae0f

uses: stalomeow/metrics@projects-v2 # lowlighter/metrics@latest
lishaduck

lishaduck commented on Apr 6, 2025

@lishaduck

This also breaks the org projects metrics (duh :) ).

CornWorld

CornWorld commented on Apr 9, 2025

@CornWorld

Plz fix this!

added a commit that references this issue on Apr 9, 2025
lishaduck

lishaduck commented on Apr 11, 2025

@lishaduck

Do we want to fork this? Simon is a great guy, but he's busy and I'd love to reduce the bus factor here.

I just reserved @gh-metrics just in case.

CC: @stalomeow, @lowlighter

added a commit that references this issue on Apr 11, 2025
487b6d5
added a commit that references this issue on Apr 13, 2025
lishaduck

lishaduck commented on Apr 14, 2025

@lishaduck

@stalomeow, I added you to @gh-metrics.

stalomeow

stalomeow commented on Apr 15, 2025

@stalomeow

@stalomeow, I added you to @gh-metrics.

Thanks for the invitation but I'm afraid I won't have the time to help maintain the project.

lulunac27a

lulunac27a commented on Apr 20, 2025

@lulunac27a

I have the same problem too, all the achievements are not showing due to an error.

lishaduck

lishaduck commented on Apr 20, 2025

@lishaduck

@lulunac27a, try migrating to gh-metrics/metrics@master

lulunac27a

lulunac27a commented on Apr 20, 2025

@lulunac27a

It works when I use uses: stalomeow/metrics@projects-v2 # lowlighter/metrics@latest

mikey-

mikey- commented on May 5, 2025

@mikey-

@stalomeow why not submit a PR on this repo?

stalomeow

stalomeow commented on May 5, 2025

@stalomeow

@stalomeow why not submit a PR on this repo?

The repo has not been maintained for almost two years.

8 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @mikey-@CornWorld@stalomeow@lishaduck@lulunac27a

      Issue actions

        "Manager" Achievement Broken Due to Projects Classic Deprecation · Issue #1706 · lowlighter/metrics