Skip to content

Conversation

@alexiswl
Copy link
Member

@alexiswl alexiswl commented Oct 9, 2025

Remove deprecated glues

Remove deprecated glues
@alexiswl alexiswl self-assigned this Oct 9, 2025
@alexiswl alexiswl added the bug Something isn't working label Oct 9, 2025
Copy link
Contributor

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.

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.

Comment on lines +255 to +272
// this.oraDecompressionManagerStack = new OraDecompressionManagerStack(
// scope,
// 'OraDecompressionManagerStack',
// {
// ...this.createTemplateProps(env, 'OraDecompressionManagerStack'),
// ...statelessConfiguration.oraDecompressionManagerStackProps,
// }
// );
//
// this.cttsov2Icav2PipelineManagerStack = new Cttsov2Icav2PipelineManagerStack(
// scope,
// 'Cttsov2Icav2PipelineManagerStack',
// {
// ...this.createTemplateProps(env, 'Cttsov2Icav2PipelineManagerStack'),
// ...statelessConfiguration.cttsov2Icav2PipelineManagerStackProps,
// }
// );

Copy link

Copilot AI Oct 9, 2025

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.

Suggested change
// 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 uses AI. Check for mistakes.
Comment on lines +104 to +113
// 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,
// });
Copy link

Copilot AI Oct 9, 2025

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.

Copilot uses AI. Check for mistakes.
Comment on lines +118 to +130
// 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,
// });
Copy link

Copilot AI Oct 9, 2025

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.

Suggested change
// 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 uses AI. Check for mistakes.
Comment on lines +186 to 200
// 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,
// });

Copy link

Copilot AI Oct 9, 2025

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.

Suggested change
// 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 uses AI. Check for mistakes.
Comment on lines +239 to +248
// 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,
// });
Copy link

Copilot AI Oct 9, 2025

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.

Suggested change
// 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 uses AI. Check for mistakes.
Copy link
Member

@victorskl victorskl left a comment

Choose a reason for hiding this comment

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

This is great!

@alexiswl alexiswl added this pull request to the merge queue Oct 10, 2025
Merged via the queue into main with commit 682ad5c Oct 10, 2025
5 checks passed
@alexiswl alexiswl deleted the bugfix/stacky-cleanup branch October 10, 2025 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants