question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature proposal: dynamic state IDs based on an input variable

See original GitHub issue

This was called out as “nice to have” but not delivered in the initial iteration of auto-generated state IDs for meltano run.

For scenarios where the ‘environment’ actually builds to multiple deploy targets, such as one per customer or one per CI/CD build number or one per CI/CD branch name, it would be great to have a configurable and dynamic state ID suffix that could take one or more inputs, and use those inputs to ensure a unique set of STATE ID refs when running via meltano run.

Today state IDs are generated like:

${environment_name}:${tap-name}-to-${target-name}

But we could add some per-environment setting such as state_id_suffix or deploy_target_key which would concatenate with the base state ID calc:

${environment_name}:${tap-name}-to-${target-name}:${suffix_str}

Taking the branch names example, and an environment name called cicd, this could look like the following:

cicd:tap-github-to-target-snowflake:main
cicd:tap-github-to-target-snowflake:develop
cicd:tap-github-to-target-snowflake:staging
cicd:tap-github-to-target-snowflake:feat/my-cool-feature
cicd:tap-github-to-target-snowflake:fix/my-super-important-fix

Where each of these variations are basically populated with some input like CI_BRANCH_REF.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:3
  • Comments:12

github_iconTop GitHub Comments

2reactions
tayloramurphycommented, Sep 16, 2022

@ReubenFrankel can you update your PR to close this issue as well once the PR is merged? 😄

1reaction
s7clarke10commented, Sep 19, 2022

This is looking very exciting. Thank you all who contributed to this feature. Really looking forward to trying it out. Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I create unique IDs with JavaScript? - Stack Overflow
This Function generates very unique IDs that are sorted by its generated Date. ... Dynamically creating options using DOM methods can be done...
Read more >
Building an Efficient Intrusion Detection System Based on ...
[77] proposed a hybrid IDS which combines the feature selec- tion approaches of IG and Principal Component Analysis. (PCA) with an ensemble classifier...
Read more >
Survey of intrusion detection systems: techniques, datasets ...
This survey paper presents a taxonomy of contemporary IDS, a comprehensive review of notable recent works, and an overview of the datasets ...
Read more >
A Closer Look at Intrusion Detection System for Web ... - Hindawi
We compare its features with 5 well-known detection systems, namely, AppSensor, PHPIDS, ModSecurity, Shadow Daemon, and AQTRONIX WebKnight, which highlight the ...
Read more >
Gst-nvinfer — DeepStream 6.1.1 Release documentation
Property Meaning Network Types. / Applic... num‑detected‑classes Number of classes detected by the network Detector. Both tensor‑meta‑pool‑size Size of the output tensor meta pool All....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found