Skip to content

fix(remote): avoid false first-time contributors when tag timestamp missing#1348

Merged
orhun merged 4 commits intomainfrom
fix/release-tag-timestamp-missing
Jan 17, 2026
Merged

fix(remote): avoid false first-time contributors when tag timestamp missing#1348
orhun merged 4 commits intomainfrom
fix/release-tag-timestamp-missing

Conversation

@orhun
Copy link
Copy Markdown
Owner

@orhun orhun commented Jan 17, 2026

Description

When --unreleased is combined with --tag on a branch where the tag/gcs commit isn't in the fetched remote commits, the release commit timestamp can't be resolved.
The "first-time contributor" logic then filters against a missing timestamp and classifies too many contributors as new.
This causes the New Contributors section to include past contributors.

Motivation and Context

Potential fix for #1347

How Has This Been Tested?

Locally

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation (no code change)
  • Refactor (refactoring production code)
  • Other

Checklist:

  • My code follows the code style of this project.
  • I have updated the documentation accordingly (if applicable).
  • I have formatted the code with rustfmt.
    • cargo +nightly fmt --all
  • I checked the lints with clippy.
    • cargo clippy --tests --verbose -- -D warnings
  • I have added tests to cover my changes.
  • All new and existing tests passed.
    • cargo test

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jan 17, 2026

Codecov Report

❌ Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 43.42%. Comparing base (97b0322) to head (61b4140).
⚠️ Report is 89 commits behind head on main.

Files with missing lines Patch % Lines
git-cliff-core/src/remote/mod.rs 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1348      +/-   ##
==========================================
+ Coverage   43.40%   43.42%   +0.03%     
==========================================
  Files          23       23              
  Lines        2247     2248       +1     
==========================================
+ Hits          975      976       +1     
  Misses       1272     1272              
Flag Coverage Δ
unit-tests 43.42% <50.00%> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jaiakash
Copy link
Copy Markdown

jaiakash commented Jan 17, 2026

Here is full log from branch,

 /home/ubuntu/projects/git-cliff/target/release/git-cliff --unreleased --tag 0.3.0
 
# Changelog

## [0.3.0](https://github.com/kubeflow/sdk/releases/tag/0.3.0) (2026-01-17)
### 🚀 Features

