Skip to content

Add gate for duplicate app and object ids #4867

Merged
aholstrup1 merged 13 commits intomainfrom
private/aholstrup/objectidtests
Sep 25, 2025
Merged

Add gate for duplicate app and object ids #4867
aholstrup1 merged 13 commits intomainfrom
private/aholstrup/objectidtests

Conversation

@aholstrup1
Copy link
Copy Markdown
Contributor

@aholstrup1 aholstrup1 commented Sep 24, 2025

Summary

From time to time we see failures in the uptake due to issues with the object ids or app ids. Internally, we require that

  • App IDs are unique
  • All test objects fall within a certain range
  • Object ids are unique

This PR adds a gate for that in BCApps. The last-mentioned gate currently only validates this within the code in BCApps. In the future, we could look into downloading e.g. the base application source code prior to running the check so we can also validate that we're not reusing object ids used in the base application.

Work Item(s)

Fixes AB#591348

@aholstrup1 aholstrup1 requested a review from a team as a code owner September 24, 2025 10:00
@github-actions github-actions bot added Build: Automation Workflows and other setup in .github folder Build: scripts & configs Build scripts and configuration files labels Sep 24, 2025
@github-actions github-actions bot added this to the Version 28.0 milestone Sep 24, 2025
mazhelez
mazhelez previously approved these changes Sep 24, 2025
@aholstrup1 aholstrup1 requested a review from mazhelez September 25, 2025 06:14
@aholstrup1 aholstrup1 enabled auto-merge (squash) September 25, 2025 06:46
@aholstrup1 aholstrup1 merged commit 26315f3 into main Sep 25, 2025
44 of 47 checks passed
@aholstrup1 aholstrup1 deleted the private/aholstrup/objectidtests branch September 25, 2025 12:56
miljance pushed a commit to miljance/BCApps that referenced this pull request Oct 22, 2025
<!-- Thank you for submitting a Pull Request. If you're new to
contributing to BCApps please read our pull request guideline below
* https://github.com/microsoft/BCApps/Contributing.md
-->
#### Summary <!-- Provide a general summary of your changes -->
From time to time we see failures in the uptake due to issues with the
object ids or app ids. Internally, we require that
* App IDs are unique 
* All test objects fall within a certain range 
* Object ids are unique 

This PR adds a gate for that in BCApps. The last-mentioned gate
currently only validates this within the code in BCApps. In the future,
we could look into downloading e.g. the base application source code
prior to running the check so we can also validate that we're not
reusing object ids used in the base application.

#### Work Item(s) <!-- Add the issue number here after the #. The issue
needs to be open and approved. Submitting PRs with no linked issues or
unapproved issues is highly discouraged. -->
Fixes
[AB#591348](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/591348)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Build: Automation Workflows and other setup in .github folder Build: scripts & configs Build scripts and configuration files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants