chore(release): park the non-functional ep_etherpad npm publish#7922
Open
JohnMcLear wants to merge 1 commit into
Open
chore(release): park the non-functional ep_etherpad npm publish#7922JohnMcLear wants to merge 1 commit into
JohnMcLear wants to merge 1 commit into
Conversation
The releaseEtherpad workflow renames ep_etherpad-lite -> ep_etherpad and publishes ./src to npm, but that publish is not load-bearing: - `ep_etherpad` has 0 dependents on npm; nothing in this repo depends on it. - Plugins import `ep_etherpad-lite` resolved from the LOCAL core install, and plugin CI clones `ether/etherpad` rather than `npm install`-ing core. - Etherpad is run via git clone / Docker / zip / snap, never `npm install`. It has been failing with E404 (the ep_etherpad package has no OIDC trusted publisher configured on npmjs.com), which is why npm is stuck at 2.5.0 while 3.0/3.1/3.2/3.3 shipped fine without it. Rather than chase a trusted-publisher setup for a publish nobody consumes, park the workflow: gate the job behind an explicit `confirm: true` dispatch input so a stray run fails fast with a clear message instead of a confusing 404, and document the status in the header + the AGENTS.MD Releasing section. This is the package owner's (samtv12345) call: either finish the trusted- publisher config to revive it, or remove the workflow. Parked pending that decision; nothing about the release depends on it. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
Code Review by Qodo
1. YML/YAML naming mismatch
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Summary by Qodo
Park ep_etherpad npm publish workflow behind explicit confirm input
⚙️ Configuration changes📝 Documentation🕐 10-20 MinutesWalkthroughs
User Description
Why
While cutting 3.3.0 the npm-publish step (
releaseEtherpad.yaml) failed withE404 PUT https://registry.npmjs.org/ep_etherpad. Investigating why we publish it at all, the answer is: no functional reason.ep_etherpadhas 0 dependents on npm, and nothing in this repo depends on it.ep_etherpad-literesolved from the local core install; plugin CI clonesether/etherpadrather thannpm install-ing core.npm install.ep_etherpadhas no OIDC trusted publisher configured on npmjs.com, which is why npm is stuck at 2.5.0 while 3.0/3.1/3.2/3.3 all shipped fine without it.The 3.3.0 release itself is complete (GitHub Release, tags, docs, Docker, snap); only this orphaned publish was "failing".
What this does
Rather than chase a trusted-publisher setup for a publish nobody consumes, park the workflow:
confirm: truedispatch input, with a guard step that fails fast with a clear message instead of the confusing 404.Nothing is deleted — this is the package owner's call. @SamTV12345, since you own the
ep_etherpadnpm package: do you want to (a) finish the trusted-publisher config (npmjs.com → ep_etherpad → Settings → Trusted Publisher → repoether/etherpad, workflowreleaseEtherpad.yml) to revive it, or (b) drop the workflow entirely? Parked pending your decision.🤖 Generated with Claude Code
AI Description
Diagram
graph TD A["Maintainer"] --> B["releaseEtherpad workflow_dispatch"] --> C{"confirm=true?"} C -- "No" --> D["Guard step: fail fast"] C -- "Yes" --> E["Publish steps"] --> F[("npm registry: ep_etherpad")] subgraph Legend direction LR _actor["Actor"] ~~~ _dec{"Decision"} ~~~ _ext[("External system")] endHigh-Level Assessment
The following are alternative approaches to this PR:
1. Configure npm OIDC trusted publisher and keep publishing
2. Remove the workflow entirely
3. Move publish behind an environment protection gate (in addition to confirm)
Recommendation: Parking behind an explicit
confirm: trueinput is the best interim approach: it prevents accidental failures while preserving the workflow pending the npm owner’s decision. Longer-term, either (a) complete trusted-publisher setup if npm publish is desired, or (b) remove the workflow to reduce release surface area.File Changes
Documentation (1)
Other (1)