-
Notifications
You must be signed in to change notification settings - Fork 245
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
fix(rosetta): 'extract' does not translate samples in submodule READMEs #2712
Conversation
I don't understand why the integ test is failing |
There is an unhandled promise rejection in
It appears some CDK documentation block uses a non-existent fixture file! |
Thanks for digging that one out for me! Guess there's no getting around the fact that the strategies Rosetta uses to get at fixtures and types aren't going to work for a monocdk that has been stitched together from the individual source packages. Here's what Rosetta sees:
Here's what Rosetta needs to conclude:
....but how? I don't think it can. Bottom line: this can't ever work without a lot more investment. |
Supposedly we can move all fixtures to the right location... but they'll still have the wrong import names. |
We need this to have `jsii-rosetta` runs that try to translate READMEs from submodules not crash (because it can't find the referenced fixture files). This is not a correct final state yet, but it makes the build not crash. Hopefully allows aws/jsii#2712 to be merged. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Thank you for contributing! ❤️ I will now look into making sure the PR is up-to-date, then proceed to try and merge it! |
Merging (with squash)... |
Merging (with squash)... |
Merging (with squash)... |
…ADMEs (#2729) Reverts #2712 The mentioned commit breaks our cdk integ test since it depends on aws/aws-cdk#13670, which hasn't landed on the release branch yet. This will be reintroduced after we release CDK.
We need this to have `jsii-rosetta` runs that try to translate READMEs from submodules not crash (because it can't find the referenced fixture files). This is not a correct final state yet, but it makes the build not crash. Hopefully allows aws/jsii#2712 to be merged. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
We need this to have `jsii-rosetta` runs that try to translate READMEs from submodules not crash (because it can't find the referenced fixture files). This is not a correct final state yet, but it makes the build not crash. Hopefully allows aws/jsii#2712 to be merged. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.