Skip to content

ref: Implement BobParser - #275

Open
adedamola-sode wants to merge 16 commits into
mainfrom
ref/autofill-bob-parser
Open

adedamola-sode wants to merge 16 commits into
mainfrom
ref/autofill-bob-parser

Conversation

@adedamola-sode

Copy link
Copy Markdown
Collaborator

The current logic in main is to use the techui.yaml file to find the beamline parameters such as the location, description, remote opis files, this first commit changes things so it's fetched from the index.bob itself via macros defined in the first layer of the synoptic file (index.bob). This adds:

  1. A bob parser that calls on read bob with some adjustments to pick macros

@adedamola-sode adedamola-sode changed the title ref: changed the pipeline of main.py to go to bob_parser first ref: Implement BobParser Sep 29, 2026
@codecov

codecov Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 92.92035% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 95.87%. Comparing base (80f2bab) to head (246ebb1).

Files with missing lines Patch % Lines
src/techui_builder/builder.py 77.27% 5 Missing ⚠️
src/techui_builder/jsonmap/naming.py 81.25% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #275      +/-   ##
==========================================
- Coverage   96.30%   95.87%   -0.44%     
==========================================
  Files          17       18       +1     
  Lines        1138     1235      +97     
==========================================
+ Hits         1096     1184      +88     
- Misses         42       51       +9     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@adedamola-sode
adedamola-sode marked this pull request as ready for review October 1, 2026 10:43
@adedamola-sode
adedamola-sode force-pushed the ref/autofill-bob-parser branch from 3035678 to d252295 Compare October 1, 2026 10:43
Comment thread src/techui_builder/validator.py Outdated
OCopping added a commit that referenced this pull request Oct 7, 2026
… there is not a matching component in the component dict, and added tests

This logic will most likely be flipped when the index.bob file becomes
the main source of truth in #275
OCopping added a commit that referenced this pull request Oct 8, 2026
… there is not a matching component in the component dict, and added tests

This logic will most likely be flipped when the index.bob file becomes
the main source of truth in #275
OCopping added a commit that referenced this pull request Oct 8, 2026
… there is not a matching component in the component dict, and added tests

This logic will most likely be flipped when the index.bob file becomes
the main source of truth in #275

Fix test_replace_content_with_entity
@adedamola-sode
adedamola-sode force-pushed the ref/autofill-bob-parser branch from d252295 to 12d9e90 Compare October 12, 2026 13:24
@adedamola-sode
adedamola-sode force-pushed the ref/autofill-bob-parser branch from e9f6e18 to cf029b4 Compare October 13, 2026 12:20
@adedamola-sode

Copy link
Copy Markdown
Collaborator Author

#TODO: Work on changes recommended by Tom, regarding having the name field carry all the required macros, instead of writing to action_group_macros.

Comment thread example/t01-services/synoptic/index.bob Outdated
Comment thread src/techui_builder/builder.py Outdated
Comment thread src/techui_builder/main_app.py Outdated
Comment thread src/techui_builder/bob_parser.py
Comment thread src/techui_builder/bob_parser.py
Comment thread src/techui_builder/bob_parser.py Outdated
@OCopping
OCopping force-pushed the ref/autofill-bob-parser branch from 6e6f4b6 to 920dba3 Compare October 23, 2026 13:32

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants