Skip to content

Conversation

kfindeisen
Copy link
Member

This PR makes the pipeline config parsing more flexible regarding survey names, now allowing any character that isn't clearly problematic.

We recently encountered a survey name with hyphens; this patch also
preemptively allows other characters. The only characters that are
still forbidden are " (the delimiter), = (which is generally forbidden
for ease of parsing), and newline (no legitimate use, possibly a sign
of shady business).
Such newlines are not expected to be legitimate, and could indicate
something fishy going on. However, we want to allow newlines *between*
paths, as this is the most convenient way of formatting pipeline lists.
This debug-level log ensures we can always identify exactly what a
given pod received, in case it doesn't match (or is too hard to
correlate with) the output of fan-out.
@kfindeisen
Copy link
Member Author

kfindeisen commented Nov 9, 2023

Added one last-minute commit to log incoming nextVist messages -- it's something that would have been very useful last night, but isn't worth a dedicated issue.

Copy link
Collaborator

@hsinfang hsinfang left a comment

Choose a reason for hiding this comment

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

All look great! Thanks for having these improvements so quickly!

@kfindeisen kfindeisen merged commit 35f7361 into main Nov 9, 2023
@kfindeisen kfindeisen deleted the tickets/DM-41658 branch November 9, 2023 22:06
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.

2 participants