fix(ci): unblock invite-gate and add backend platform refs - #81
Merged
Conversation
The invite-gate workflow has been red since 2026-04-22 because the jaeger container couldn't write to ./.traces/invite-gate (BadgerDB storage uses a non-root uid in the bind mount). test.sh creates the dir with chmod 777 before docker compose; CI invokes compose directly and skipped that step. Replicate it in the workflow. Also add provider_platform_ref / council_platform_ref / pay_platform_ref inputs so each backend repo's PRs can run invite-gate against their own branch instead of always main. Mirrors the existing console refs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two changes bundled to unblock invite-gate CI and round out the reusable workflow inputs:
./.traces/invite-gatebind mount because CI invokesdocker compose updirectly and skips themkdir + chmod 777thattest.shdoes locally. The workflow now replicates that prep beforecompose up.provider_platform_ref,council_platform_ref,pay_platform_refinputs. Mirrors the existing*_console_refinputs so each backend repo's PR can run invite-gate against its own branch (vs. alwaysmain).Test plan
./test.sh invite-gatelocally — all 6 invite-gate tests pass (provider-console, council-console, moonlight-pay × blocked + allowlisted, ~3.7m).Healthyaftermkdir -p .traces/invite-gate && chmod 777step (previously exited 1 on permission denied).deno fmt+deno lintclean on changed file.Before/after
The workflow's
run:step now begins:And the three new inputs default to
mainso existing callers (provider-console, council-console, moonlight-pay) keep working unchanged.Follow-ups
The three backend repos (provider-platform, council-platform, pay-platform) each get a caller workflow in their own PRs that reference this reusable workflow at
@mainafter merge.