crossbario / crossbario/autobahn-python
Workflow release.yml trigger: cross-project consistency/alignment
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.5k
- Forks
- 768
- PR merge metrics
- No merged PRs in 30d
Description
release.yml Trigger Configuration Analysis
Summary
Analysis of release.yml workflow configuration across all 6 WAMP Python projects.
| Project | Trigger Workflows | release-development if: condition |
runs-on |
|---|---|---|---|
| txaio | ["main"] |
release_type == 'development' || release_type == 'nightly' |
ubuntu-latest |
| autobahn-python | ["wheels", "wheels-docker", "wheels-arm64", "wstest", "main"] |
release_type == 'development' |
ubuntu-latest |
| zlmdb | ["wheels", "wheels-docker", "wheels-arm64", "main"] |
release_type == 'development' || release_type == 'nightly' |
ubuntu-latest |
| cfxdb | ["main"] |
release_type == 'development' || release_type == 'nightly' |
ubuntu-24.04 |
| wamp-xbr | ["main"] |
release_type == 'development' || release_type == 'nightly' |
ubuntu-24.04 |
| crossbar | ["main"] |
release_type == 'development' || release_type == 'nightly' |
ubuntu-24.04 |
Inconsistencies Found
1. autobahn-python missing nightly condition
Issue: autobahn-python only checks release_type == 'development', missing || release_type == 'nightly'
Current (autobahn-python):
if: |
needs.check-all-workflows.outputs.all_complete == 'true' &&
(github.event_name == 'workflow_dispatch' ||
(github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success')) &&
needs.identifiers.outputs.release_type == 'development'
Should be (aligned with other projects):
if: |
needs.check-all-workflows.outputs.all_complete == 'true' &&
(github.event_name == 'workflow_dispatch' ||
(github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success')) &&
(needs.identifiers.outputs.release_type == 'development' || needs.identifiers.outputs.release_type == 'nightly')
2. Trigger workflows differ (intentional)
This is expected and intentional:
- Pure Python packages (txaio, cfxdb, wamp-xbr, crossbar): Only need
["main"] - Native wheel packages (autobahn-python, zlmdb): Need multiple wheel workflows + main
3. runs-on differs
- Older configs:
ubuntu-latest - Newer configs:
ubuntu-24.04
Recommendation: Standardize on ubuntu-24.04 for consistency and explicit version control.
Action Items
- Fix autobahn-python: Add
|| release_type == 'nightly'to release-development condition - Consider standardizing
runs-on: ubuntu-24.04across all projects
Checklist
- I have searched existing issues to avoid duplicates
- I have described the problem clearly
- I have provided use cases
- I have considered alternatives
- I have assessed impact and breaking changes
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating autobahn-python's release.yml workflow and compare its release-development condition with the configurations listed for the other WAMP Python projects. Update the nightly trigger alignment, then verify the workflow condition and consider whether the runs-on standardization should be handled separately.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, python
- Domain
- ci-cd, release
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 72/100