Skip to content

Commit e735208

Browse files
authored
Merge pull request #9964 from PavelShirvanov/SOLP-2966_autogeneration_mechanism
Refguid update for mechanism to allow to wait for autogeneration completion
2 parents b345d12 + ee94cef commit e735208

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

content/en/docs/refguide/modeling/menus/version-control-menu/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The **Pull** option updates the local app to the latest revision that was commit
1717

1818
## Commit
1919

20-
The **Commit** option commits all local changes made to the app since the previous commit to the version control server. For more information, see [Commit](/refguide/commit-dialog/).
20+
The **Commit** option commits all local changes made to the app since the previous commit to the version control server. For more information, see [Commit](/refguide/commit-dialog/). The committing process starts by handling asynchronous content generation by waiting for completion, preventing unexpected post-commit file changes (such as *theme.compiled.css.map*), and providing troubleshooting options if errors or timeouts occur. See [Synchronizing Commit Content](/refguide/commit-dialog/#sync-commit-content) in *Commit* for more information.
2121

2222
## Push{#push}
2323

content/en/docs/refguide/modeling/menus/version-control-menu/commit-dialog.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,13 @@ After you reviewed the changes, you will need to push your changes, as **Commit
6666
If there are changes on disk this tab shows a summary of those changes. Click **Open containing folder** to open the folder containing the selected file in Windows Explorer.
6767

6868
The tab page is hidden if there are no disk changes. Often, there are model changes but the only change on disk is the app file (*.mpr*) reflecting these model changes. In this case, it is also hidden, because it does not add useful information.
69+
70+
### Synchronizing Commit Content {#sync-commit-content}
71+
72+
There are several components in Studio Pro where files on disk need to be generated for the App to function. For example: theme cache, JavaScript actions, and Java Actions.
73+
74+
These files are generated based on the Documents in the app. In some cases generation of these files takes a long time. Typically, the time taken is proportional to the app size. These files are included as part of the commit so that the existing version can be used when the app is opened, preventing errors or delays in testing the app locally while new versions of the files are being generated.
75+
76+
To ensure generated content is up to date and generation is complete before committing the changes to the repository, Mendix has introduced an additional step in **Prepare commit process**. This last step of the commit synchronizes the commit content. The **Progress** section shows the current type of synchronization.
77+
78+
If any synchronization fails during this step, you are asked if the commit should continue or be cancelled, along with an explanation of the failures and statuses. Only synchronizations that have failed are shown.

0 commit comments

Comments
 (0)