Skip to content

Housekeeping for the prometheus ownership transfer #750

Closed

Description

@jdmarshall
  • Land some PRs that have been stuck (particularly the matching data storage change for the PRs that have already landed)
  • Get maintainers publish rights
  • Publish version "1" I propose 0.16.0
  • Deprecate prom-client on npmjs.org
  • npm secrets added to project
  • The Markdown needs updating
  • examples need to be updated
  • benchmarks need to be updated
  • Settle maintainers list
  • Create project-standard text files
  • debug publishing workflow

I think the benchmarks will be okay, other than the need for a version number shift.

Activity

  1. krajorama commented on Jun 24, 2026

    @krajorama
    Member

    Yes, name is client_js , since prometheus has client_java, client_golang, client_rust , etc.

    For us to land the PRs, I think we need you @jdmarshall and @SimenB to have maintainer rights and be able to approve and merge PRs. Have you received the invitation from prometheus org? please accept it.

    About the version: the transfer kept the releases as well, so at least in the repo we are already at v15.3.1. In light of that would you want 0.16.0 ? Or maybe go with v16.0.0-alpha.1 / v16.0.0-rc.1 ?

  2. slagiewka commented on Jun 24, 2026

    @slagiewka

    I'm not sure if this should be a part of the initial housekeeping, but once the next stable @prometheus/client... package is published old package can be marked as deprecated and point to the new release. https://docs.npmjs.com/deprecating-and-undeprecating-packages-or-package-versions

  3. jdmarshall commented on Jun 24, 2026

    @jdmarshall
    ContributorAuthor

    I think @siimon may have to do that, I don't think the rest of us were ever given admin access to npmjs.com

  4. jdmarshall commented on Jun 24, 2026

    @jdmarshall
    ContributorAuthor

    Which reminds me. If there's not already an account suitable for admin on npmjs.com, do you want one of us to own it or do you want to take care of that?

  5. siimon commented on Jun 24, 2026

    @siimon
    Contributor

    Just let me know when you are ready and I'll publish a deprecation for prom-client!

  6. siimon commented on Jun 24, 2026

    @siimon
    Contributor

    Also, I think the docs needs to be updated too so it points to a correct url

  7. zbjornson commented on Jun 24, 2026

    @zbjornson
    Contributor

    I have package admin access on npm and can help with the migration/deprecation there as well.

  8. krajorama commented on Jun 25, 2026

    @krajorama
    Member

    I've talked to Prometheus team and we've recently switched to https://docs.npmjs.com/trusted-publishers for Prometheus. So I'll set that up for this repo, which should allow us to publish releases from a workflow. I suggest to make the workflow trigger on "tag" and use immutable tags. This should take care of new releases, and we'll ask kindly Simon/Zach to deprecate the old ones once we're ready.

    UPDATE: seems like I cannot set up trusted publishing for a non existent package. So we'll have to prep something that I publish next to https://www.npmjs.com/package/@prometheus-io/lezer-promql as https://www.npmjs.com/package/@prometheus-io/client_js . I've set up access for myself.

  9. thegu5 commented on Jun 25, 2026

    @thegu5
  10. jdmarshall commented on Jun 26, 2026

    @jdmarshall
    ContributorAuthor

    @krajorama It's almost ceremonial that you do the first publish and then we can go from there. Now where did I leave that bottle of champagne...

  11. jdmarshall commented on Jun 26, 2026

    @jdmarshall
    ContributorAuthor

    I think there's a couple PRs we want to gather up for a 0.16 and we can let you know when trunk is ready for a publish, then work from there.

  12. krajorama commented on Jun 30, 2026

    @krajorama
    Member

    @jdmarshall I still haven't heard back from @SimenB regarding the invitation to the Prometheus project and maintainership. So far you're the only maintainer. It would be great if we had one more person. Can you think of an alternate candidate?

    Also I'm looking for review on formalizing your role: #752 (note that in Prometheus we usually provide an email address as well, but I don't think it's strictly necessary.

  13. jdmarshall commented on Jul 1, 2026

    @jdmarshall
    ContributorAuthor

    That is a good question. I'm the junior maintainer. All of my contributions were merged after the last release.

    I think it would make sense to have one maintainer from the larger https://github.com/prometheus universe as a backup. SimenB has been pretty constant here, but 3 approvers is better for hotfix situations, since you can't approve your own PRs, and so my pending ones are mostly stuck until someone else approves them.

    There's not a lot of TS and JS in the ecosystem at the moment, but I bet that tracks with prom-client being independent. Do you have any nominations for rubber-stamping and security hotfix duties? It's fine if they don't want to be active in day to day issue and PR review.

    My suspicion is that SimenB is just preoccupied with other things at the moment. In the meantime I'll peek farther back in the commit history and see whose jibs I like the cut of.

  14. jdmarshall commented on Jul 1, 2026

    @jdmarshall
    ContributorAuthor

    I have package admin access on npm and can help with the migration/deprecation there as well.

    @zbjornson On prom-client or prometheus?

  15. zbjornson commented on Jul 1, 2026

    @zbjornson
    Contributor

    @jdmarshall prom-client.

  16. 10 remaining items

  17. jdmarshall commented on Jul 29, 2026

    @jdmarshall
    ContributorAuthor
  18. jdmarshall commented on Jul 31, 2026

    @jdmarshall
    ContributorAuthor
  19. added
    roadmap
    on Aug 1, 2026
  20. jdmarshall commented on Aug 1, 2026

    @jdmarshall
    ContributorAuthor

    I'm still getting no traction on #736 and #789 could use some eyeballs @zbjornson

    This has been a problem with this project and I don't know if it's a github glitch or if there's something where people don't check their messages on PRs. There have been a couple that get 'lost' like this.

  21. jdmarshall commented on Aug 19, 2026

    @jdmarshall
    ContributorAuthor

    @zbjornson It's about time to deprecate prom-client in npm. Are you up for that sometime this week? I figure it's okay to publish this one and then deprecate the old one after.

  22. jdmarshall commented on Aug 19, 2026

    @jdmarshall
    ContributorAuthor

    I am attempting to run the release trigger mechanism now.

  23. jdmarshall commented on Aug 19, 2026

    @jdmarshall
    ContributorAuthor

    @krajorama Build failed, because the build agent was not authorized.

    npmjs.org is trying to move to 2FA solutions, after a string of high profile supply chain attacks over the last six to nine months. But I think the instructions here provide a workaround. Problem may be that the secrets have to be rotated every 30-90 days in perpetuity.

    npm notice
    npm notice npm tokens that bypass 2FA are being restricted for account changes and direct publishing. Learn how to prepare: https://gh.io/npm-gat-bypass2fa-deprecation
    npm error code ENEEDAUTH
    npm error need auth This command requires you to be logged in to https://registry.npmjs.org/
    npm error need auth You need to authorize this machine using `npm adduser`
    npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2026-08-19T21_37_47_600Z-debug-0.log
    Error: Process completed with exit code 1.
    

    Excerpted from https://github.com/prometheus/client_js/actions/runs/32304797853/job/96235113818

    I'm unclear what user needs to have npm adduser run on it...

  24. okuryu commented on Aug 20, 2026

    @okuryu

    If you use the currently recommended trusted publishing, I think you could avoid needing to set NODE_AUTH_TOKEN at all 🤔
    https://docs.npmjs.com/trusted-publishers

  25. zbjornson commented on Aug 20, 2026

    @zbjornson
    Contributor

    @jdmarshall yes, I'm around and can do. Please tag me in the comment so the GitHub notification doesn't get filtered to a side folder.

  26. jdmarshall commented on Aug 22, 2026

    @jdmarshall
    ContributorAuthor

    @zbjornson After debugging the github action today, we are looking at Monday for 0.16.0

  27. jdmarshall commented on Aug 24, 2026

    @jdmarshall
    ContributorAuthor

    @zbjornson v0.16.0 has been tagged and published. Please direct people over here.

  28. zbjornson commented on Aug 25, 2026

    @zbjornson
    Contributor
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

    roadmap

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions