Skip to content

fix(amazonq): Fix devfile detection on Feature Dev invocation. #5583

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

Merged
merged 1 commit into from
Apr 20, 2025

Conversation

ctidd
Copy link
Contributor

@ctidd ctidd commented Apr 15, 2025

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Description

Problem: An incorrect path lookup led to devfile existence check (checkForDevFile) not detecting presence of devfile on /dev invocation. As a result, a prompt to opt-in to devfile-based build functionality would not be displayed.

Solution: Fix the check, ensuring that the devfile is now located, and the configuration prompt now triggers for a user to enable devfile-based build for /dev invocations.

Checklist

  • My code follows the code style of this project
  • [N/A] I have added tests to cover my changes
  • A short description of the change has been added to the CHANGELOG if the change is customer-facing in the IDE.
  • [M/A] I have added metrics for my changes (if required)

License

I confirm that my contribution is made under the terms of the Apache 2.0 license.

@ctidd ctidd requested review from a team as code owners April 15, 2025 22:50
@ctidd ctidd enabled auto-merge (squash) April 20, 2025 18:32
@ctidd ctidd force-pushed the ctidd/devfile-init branch from bb0621d to 73ad290 Compare April 20, 2025 18:32
@ctidd ctidd merged commit c5f15d6 into aws:main Apr 20, 2025
12 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