Skip to content

Conversation

@s3cube
Copy link
Contributor

@s3cube s3cube commented Nov 26, 2025

In this PR:

  • Adding support for deployment monitoring based on ListServiceDeployments and DescribeServiceDeployments

Satej Sawant added 24 commits November 26, 2025 15:50
Add GitHub Actions workflow to test ECS Express service deployment.

Changes:
- Copy test-action.yml from feature/express-service-deployment
- Update to use service-name parameter (required)
- Configure to trigger on feature/integration-tests branch
- Test deployment with public nginx image
- Display service ARN, endpoint, and status outputs
Remove status output line as it's not currently provided by the action.
For testing, use the source index.js file directly instead of
requiring a built dist folder.
- Build the action using ncc to create bundled dist/index.js
- Remove dist/ from .gitignore so it can be committed
- Revert action.yml to use dist/index.js as entry point

GitHub Actions require the dist folder to be committed.
@s3cube s3cube requested review from amazreech and omkhegde November 26, 2025 20:52
// Check if service is ACTIVE
if (statusCode === 'ACTIVE') {
if (!serviceActive) {
serviceActive = true;

Choose a reason for hiding this comment

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

I might have missed this, where do we use this serviceActive, or do we plan to use it in follow up CRs??

Copy link
Contributor Author

Choose a reason for hiding this comment

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

My plan is to potentially add something around the catch block that mentions the service isn't active in edge cases


// Create or update the service
let response;
let deploymentStartTime;

Choose a reason for hiding this comment

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

this can be just let deploymentStartTime = new Date() ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, it could be


try {
// Step 1: Check service status using DescribeExpressGatewayService
const describeServiceCommand = new DescribeExpressGatewayServiceCommand({

Choose a reason for hiding this comment

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

we dont need to call describeGWService every time, right? This can happen before the while(true)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point, fixing in the next one

@s3cube s3cube merged commit d21bc16 into main Nov 26, 2025
1 of 2 checks passed
@s3cube s3cube deleted the deployment-monitoring branch December 1, 2025 19:12
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