Skip to content

build(client): Fix configs preventing incremental build #22897

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 24 commits into from
Nov 27, 2024

Conversation

tylerbutler
Copy link
Member

@tylerbutler tylerbutler commented Oct 25, 2024

Fixes several problems causing builds to not be fully incremental.

  1. data-object-base had no tests but included test-related tasks. Since no test output was generated, the task was never incremental. Those superfluous tasks have been removed. They can be added back if/when the package is no longer experimental.
  2. Added new declarative tasks for flub check buildversion and markdown-magic.
  3. The ai-collab project has "allowJs": true in its tsconfig. That setting causes problems with incremental builds (see improvement(fluid-build): Ignore some tsconfig fields when determining incremental build #23197 for more details). It's removed in this change but if it is truly needed then I'll add it back.

@tylerbutler tylerbutler changed the title build(client): Fix incremental configs preventing incremental build build(client): Fix configs preventing incremental build Oct 25, 2024
@github-actions github-actions bot added area: dds: propertydds base: main PRs targeted against main branch labels Oct 25, 2024
Copy link
Collaborator

@msfluid-bot msfluid-bot left a comment

Choose a reason for hiding this comment

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

Code Coverage Summary

No packages impacted by the change.


Baseline commit: 651a64c
Baseline build: 309862
Happy Coding!!

Code coverage comparison check passed!!

@github-actions github-actions bot added area: examples Changes that focus on our examples area: framework Framework is a tag for issues involving the developer framework. Eg Aqueduct and removed area: dds: propertydds labels Nov 23, 2024
@@ -2,7 +2,7 @@
"extends": "../../../common/build/build-common/tsconfig.node16.json",
"compilerOptions": {
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
// "allowJs": true,
Copy link
Member Author

Choose a reason for hiding this comment

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

Is this required for this project?

Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think so. @seanimam was this put there deliberately?

@github-actions github-actions bot added area: build Build related issues dependencies Pull requests that update a dependency file labels Nov 23, 2024
@msfluid-bot
Copy link
Collaborator

msfluid-bot commented Nov 23, 2024

@fluid-example/bundle-size-tests: +245 Bytes
Metric NameBaseline SizeCompare SizeSize Diff
aqueduct.js 467.08 KB 467.11 KB +35 Bytes
azureClient.js 563.85 KB 563.9 KB +49 Bytes
connectionState.js 724 Bytes 724 Bytes No change
containerRuntime.js 263.27 KB 263.29 KB +14 Bytes
fluidFramework.js 428.71 KB 428.73 KB +14 Bytes
loader.js 134.18 KB 134.19 KB +14 Bytes
map.js 42.71 KB 42.71 KB +7 Bytes
matrix.js 150.15 KB 150.16 KB +7 Bytes
odspClient.js 530.45 KB 530.5 KB +49 Bytes
odspDriver.js 98.65 KB 98.67 KB +21 Bytes
odspPrefetchSnapshot.js 43.04 KB 43.05 KB +14 Bytes
sharedString.js 166.23 KB 166.24 KB +7 Bytes
sharedTree.js 419.17 KB 419.18 KB +7 Bytes
Total Size 3.38 MB 3.38 MB +245 Bytes

Baseline commit: e71e434

Generated by 🚫 dangerJS against b64edb1

@github-actions github-actions bot removed dependencies Pull requests that update a dependency file area: build Build related issues labels Nov 23, 2024
@tylerbutler tylerbutler marked this pull request as ready for review November 24, 2024 00:20
@tylerbutler tylerbutler requested a review from a team November 24, 2024 00:21
Copy link
Contributor

@alexvy86 alexvy86 left a comment

Choose a reason for hiding this comment

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

Pending confirmation of the allowJs bit, this lgtm.

tylerbutler and others added 2 commits November 25, 2024 16:36
Co-authored-by: Alex Villarreal <716334+alexvy86@users.noreply.github.com>
@tylerbutler tylerbutler requested a review from seanimam November 26, 2024 00:36
@tylerbutler
Copy link
Member Author

I'm merging this including the ai-collab change because CI is clear, and there doesn't seem to be any other need for the setting in the project.

@tylerbutler tylerbutler merged commit 4b84435 into microsoft:main Nov 27, 2024
38 checks passed
@tylerbutler tylerbutler deleted the incremental-build branch November 27, 2024 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: examples Changes that focus on our examples area: framework Framework is a tag for issues involving the developer framework. Eg Aqueduct base: main PRs targeted against main branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants