Skip to content

fix: Fix not being able to see some templates#5705

Open
marcindobry wants to merge 1 commit intomasterfrom
marcin/NAN-5120/fix-not-being-able-to-see-templates
Open

fix: Fix not being able to see some templates#5705
marcindobry wants to merge 1 commit intomasterfrom
marcin/NAN-5120/fix-not-being-able-to-see-templates

Conversation

@marcindobry
Copy link
Copy Markdown
Contributor

@marcindobry marcindobry commented Mar 25, 2026

Robin noticed that when he had a hubspot/users sync previously deployed (and disabled now), the new hubspot/sync-users template wasn't even available to turn on. This was the case for a few other syncs too.

The reason for that is we are filtering templates that sync models with the same name as any other previously deployed sync. Since syncs can't influence models from other syncs, this doesn't seem to make sense.


This PR updates flow template deduplication so templates are no longer filtered out solely due to sharing model names with previously deployed syncs, and adds an integration test to ensure renamed templates remain visible when legacy syncs exist.


This summary was automatically generated by @propel-code-bot

@linear
Copy link
Copy Markdown

linear bot commented Mar 25, 2026

@marcindobry marcindobry requested a review from a team March 25, 2026 17:30
Copy link
Copy Markdown
Contributor

@propel-code-bot propel-code-bot bot left a comment

Choose a reason for hiding this comment

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

Review found no issues; changes appear well covered and aligned with intent.

Status: No Issues Found | Risk: Low

Review Details

📁 2 files reviewed | 💬 0 comments

Instruction Files
└── .claude/
    ├── agents/
    │   └── nango-docs-migrator.md
    └── skills

@marcindobry marcindobry force-pushed the marcin/NAN-5120/fix-not-being-able-to-see-templates branch from faeb5a4 to ae2e919 Compare March 25, 2026 17:57
expect(scriptListFile).not.toBeUndefined();
});

it('should keep renamed templates visible when an older sync with different endpoint exists', async () => {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Isn't it supposed to be "when an older sync with the same model name exists"? (And same reflected on the test)

@marcindobry marcindobry force-pushed the marcin/NAN-5120/fix-not-being-able-to-see-templates branch 2 times, most recently from d6dace1 to 737e18b Compare March 27, 2026 21:25
@marcindobry marcindobry force-pushed the marcin/NAN-5120/fix-not-being-able-to-see-templates branch from 737e18b to fd848ae Compare March 27, 2026 21:29
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