2.6 KiB
2.6 KiB
Gitea Variables Smoke Checklist
Use this after registering values in Settings > Actions > Variables.
Operator Quick Run
- Confirm the four KIS variables exist.
- Confirm the seed snapshot exists as either
GatherTradingData.jsonorGatherTradingData.xlsx. - Trigger
kis_data_collection.ymlmanually. - Confirm the credential step passes in
--dry-runmode. - Confirm the SQLite artifact is written.
- Trigger
qualitative_sell_strategy.ymlmanually. - Confirm the mock credential step passes in
--dry-runmode and the batch build step resolves the same variables. - If any step fails, check the troubleshooting section below.
See also:
Variable names to verify
KIS_APP_KEY_TESTKIS_APP_SECRET_TESTKIS_APP_KEYKIS_APP_SECRET
Expected workflow consumers
.gitea/workflows/kis_data_collection.yml.gitea/workflows/qualitative_sell_strategy.yml.gitea/workflows/ci.yml
Smoke test steps
- Open
Settings > Actions > Variablesand confirm the four KIS variables exist. - Trigger
.gitea/workflows/kis_data_collection.ymlwithworkflow_dispatch. - Check the job log for the credential validation step.
- Check the collection step.
- Confirm the job writes:
Temp/kis_data_collection_v1.jsonoutputs/kis_data_collection/kis_data_collection.db
- Trigger
.gitea/workflows/qualitative_sell_strategy.yml. - Confirm the mock credential validation step reads the same variable names.
- Confirm the batch build step sees
KIS_APP_KEYandKIS_APP_SECRET. - If the job fails, inspect whether the variables are missing, renamed, or empty.
Pass criteria
- The workflow no longer references
secrets.KIS_APP_*for KIS values. - The job starts without variable resolution errors.
- The collector outputs are written successfully.
- The log shows the KIS credential validation step running with the configured variables.
Troubleshooting
- Missing variable name: Gitea variable key does not match the exact
KIS_APP_*spelling. - Empty variable: the workflow resolves the name, but the Python loader treats the value as missing.
- Wrong scope: the variable exists in another repository or organization scope, not this repo.
- Runner mismatch: the job runs on a stale self-hosted runner cache or old workflow revision.
Notes
- Gitea variables are repository-scoped when configured in the repo settings.
- Variable names are case-sensitive.
- Empty values behave as missing values for the Python loader.