-
Notifications
You must be signed in to change notification settings - Fork 0
Stacky clean up #1046
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stacky clean up #1046
Conversation
Remove deprecated glues
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR removes deprecated glue constructs and their associated stack configurations from the codebase. The changes clean up unused pipeline manager stacks and their corresponding glue handler constructs that are no longer needed.
- Removed imports for deprecated stack classes while keeping their props interfaces
- Commented out instantiation of deprecated pipeline manager stacks and moved them to commented sections
- Commented out deprecated glue handler construct instantiations
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
| lib/workload/stateless/statelessStackCollectionClass.ts | Removes deprecated stack class imports and comments out their instantiations while preserving props imports |
| lib/workload/stateless/stacks/stacky-mcstackface/glue-constructs/index.ts | Comments out deprecated glue handler construct instantiations |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| // this.oraDecompressionManagerStack = new OraDecompressionManagerStack( | ||
| // scope, | ||
| // 'OraDecompressionManagerStack', | ||
| // { | ||
| // ...this.createTemplateProps(env, 'OraDecompressionManagerStack'), | ||
| // ...statelessConfiguration.oraDecompressionManagerStackProps, | ||
| // } | ||
| // ); | ||
| // | ||
| // this.cttsov2Icav2PipelineManagerStack = new Cttsov2Icav2PipelineManagerStack( | ||
| // scope, | ||
| // 'Cttsov2Icav2PipelineManagerStack', | ||
| // { | ||
| // ...this.createTemplateProps(env, 'Cttsov2Icav2PipelineManagerStack'), | ||
| // ...statelessConfiguration.cttsov2Icav2PipelineManagerStackProps, | ||
| // } | ||
| // ); | ||
|
|
Copilot
AI
Oct 9, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These commented-out stack instantiations should be removed entirely rather than left as commented code. Commented code can cause confusion and should be cleaned up during deprecation.
| // this.oraDecompressionManagerStack = new OraDecompressionManagerStack( | |
| // scope, | |
| // 'OraDecompressionManagerStack', | |
| // { | |
| // ...this.createTemplateProps(env, 'OraDecompressionManagerStack'), | |
| // ...statelessConfiguration.oraDecompressionManagerStackProps, | |
| // } | |
| // ); | |
| // | |
| // this.cttsov2Icav2PipelineManagerStack = new Cttsov2Icav2PipelineManagerStack( | |
| // scope, | |
| // 'Cttsov2Icav2PipelineManagerStack', | |
| // { | |
| // ...this.createTemplateProps(env, 'Cttsov2Icav2PipelineManagerStack'), | |
| // ...statelessConfiguration.cttsov2Icav2PipelineManagerStackProps, | |
| // } | |
| // ); |
| // const handyPal = new OncoanalyserGlueHandlerConstruct(this, 'handyPal', { | ||
| // /* Event Objects */ | ||
| // eventBusObj: props.eventBusObj, | ||
| // /* Tables */ | ||
| // oncoanalyserGlueTableObj: props.oncoanalyserGlueTableObj, | ||
| // /* SSM Parameter Objects */ | ||
| // analysisCacheUriSsmParameterObj: props.analysisCacheUriSsmParameterObj, | ||
| // analysisLogsUriSsmParameterObj: props.analysisLogsUriSsmParameterObj, | ||
| // analysisOutputUriSsmParameterObj: props.analysisOutputUriSsmParameterObj, | ||
| // }); |
Copilot
AI
Oct 9, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commented-out glue handler construct should be removed entirely rather than left as commented code. Leaving deprecated code commented out can lead to confusion and maintenance overhead.
| // const jb_weld = new Cttsov2GlueHandlerConstruct(this, 'jb_weld', { | ||
| // /* Event Bus */ | ||
| // eventBusObj: props.eventBusObj, | ||
| // /* Tables */ | ||
| // cttsov2GlueTableObj: props.cttsov2GlueTableObj, | ||
| // /* SSM Parameters */ | ||
| // icav2ProjectIdSsmParameterObj: props.icav2ProjectIdSsmParameterObj, | ||
| // analysisOutputUriSsmParameterObj: props.analysisOutputUriSsmParameterObj, | ||
| // analysisCacheUriSsmParameterObj: props.analysisCacheUriSsmParameterObj, | ||
| // analysisLogsUriSsmParameterObj: props.analysisLogsUriSsmParameterObj, | ||
| // /* Secrets */ | ||
| // icav2AccessTokenSecretObj: props.icav2AccessTokenSecretObj, | ||
| // }); |
Copilot
AI
Oct 9, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commented-out glue handler construct should be removed entirely rather than left as commented code. Leaving deprecated code commented out can lead to confusion and maintenance overhead.
| // const jb_weld = new Cttsov2GlueHandlerConstruct(this, 'jb_weld', { | |
| // /* Event Bus */ | |
| // eventBusObj: props.eventBusObj, | |
| // /* Tables */ | |
| // cttsov2GlueTableObj: props.cttsov2GlueTableObj, | |
| // /* SSM Parameters */ | |
| // icav2ProjectIdSsmParameterObj: props.icav2ProjectIdSsmParameterObj, | |
| // analysisOutputUriSsmParameterObj: props.analysisOutputUriSsmParameterObj, | |
| // analysisCacheUriSsmParameterObj: props.analysisCacheUriSsmParameterObj, | |
| // analysisLogsUriSsmParameterObj: props.analysisLogsUriSsmParameterObj, | |
| // /* Secrets */ | |
| // icav2AccessTokenSecretObj: props.icav2AccessTokenSecretObj, | |
| // }); |
| // const nails = new PieriandxGlueHandlerConstruct(this, 'nails', { | ||
| // /* Event Bus */ | ||
| // eventBusObj: props.eventBusObj, | ||
| // | ||
| // /* Tables */ | ||
| // pieriandxGlueTableObj: props.pieriandxGlueTableObj, | ||
| // | ||
| // /* Secrets */ | ||
| // icav2AccessTokenSecretObj: props.icav2AccessTokenSecretObj, | ||
| // | ||
| // /* Extras */ | ||
| // pieriandxProjectInfoSsmParameterObj: props.pieriandxProjectInfoSsmParameterObj, | ||
| // redcapLambdaObj: props.redcapLambdaObj, | ||
| // }); | ||
|
|
Copilot
AI
Oct 9, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commented-out glue handler construct should be removed entirely rather than left as commented code. Leaving deprecated code commented out can lead to confusion and maintenance overhead.
| // const nails = new PieriandxGlueHandlerConstruct(this, 'nails', { | |
| // /* Event Bus */ | |
| // eventBusObj: props.eventBusObj, | |
| // | |
| // /* Tables */ | |
| // pieriandxGlueTableObj: props.pieriandxGlueTableObj, | |
| // | |
| // /* Secrets */ | |
| // icav2AccessTokenSecretObj: props.icav2AccessTokenSecretObj, | |
| // | |
| // /* Extras */ | |
| // pieriandxProjectInfoSsmParameterObj: props.pieriandxProjectInfoSsmParameterObj, | |
| // redcapLambdaObj: props.redcapLambdaObj, | |
| // }); |
| // const tRex = new OncoanalyserBothSashGlueHandlerConstruct(this, 'trex', { | ||
| // /* Event Objects */ | ||
| // eventBusObj: props.eventBusObj, | ||
| // /* Tables */ | ||
| // oncoanalyserBothSashGlueTableObj: props.oncoanalyserBothSashGlueTableObj, | ||
| // /* SSM Parameter Objects */ | ||
| // analysisCacheUriSsmParameterObj: props.analysisCacheUriSsmParameterObj, | ||
| // analysisLogsUriSsmParameterObj: props.analysisLogsUriSsmParameterObj, | ||
| // analysisOutputUriSsmParameterObj: props.analysisOutputUriSsmParameterObj, | ||
| // }); |
Copilot
AI
Oct 9, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commented-out glue handler construct should be removed entirely rather than left as commented code. Leaving deprecated code commented out can lead to confusion and maintenance overhead.
| // const tRex = new OncoanalyserBothSashGlueHandlerConstruct(this, 'trex', { | |
| // /* Event Objects */ | |
| // eventBusObj: props.eventBusObj, | |
| // /* Tables */ | |
| // oncoanalyserBothSashGlueTableObj: props.oncoanalyserBothSashGlueTableObj, | |
| // /* SSM Parameter Objects */ | |
| // analysisCacheUriSsmParameterObj: props.analysisCacheUriSsmParameterObj, | |
| // analysisLogsUriSsmParameterObj: props.analysisLogsUriSsmParameterObj, | |
| // analysisOutputUriSsmParameterObj: props.analysisOutputUriSsmParameterObj, | |
| // }); |
victorskl
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great!
Remove deprecated glues