Skip to content

Conversation

aphralG
Copy link
Contributor

@aphralG aphralG commented Sep 9, 2025

Proposed changes

  • Cancel and restart subscribe on connection reset.
  • Update FilePlugin to update the FileManagerService connection instead of creating a new one.
  • Update UpdateManifestFile so if the previousManifestFiles map is empty to use the currentFiles
  • Add RollbackManifest bool to determine if the manifest needs to be rollback after a failed config apply
  • More logging

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING document
  • I have run make install-tools and have attached any dependency changes to this pull request
  • If applicable, I have added tests that prove my fix is effective or that my feature works
  • If applicable, I have checked that any relevant tests pass after adding my changes
  • If applicable, I have updated any relevant documentation (README.md)
  • If applicable, I have tested my cross-platform changes on Ubuntu 22, Redhat 8, SUSE 15 and FreeBSD 13

@aphralG aphralG self-assigned this Sep 9, 2025
@github-actions github-actions bot added the chore Pull requests for routine tasks label Sep 9, 2025
@aphralG aphralG marked this pull request as ready for review September 11, 2025 14:23
@aphralG aphralG requested a review from a team as a code owner September 11, 2025 14:23
@@ -161,6 +170,7 @@ func (fms *FileManagerService) ConfigApply(ctx context.Context,

fileErr := fms.executeFileActions(ctx)
if fileErr != nil {
fms.rollbackManifest = false
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When does this boolean get reset to true?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good spot, I forgot adding now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Pull requests for routine tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants