Skip to content

SCM Import project status remains DELETE_NEEDED while all tracked items are CLEAN #88

Description

@tubaaktas

Rundeck version: 6.0.1-20260715
Git plugin: rundeck-git-plugin-6.0.1-20260715.jar

SCM Import configuration:

  • branch: main
  • fetchAutomatically: true
  • pullAutomatically: true
  • filePattern: rundeck/project/.*.yaml
  • importUuidBehavior: preserve

Problem:
The project-level SCM Import status remains:

synchState: DELETE_NEEDED

The API message is inconsistent:

  • sometimes: "191 tracked file(s) were deleted"
  • sometimes: empty

However, the actual state is:

  • importItems total: 191
  • tracked: 191
  • deleted: 0
  • CLEAN: 191
  • individual job SCM status: CLEAN
  • Git working tree is clean
  • 191 YAML files are tracked
  • 0 files are deleted
  • HEAD == origin/main

Expected:
Project-level SCM status should be CLEAN when no tracked files are deleted and all import items are CLEAN.

Actual:
Project-level SCM status remains DELETE_NEEDED even though no tracked files are deleted.

Recreating the SCM configuration can temporarily return CLEAN, but DELETE_NEEDED comes back again later.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions