Repository navigation
Fix GitHub lexicon: Workflow.jobs inline + multi-workflow support - #4
Merged
Merged
Conversation
…w support The serializer ignored Workflow.props.jobs entirely — all jobs had to be exported as standalone top-level entities, making it impossible to define multiple workflows in a single source directory. - Add serializeInlineJob / buildInlineJobsSection / buildStandaloneJobsSection helpers to read Workflow.props.jobs and inline job entities directly - serializeSingleWorkflow and serializeMultiWorkflow both prefer Workflow.props.jobs over standalone Job exports; standalone fallback preserved for backwards compat - Multi-workflow mode now scopes jobs per-workflow instead of dumping all standalone jobs onto the first workflow - 6 new serializer tests (350 total, 0 fail) - Docs: add multi-workflow.mdx, update workflows.mdx serialization section Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
lex00
force-pushed
the
fix/github-lexicon-workflow-jobs
branch
from
March 30, 2026 18:23
544756b to
e0e011f
Compare
This was referenced Jul 24, 2026
This was referenced Aug 25, 2026
3 of 6 tasks
57 of 64 tasks
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
Workflow.props.jobsentirely. Jobs had to be exported as standalone top-level entities, preventing multiple workflows from sharing a source directory.Jobexports were assigned to the first workflow only with no way to scope them.multi-workflow.mdxpage;workflows.mdxupdated with inline-jobs snippet.Changes
serializer.ts: AddserializeInlineJob,buildInlineJobsSection,buildStandaloneJobsSectionhelpers. Both serialize functions now preferWorkflow.props.jobswith full backwards-compat fallback to standalone exports.serializer.test.ts: 6 new tests (350 total, 0 fail).package.json: Bump to0.1.1.Test plan
bun test lexicons/github— 350/350 passpublish-lexiconCI publishes@intentius/chant-lexicon-github@0.1.1on merge + tag🤖 Generated with Claude Code