Skip to content

feat : project preheat execution#925

Draft
Sypher845 wants to merge 20 commits into
goharbor:mainfrom
Sypher845:feat/project-preheat-execution
Draft

feat : project preheat execution#925
Sypher845 wants to merge 20 commits into
goharbor:mainfrom
Sypher845:feat/project-preheat-execution

Conversation

@Sypher845
Copy link
Copy Markdown
Contributor

Note : This is the second PR for the issue #836 . This should be merged after the merging of #871

Description

Adds the harbor project preheat execution command group to manage P2P preheat executions of a policy under a project. Harbor supports P2P (Peer-to-Peer) preheat distribution using engines like Dragonfly or Kraken. Users can create preheat policies under a project to preload container images into a P2P network before they are needed. The preheat command allows users to manage preheat policies, monitor executions, and inspect tasks from the terminal.

Commands

  • harbor project preheat execution list — List preheat executions
Kooha-2026-05-14-01-01-53
  • harbor project preheat execution view — View a particular preheat executions
Kooha-2026-05-14-01-02-45
  • harbor project preheat execution stop — Stop a particular preheat executions
Kooha-2026-05-14-01-03-22

Type of Change

  • Bug fix
  • New feature
  • Refactor
  • Documentation update
  • Chore / maintenance

Sypher845 added 20 commits May 12, 2026 21:03
Signed-off-by: Sypher845 <suyashpatil845@gmail.com>
Signed-off-by: Sypher845 <suyashpatil845@gmail.com>
Signed-off-by: Sypher845 <suyashpatil845@gmail.com>
Signed-off-by: Sypher845 <suyashpatil845@gmail.com>
Signed-off-by: Sypher845 <suyashpatil845@gmail.com>
Signed-off-by: Sypher845 <suyashpatil845@gmail.com>
Signed-off-by: Sypher845 <suyashpatil845@gmail.com>
Signed-off-by: Sypher845 <suyashpatil845@gmail.com>
Signed-off-by: Sypher845 <suyashpatil845@gmail.com>
Signed-off-by: Sypher845 <suyashpatil845@gmail.com>
Signed-off-by: Sypher845 <suyashpatil845@gmail.com>
Signed-off-by: Sypher845 <suyashpatil845@gmail.com>
Signed-off-by: Sypher845 <suyashpatil845@gmail.com>
Signed-off-by: Sypher845 <suyashpatil845@gmail.com>
Signed-off-by: Sypher845 <suyashpatil845@gmail.com>
Signed-off-by: Sypher845 <suyashpatil845@gmail.com>
Signed-off-by: Sypher845 <suyashpatil845@gmail.com>
Signed-off-by: Sypher845 <suyashpatil845@gmail.com>
Signed-off-by: Sypher845 <suyashpatil845@gmail.com>
Signed-off-by: Sypher845 <suyashpatil845@gmail.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented May 13, 2026

Codecov Report

❌ Patch coverage is 0% with 1189 lines in your changes missing coverage. Please review.
✅ Project coverage is 7.86%. Comparing base (60ad0bd) to head (4e1b5ce).
⚠️ Report is 161 commits behind head on main.

Files with missing lines Patch % Lines
pkg/api/preheat_handler.go 0.00% 137 Missing ⚠️
pkg/config/preheat/policies.go 0.00% 129 Missing ⚠️
pkg/views/preheat/policy/create/view.go 0.00% 118 Missing ⚠️
cmd/harbor/root/project/preheat/policy/update.go 0.00% 106 Missing ⚠️
cmd/harbor/root/project/preheat/policy/create.go 0.00% 99 Missing ⚠️
cmd/harbor/root/project/preheat/execution/list.go 0.00% 63 Missing ⚠️
cmd/harbor/root/project/preheat/execution/view.go 0.00% 62 Missing ⚠️
cmd/harbor/root/project/preheat/execution/stop.go 0.00% 56 Missing ⚠️
cmd/harbor/root/project/preheat/policy/view.go 0.00% 51 Missing ⚠️
cmd/harbor/root/project/preheat/policy/list.go 0.00% 47 Missing ⚠️
... and 13 more
Additional details and impacted files
@@            Coverage Diff            @@
##             main    #925      +/-   ##
=========================================
- Coverage   10.99%   7.86%   -3.13%     
=========================================
  Files         173     309     +136     
  Lines        8671   15632    +6961     
=========================================
+ Hits          953    1230     +277     
- Misses       7612   14285    +6673     
- Partials      106     117      +11     

☔ 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.

@Sypher845 Sypher845 mentioned this pull request May 14, 2026
5 tasks
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.

1 participant