- feat: updated release.yml and rm prev script (Akash Jaiswal)
- feat: added git cliff for changelogs (Akash Jaiswal)
- feat(docs): KEP- Spark Client for Kubeflow SDK ([#163](https://github.com/kubeflow/sdk/pull/163) by @Shekharrajak)
- feat(trainer): add get_job_events API to retrieve TrainJob events ([#220](https://github.com/kubeflow/sdk/pull/220) by @sksingh2005)
- feat(trainer): support NVIDIA MIG device resources in TrainJob device… ([#204](https://github.com/kubeflow/sdk/pull/204) by @LabsJS)
- feat: Add custom instructions for GitHub Copilot ([#212](https://github.com/kubeflow/sdk/pull/212) by @osamaahmed17)
- feat:  Add callbacks to the wait_for_job_status() API ([#205](https://github.com/kubeflow/sdk/pull/205) by @osamaahmed17)
- feat(trainer): Allow to reference runtime by name ([#214](https://github.com/kubeflow/sdk/pull/214) by @andreyvelich)
- feat(trainer): Support optional image for CustomTrainer ([#216](https://github.com/kubeflow/sdk/pull/216) by @andreyvelich)
- feat: Add dependabot to Kubeflow SDK ([#194](https://github.com/kubeflow/sdk/pull/194) by @kramaranya)
- feat(docs): Update README with announcement blog post ([#157](https://github.com/kubeflow/sdk/pull/157) by @andreyvelich)

### 🐛 Bug Fixes

- fix: update the format with title (#PR by @username) (Akash Jaiswal)
- fix: use full version name, rm test falgs and edited config to take full PR name (Akash Jaiswal)
- fix: detect prev version automatically and updated release.md (Akash Jaiswal)
- fix: Upgrade urllib3 to  v2.6.1 ([#193](https://github.com/kubeflow/sdk/pull/193) by @Fiona-Waters)
- fix(trainer): expose CustomTrainerContainer for import ([#185](https://github.com/kubeflow/sdk/pull/185) by @AndEsterson)
- fix: update permissions for welcome workflow to avoid 403 error ([#181](https://github.com/kubeflow/sdk/pull/181) by @aniketpati1121)
- fix(ci): Move permissions to the workflow root ([#177](https://github.com/kubeflow/sdk/pull/177) by @kramaranya)
- fix: pip install with --user argument fails with image running in python virtual environment ([#162](https://github.com/kubeflow/sdk/pull/162) by @briangallagher)
- fix(trainer): Remove namespace from ClusterTrainingRuntime exception messages ([#166](https://github.com/kubeflow/sdk/pull/166) by @astefanutti)
- fix(trainer): Use PyTorch static rendezvous in container backend ([#168](https://github.com/kubeflow/sdk/pull/168) by @astefanutti)
- fix(trainer): Fix listing containers with Podman backend ([#154](https://github.com/kubeflow/sdk/pull/154) by @astefanutti)

### 💼 Other

- reveiew: fixes issue and fallback for new contributor page (Akash Jaiswal)
- Kubeflow SDK Official Release 0.2.1 ([#180](https://github.com/kubeflow/sdk/pull/180) by @kramaranya)

### ⚙️ Miscellaneous Tasks

- chore: rm v pattern (Akash Jaiswal)
- chore: format issue and fix feature title (Akash Jaiswal)
- chore: reverter rename of script (Akash Jaiswal)
- chore: refactor the script into different file and fixing the release yml (Akash Jaiswal)
- chore: Nominate @kramaranya as Kubeflow SDK approver ([#206](https://github.com/kubeflow/sdk/pull/206) by @andreyvelich)
- chore(ci): bump softprops/action-gh-release from 1 to 2 ([#209](https://github.com/kubeflow/sdk/pull/209) by @dependabot[bot])
- chore(ci): bump actions/upload-artifact from 4 to 6 ([#208](https://github.com/kubeflow/sdk/pull/208) by @dependabot[bot])
- chore(ci): bump actions/download-artifact from 6 to 7 ([#207](https://github.com/kubeflow/sdk/pull/207) by @dependabot[bot])
- chore(ci): bump amannn/action-semantic-pull-request from 5.5.3 to 6.1.1 ([#210](https://github.com/kubeflow/sdk/pull/210) by @dependabot[bot])
- chore(ci): bump actions/github-script from 7 to 8 ([#201](https://github.com/kubeflow/sdk/pull/201) by @dependabot[bot])
- chore(ci): bump actions/download-artifact from 4 to 6 ([#200](https://github.com/kubeflow/sdk/pull/200) by @dependabot[bot])
- chore(ci): bump actions/stale from 5 to 10 ([#199](https://github.com/kubeflow/sdk/pull/199) by @dependabot[bot])
- chore(ci): bump actions/setup-python from 5 to 6 ([#198](https://github.com/kubeflow/sdk/pull/198) by @dependabot[bot])
- chore(ci): bump actions/checkout from 4 to 6 ([#202](https://github.com/kubeflow/sdk/pull/202) by @dependabot[bot])
- chore(docs): Add new items to the roadmap ([#187](https://github.com/kubeflow/sdk/pull/187) by @kramaranya)


### New Contributors
* @Shekharrajak made their first contribution in [#163](https://github.com/kubeflow/sdk/pull/163)
* @sksingh2005 made their first contribution in [#220](https://github.com/kubeflow/sdk/pull/220)
* @LabsJS made their first contribution in [#204](https://github.com/kubeflow/sdk/pull/204)
* @osamaahmed17 made their first contribution in [#212](https://github.com/kubeflow/sdk/pull/212)
* @AndEsterson made their first contribution in [#185](https://github.com/kubeflow/sdk/pull/185)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants