Repository navigation
fix(my_egeria): My Profile performance, exec_report_spec depth, packaging and serve fixes - #417
Merged
dwolfson merged 1 commit intoOct 2, 2026
Conversation
…ging and serve fixes
pyegeria
- exec_report_spec silently dropped a caller's graph_query_depth (it copies only
a spec's declared params), so report-spec calls always ran at depth 3. It now
forwards graph_query_depth when the target method accepts it; other undeclared
params are still not forwarded (ISSUE-119).
- Packaging: the wheel installed my_egeria one level too deep
(site-packages/my_egeria/my_egeria/...), so the my_egeria, my_profile,
serve_my_egeria and serve_my_profile commands failed in every pip install.
packages.find now also searches my_egeria/ with namespaces off, so the app
installs as the top-level my_egeria package; pyegeria/config and
commands/deprecated gain __init__.py so they keep shipping. A clean-build
diff shows the wheel is otherwise identical, and my_profile.tcss now ships
(ISSUE-118).
my_egeria
- serve_my_egeria / serve_my_profile used the `textual serve` CLI (textual-dev,
dev-only); they now use the textual-serve library and honour
MY_EGERIA_PUBLIC_URL / MY_PROFILE_PUBLIC_URL. Removed the stale [app.*]
textual-web sections from my_egeria/pyproject.toml.
- The startup check required EGERIA_SERVER / EGERIA_BASE_URL with no defaults,
so following the README produced an error popup; it now derives them from the
documented EGERIA_VIEW_SERVER / EGERIA_PLATFORM_URL.
- My Profile graph_query_depth tuning (measured live on the quickstart):
- startup "my collections": depth 0 (~70s -> 0.6s)
- profile fetched once, formatted locally for both views (identical output)
- to-dos: depth passed as a keyword (params= was ignored), 5.7s -> 0.6s
- bookmarks members/lookup, term/data-dictionary/collection details,
subscriptions, comments, data-set GUID lookups: depth 0
- glossary folders and root-collection members: fetch only the selected
element at depth 1 (needed once depth 0 took effect; also fixes the root
collection tree working only for the first row)
- product and capability details: depth 1; team members unchanged (need 2+)
Startup now shows the full profile ~4s after the splash, down from ~82s.
Docs: developer guide section on choosing graph_query_depth; my_egeria
README, handoff and integration docs (textual-serve, packaging change,
Python 3.13); My Profile manual; ISSUE-118/119/120 (120: Textual fails on
Python 3.14, use 3.13).
Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
dwolfson
added a commit
that referenced
this pull request
Oct 2, 2026
Release carrying the Dr.Egeria Automation family and automated-curation SDK fixes (#414), and the My Profile performance work with the exec_report_spec graph_query_depth fix, the my_egeria packaging fix (console scripts now work from a pip install) and the serve/startup-check fixes (#417). Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
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
Gets the new My Profile app ready to evaluate, in a terminal and in the Egeria-Workspaces portal. Its startup now shows the full profile about 4 s after the splash, down from about 82 s.
pyegeria
exec_report_specsilently droppedgraph_query_depth(ISSUE-119). It copies only a report spec's declared params, soparams={..., "graph_query_depth": 0}always ran at the SDK default of 3. My Profile asked for depth 0 in about ten places and got none of it; live, several lists timed out at 90 s. Nowgraph_query_depthis forwarded when the target method accepts it. Other undeclared params are still not forwarded; this is deliberately narrower than the async path.my_egeriaone level too deep (site-packages/my_egeria/my_egeria/...), somy_egeria,my_profile,serve_my_egeriaandserve_my_profilefailed in every pip install.packages.findnow also searchesmy_egeria/withnamespaces = false, andpyegeria/configandcommands/deprecatedgain__init__.pyso they keep shipping. A clean-build file diff shows the wheel is otherwise identical, andmy_profile.tcssnow ships.my-profilecontainer does this today; a matching change there will follow.my_egeria
serve_my_*: these used thetextual serveCLI fromtextual-dev, which is dev-only. They now use thetextual-servelibrary and honourMY_EGERIA_PUBLIC_URL/MY_PROFILE_PUBLIC_URL. The stale[app.*]textual-web sections are removed.EGERIA_SERVER/EGERIA_BASE_URLwith no defaults, so the README's instructions ended in an error popup. It now derives them from the documentedEGERIA_VIEW_SERVER/EGERIA_PLATFORM_URL.graph_query_depth(all live-measured):params=was ignored)Team members are unchanged, because they need depth 2 or more.
Docs
graph_query_depth.textual-serve, the packaging change and Python 3.13.PYEGERIA_ISSUES.md: ISSUE-118 (packaging), ISSUE-119 (depth dropped), ISSUE-120 (Textual fails on Python 3.14, so use 3.13).Testing
test_exec_report_spec_graph_query_depth.py: it fails without the fix. A new startup-check test was added, and the bookmarks test now pinsgraph_query_depth=0. The fulltests/micro-testsandmy_egeriatests pass.peterprofile:my_egeriaandmy_profilerun in a real terminal with noEGERIA_*variables set.peterprofilehas no to-dos, comments or bookmarks, so those three were checked against the report specs' columns.🤖 Generated with Claude Code