ci: add --force and --connector-name inputs to registry compile workflow#75242
Merged
Aaron ("AJ") Steers (aaronsteers) merged 3 commits intomasterfrom Mar 20, 2026
Merged
Conversation
Adds two optional workflow_dispatch inputs: - force: bypass version marker cache (for metadata-only changes) - connector-name: comma-separated list to scope latest/ resync Closes airbytehq/airbyte-ops-mcp#567 Co-Authored-By: AJ Steers <aj@airbyte.io>
Contributor
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Contributor
👋 Greetings, Airbyte Team Member!Here are some helpful tips and reminders for your convenience. 💡 Show Tips and TricksPR Slash CommandsAirbyte Maintainers (that's you!) can execute the following slash commands on your PR:
📚 Show Repo GuidanceHelpful Resources
|
Co-Authored-By: AJ Steers <aj@airbyte.io>
Per review feedback: use GitHub Actions expressions to compute FORCE_FLAG and CONNECTOR_NAME_FLAG as env vars, then reference them directly in a clean one-liner CLI invocation. Co-Authored-By: AJ Steers <aj@airbyte.io>
--force and --connector-name inputs to registry compile workflow
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.
What
Adds two optional
workflow_dispatchinputs to the Generate Connector Registries workflow so operators can trigger targeted or forced recompiles from the GitHub Actions UI:force(boolean): passes--forceto skip the version-marker cache, resyncing alllatest/directories even when markers match. Needed when metadata content changes without a version bump (e.g. removing aregistryOverridespin). Related: https://github.com/airbytehq/airbyte-ops-mcp/issues/567connector-name(string): passes--connector-name <value>to scope thelatest/resync to a specific connector.Both inputs are no-ops when left empty, preserving the existing default behavior for
workflow_calland unparameterizedworkflow_dispatchtriggers.How
The new inputs are pre-computed into CLI flag strings using GitHub Actions expressions in the step's
envblock:These env vars are then expanded inline in the existing folded-scalar
run:command, keeping the CLI invocation a clean one-liner with no bash conditionals or dynamic string building.Review guide
.github/workflows/generate-connector-registries.yml— the only file changed.Key things to verify:
inputs.force == trueevaluates tofalse(and thus'') when the input is omitted orfalse.inputs.connector-nameis falsy when empty. Both fall through to''for the default no-op case.${FORCE_FLAG}/${CONNECTOR_NAME_FLAG}: Empty vars produce harmless extra whitespace that bash ignores. Non-empty vars word-split correctly since--forceis a single token and connector names never contain spaces.workflow_callcompatibility: The new inputs are only defined underworkflow_dispatch, soworkflow_callinvocations get empty/falsy values and the command is unchanged.Human review checklist
A && B || C) behave as expected for boolean and string input typesformat('--connector-name {0}', ...)produces the expected single-token output for typical connector namesUser Impact
Operators can now trigger a forced registry recompile or a connector-scoped recompile directly from the GitHub Actions UI without modifying the workflow file. No impact on automated (publish-triggered) compiles.
Can this PR be safely reverted and rolled back?
Requested by: Aaron ("AJ") Steers (@aaronsteers)
Devin session