perf: optimize app-wide startup and route loading [6/6] - #194
Draft
Anthony Cintron (prbatero) wants to merge 7 commits into
Draft
perf: optimize app-wide startup and route loading [6/6]#194Anthony Cintron (prbatero) wants to merge 7 commits into
Anthony Cintron (prbatero) wants to merge 7 commits into
Conversation
Document the startup, publishing, map-loading, and route performance contract. Keep deployment gated on trusted Function ingress and authenticated Dev1 measurements.
Replace stable startup reconciliation with a read-only ACL bootstrap, enforce strong principal binding, and restrict legacy user reads. Add bounded single-flight Published Datasets caching with ETags and mutation invalidation.
Bootstrap sessions in one request, overlap independent route data and Azure Maps assets, and add retryable loading states. Deduplicate Published Datasets polling and cancel sibling artifact transfers on failure.
Measure cold and warm direct and in-app navigation across desktop and mobile profiles. Fail on readiness, browser, API, or p95 budget violations while keeping auth state and fixture details out of results.
Anthony Cintron (prbatero)
temporarily deployed
to
dev1
September 2, 2026 17:12 — with
GitHub Actions
Inactive
Add allowlisted Labeling Workspace reads and compact cached Active Jobs responses with ACL authorization, direct label lookup, ETags, bounded concurrency, and legacy fallback coverage.
Render Dashboard independently of optional work, replace project fan-out with conditional Active Jobs polling, and abort route-owned requests. Add one staged standard-labeling workspace through AOI map readiness with capability-specific Maps assets and safe retry cleanup.
Extend the app-wide performance contract for owned loading state, Labeling Workspace, and Active Jobs. Measure staged labeling shell readiness separately and treat only expected navigation aborts as non-failures.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Extend the project layer-loading stack with app-wide startup, publishing, map, and route optimizations. This follow-up also resolves observed duplicate loading indicators, slow standard-labeling startup, and route contention from abandoned Dashboard work.
Changes
GetLabelingWorkspace, returning one allowlisted target layer plus current labels and project labeling configuration.GetActiveJobs, replacing Dashboard N-wayGetProjectDetailsfan-out with one compact conditional request.AbortSignalthrough route GETs and abort Dashboard, jobs, and map-owned work on navigation.Testing
git diff --check, and feature-onlydetect-secretspassed.Browser Evidence
Stack
prbatero/feat/perf-ui-route-loading.cdba898.Open Gates
x-ms-client-principal. Restrict ingress to trusted SWA/APIM traffic or validate signed identity first.