Skip to content

Conversation

@PVeazie951
Copy link
Contributor

🧩 Summary

This PR fixes the navigation and state persistence between the Configure and Secrets & Preflight pages. Users can now successfully generate a pipeline and continue to the secrets setup flow without losing context.

✅ Changes
• Updated NeedPipeline guard logic in App.tsx to correctly detect YAML generation in multiple response formats.
• Patched ConfigurePage to properly activate the Continue → Secrets button only when a valid pipeline is available.
• Added controlled navigation handling to prevent unnecessary re-renders.
• Verified role data parsing and AWS OIDC select binding.
• Added console tracepoints for pipeline and role debugging.

🧪 Testing Steps
1. Connect a GitHub repo via the Connect page.
2. Generate a CI/CD pipeline via the Configure page.
3. Confirm Continue → Secrets becomes active once YAML is generated.
4. Click to navigate — confirm the Secrets & Preflight page renders with:
• GitHub app ✅
• Repo info ✅
• AWS OIDC role ✅
5. Verify browser console logs show:

@socket-security
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​aws-sdk/​credential-provider-sso@​3.921.01001007397100
Addedgoogleapis@​164.1.010010010093100
Added@​aws-sdk/​client-sts@​3.921.09810010097100
Added@​aws-sdk/​client-sso-oidc@​3.921.09810010097100
Added@​aws-sdk/​client-iam@​3.921.09810010097100
Added@​aws-sdk/​client-s3@​3.921.09810010097100

View full report

Copy link
Collaborator

@eodafoo eodafoo left a comment

Choose a reason for hiding this comment

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

good job

@eodafoo eodafoo merged commit c54dba7 into main Nov 6, 2025
2 checks passed
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