job config defaults not loading in launchpad
See original GitHub issueSummary
Setup:
- single graph definition
graph_1
- creating multiple jobs from it
job_pro
andjob_dev
- both jobs go to separate repos:
job_pro
->pro_repo
job_dev
->dev_repo
I like to provide a default configuration for those jobs. Problem is that the launchpad config shows only for job_pro
on dagit and doesn’t load for job_dev
.
I figured out that if both job definitions go to the same repository
the config is loaded for both jobs as expected, as soon as they go to different repos the default config is only loaded on job_pro
.
example:
from my_graph import graph_1
default_config = {
"ops": {
"some_op": {
"config": {
"nice_key": "cool"
}
}
}
}
job_pro = graph_1.to_job(
name="job_pro",
config=default_config
)
job_dev = graph_1.to_job(
name="job_dev",
config=default_config
)
Reproduction
Tested this on 0.13.17
and 0.13.18
, both with similar results.
Additional Info about Your Environment
Tested all local, with spawning dagit
and accessing a local workspace.yaml
.
---
load_from:
- python_file:
relative_path: repositories/pro.py
working_directory: ./
- python_file:
relative_path: repositories/dev.py
working_directory: ./
Message from the maintainers:
Impacted by this bug? Give it a 👍. We factor engagement into prioritization.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Launchpad Designer Troubleshooting | SAP Help Portal
This section provides a central starting point for solving problems in the launchpad designer. Prerequisites. You have maintained the following settings:.
Read more >Troubleshoot fiori launchpad | How to fix issue tile - YouTube
Most of us working deploying fiori app in sap fiori launchpad, often we face issue in fiori launchpad with app not loading, tile...
Read more >Use Launchpad to view and open apps on Mac - Apple Support
Close Launchpad without opening an app: Click anywhere (except on an app) or press ... or if you reach the time limit set...
Read more >Excellent and very detailed blog on how to properly configure ...
SAP Fiori Launchpad URL not working? ... Help not working? Check the settings in transaction HELP_CONFIG and your SAP Web Dispatcher parameters.
Read more >Troubleshoot Launchpad for Python and R scripts - SQL ...
... Launchpad service from starting, including configuration problems ... Launchpad to connect to SQL Server and run external script jobs.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Opening new tabs in the launchpad is probably the best workaround while we work on fixing this
I believe this is resolved by #7559.
There is an edge case noted by @alangenfeld above, in which the launchpad editor has been intentionally cleared of content. We will save this config session, as it may be what you see the next time you load the launchpad. This should be uncommon, since having a default config implies that you probably won’t clear the editor and end up in that state.
If you do find yourself in this edge case, creating a new config tab should correctly load the default config, and you can delete the old empty tab.
You should see a correctly populated config tab in the launchpad when:
This change will be in the upcoming release. Please let us know if you continue running into this problem after that!