pulp / pulp/pulp-openapi-generator

Commit validation is outdated and fails on CI

Open
#96 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Mustache
Stars
4
Forks
29
PR merge metrics
No merged PRs in 30d

Description

I've received this error on a PR and the issue #94 is valid.

Checking commit message for 343cbb4.
Error: issue #94 has invalid status of CLOSED - CURRENTRELEASE. Status must be one of NEW, ASSIGNED, POST, MODIFIED.
Error: Process completed with exit code 1.

The problem is that the commit-validation script is outdated and points to a no longer used service:
https://github.com/pulp/pulp-openapi-generator/blob/b9e97512e67d9802a3898fffc59f6ec908314f8c/.ci/scripts/validate_commit_message.py#L25-L34

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with .ci/scripts/validate_commit_message.py, especially the service reference around lines 25–34, and inspect the CI job that runs commit validation. Reproduce the reported failure if possible and identify the current source for issue status. Done means validation no longer relies on the retired service and the CI check passes for valid commits.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ci-cd
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.