Skip to content

Move location of new creds files to be next to flows (if they don't exist already in userdir)#4951

Merged
knolleary merged 3 commits intodevfrom
move-location-of-new-creds-files
Feb 26, 2026
Merged

Move location of new creds files to be next to flows (if they don't exist already in userdir)#4951
knolleary merged 3 commits intodevfrom
move-location-of-new-creds-files

Conversation

@dceejay
Copy link
Copy Markdown
Member

@dceejay dceejay commented Nov 11, 2024

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Proposed changes

If you specify the location of the flows file to be somewhere else then currently the flows_cred.json file remains located in the userdir. This PR checks to see if the file already exists in the userdir (so as not to break existing uses) - but if not - then it creates the cred file in the same directory as the flows so that copying them manually is simplified.
It also means that when using docker and setting the flows to be mounted outside the container for persistence then the creds are also persisted alongside them.
Hopefully this doesn't break existing users - but as it is a change of behaviour it may need a serious version bump.

Checklist

  • I have read the contribution guidelines
  • For non-bugfix PRs, I have discussed this change on the forum/slack team.
  • I have run npm run test to verify the unit tests pass
  • I have added suitable unit tests to cover the new/changed functionality

@knolleary knolleary added this to the 4.1 milestone Apr 14, 2025
@dceejay
Copy link
Copy Markdown
Member Author

dceejay commented Aug 11, 2025

Hi @knolleary - did this drop off the 4.1 radar ? Can we get it into 4.1.1 or whenever that "clicking outside" fix goes in please ?

@dceejay
Copy link
Copy Markdown
Member Author

dceejay commented Oct 14, 2025

@knolleary Likewise - can we get this bumped back into the contention please.

@dceejay dceejay requested a review from Copilot December 3, 2025 17:06
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dceejay dceejay modified the milestones: 4.1, 5.0 Dec 3, 2025
@dceejay
Copy link
Copy Markdown
Member Author

dceejay commented Jan 14, 2026

@knolleary - Hi any chance of this being merged or not ? Obvs would prefer it to be merged - but if not I need to make a permanent work around. Thanks

@knolleary knolleary merged commit cd9ff6d into dev Feb 26, 2026
5 checks passed
@knolleary knolleary deleted the move-location-of-new-creds-files branch February 26, 2026 13:20
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