effect-run-context-check
checks.x86_64-linux.effect-run-context
· build #72
· raw
1case 1: no id token, push to the default branch2 IRONSTAR_RUN_CONTEXT_SOURCE=branch-name3 IRONSTAR_EVENT=push4 IRONSTAR_PR_NUMBER=''5 IRONSTAR_IS_PRODUCTION=true6 IRONSTAR_BRANCH=main7 IRONSTAR_PREVIEW_SLUG=main8 ok source = branch-name9 ok event = push10 ok production = true11 ok slug = main12case 2: no id token, pull request as the current service reports it13 IRONSTAR_RUN_CONTEXT_SOURCE=branch-name14 IRONSTAR_EVENT=pull_request15 IRONSTAR_PR_NUMBER=4216 IRONSTAR_IS_PRODUCTION=false17 IRONSTAR_BRANCH=refs/pull/42/merge18 IRONSTAR_PREVIEW_SLUG=refs/pull/42/merge19 ok source = branch-name20 ok event = pull_request21 ok pr-number = 4222 ok production = false23 ok slug = refs/pull/42/merge24case 3: no id token, tag push (no branch)25 IRONSTAR_RUN_CONTEXT_SOURCE=branch-name26 IRONSTAR_EVENT=push27 IRONSTAR_PR_NUMBER=''28 IRONSTAR_IS_PRODUCTION=false29 IRONSTAR_BRANCH=''30 IRONSTAR_PREVIEW_SLUG=abc123431 ok event = push32 ok production = false33 ok slug = abc123434case 4: id token, push to the default branch35 IRONSTAR_RUN_CONTEXT_SOURCE=id-token36 IRONSTAR_EVENT=push37 IRONSTAR_PR_NUMBER=''38 IRONSTAR_IS_PRODUCTION=true39 IRONSTAR_BRANCH=main40 IRONSTAR_PREVIEW_SLUG=main41 ok source = id-token42 ok event = push43 ok production = true44 ok branch = main45 ok slug = main46case 5: id token, pull request targeting the default branch47 (the eval-time branch is 'main' here: that is the defect)48 IRONSTAR_RUN_CONTEXT_SOURCE=id-token49 IRONSTAR_EVENT=pull_request50 IRONSTAR_PR_NUMBER=4251 IRONSTAR_IS_PRODUCTION=false52 IRONSTAR_BRANCH=''53 IRONSTAR_PREVIEW_SLUG=pr-4254 ok source = id-token55 ok event = pull_request56 ok pr-number = 4257 ok production = false58 ok branch = 59 ok slug = pr-4260case 6: id token, push to a non-default branch61 IRONSTAR_RUN_CONTEXT_SOURCE=id-token62 IRONSTAR_EVENT=push63 IRONSTAR_PR_NUMBER=''64 IRONSTAR_IS_PRODUCTION=false65 IRONSTAR_BRANCH=topic66 IRONSTAR_PREVIEW_SLUG=topic67 ok event = push68 ok production = false69 ok slug = topic70case 7: id token, scheduled run (no ref claim)71 IRONSTAR_RUN_CONTEXT_SOURCE=id-token72 IRONSTAR_EVENT=schedule73 IRONSTAR_PR_NUMBER=''74 IRONSTAR_IS_PRODUCTION=false75 IRONSTAR_BRANCH=''76 IRONSTAR_PREVIEW_SLUG=main77 ok event = schedule78 ok production = false79case 8: id token requested but refused: fail closed, never fall back80curl: (22) The requested URL returned error----------------------------------------81Exception occurred during processing of request from ('127.0.0.1', 35538)82: 40183run-context: id-token request to http://127.0.0.1:42307/api/v1/id-token failed84 ok refused token request aborted the effect