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
chore: improve nx config support and caching #231
Conversation
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 2611211. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this branch ✅ Successfully ran 2 targetsSent with 💌 from NxCloud. |
d873720
to
c5652d9
Compare
8383aa5
to
150fc59
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall it looks good and is much cleaner. Just had a few comments.
This pull request is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the "backlog" label. |
Closing this pull request as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the "backlog" label. |
2c4c0c6
to
25862ec
Compare
- enable PDKProject direct nx project config - move default nx build target to workspace - remove legacy nx override logic - separate out aws-arch generate task and enable caching BREAKING CHANGE: modified nx-monorepo config settings for Nx 1. `WorkspaceConfig.nxConfig` type `NxConfig => Nx.WorkspaceConfig` 2. `overrideProjectTargets` removed in favor of `PDKProject.nx` config to manage Nx project See [PR 231](aws#231)
25862ec
to
34cf91f
Compare
34cf91f
to
2b1f12a
Compare
@agdimech After digging a bit deeper here, the real issue is the The only way I could make this deterministic is to commit the pricing-manifest.json file to the source code. I also added a github workflow to run weekly to auto fetch the pricing and run build (which also updates the snapshots) - currently it requires manual approval since I want to see the snapshots since there is lots of auto mapping atm. Hopefully this works well enough. Commit for this new code here: 2611211 |
To support deterministic caching of aws-arch genoration of aws pricing, we need to store the manifest locally since. Creating github workflow to support weekly updates along with snapshot updates and build verification - currently requires manually approval.
- enable PDKProject direct nx project config - move default nx build target to workspace - remove legacy nx override logic - separate out aws-arch generate task and enable caching BREAKING CHANGE: modified nx-monorepo config settings for Nx 1. `WorkspaceConfig.nxConfig` type `NxConfig => Nx.WorkspaceConfig` 2. `overrideProjectTargets` removed in favor of `PDKProject.nx` config to manage Nx project See [PR 231](#231)
Improve NX project and target configurations
Improve aws-arch generator caching
static/**
to generate input caching