Skip to content

Standardize workflows dt1 1282#6

Merged
JunAishima merged 42 commits intoNSLS2:mainfrom
JunAishima:standardize_workflows_dt1-1282
Feb 4, 2026
Merged

Standardize workflows dt1 1282#6
JunAishima merged 42 commits intoNSLS2:mainfrom
JunAishima:standardize_workflows_dt1-1282

Conversation

@JunAishima
Copy link
Contributor

Includes upgrade to prefect3

 * bring over from smi workflows
 * inject into from_profile() client creation
 * use Secrets to get value directly from Prefect
   in data_validation() instead
 * do not use ENV to push Tiled API key into the workflow, use
   Prefect Secrets instead
 * as with other beamlines, use this branch for the prefect3 upgrades
 * refactor from main for testing
 * want to be able to test with current branch for testing
 * used for doing something minimally useful when the image is run
   outside of Prefect
 * this should be a test Slack channel, remove for now
 * Tiled requires this for non-interactive uses
 * loosen prefect requirement
 * add databroker to get more familiar structure of returned objects
 * reduce chance of key getting hijacked
 * make it slightly easier to configure with a single constant
 * the underlying object is not async-compatible so make a new client
   every time one is requested instead of sharing
 * enable use of different selections
 * remove imports that are no longer used
 * changes to match ucal-workflows's version of the file
 * update pixi dependencies to match other beamlines' workflows
 * pixi update and store resulting pixi.lock file
 * update prefect version in prefect.yaml
 * update to the same default.py module used with
   other workflow repos
 * update Dockerfile to use default.py instead of test.py
@JunAishima JunAishima requested a review from AbbyGi February 4, 2026 19:18
Copy link
Contributor

@AbbyGi AbbyGi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@JunAishima JunAishima mentioned this pull request Feb 4, 2026
@JunAishima JunAishima merged commit c0424ee into NSLS2:main Feb 4, 2026
1 check passed
@JunAishima JunAishima deleted the standardize_workflows_dt1-1282 branch February 4, 2026 21:22
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

Comments