cuddly-jelly-27016
05/30/2025, 12:10 AMImageSpec(rebuild_always=True,...)
1. Dynamic workflows that were run using pyflyte run may use tasks whose imageSpec was not built. It would be great to fail with a good error
2. ImageSpec should always be immutable
3. Every update is like a builder, returns a new imagespec. this is like composition.
b = ImageSpace()
c = b.with_commands()
d = c.with_pip_packages()
...
1. Every Example of ImageSpec should use an automatic base Image (flytekits image), thus skip having a base image
2. Every Example of ImageSpec should use configurable registry, example
i = ImageSpec(
registry=os.env.get("OCI_REGISTRY", "flyteorg/default"),
)
1. It should be possible to print the imagespec in a very human readable way. Thus we should have a pyflyte build --dryrun that shows the various imagespecs
### Goal: What should the final outcome look like, ideally?
Let's make imagespec awesome
### Describe alternatives you've considered
NA
### Propose: Link/Inline OR Additional context
No response
### Are you sure this issue hasn't been raised already?
• Yes
### Have you read the Code of Conduct?
• Yes
flyteorg/flytecuddly-jelly-27016
05/30/2025, 12:10 AM