-
Notifications
You must be signed in to change notification settings - Fork 0
β Issue #10 Analysis: Trusted Publishing Resolution #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Adding CLAUDE.md with task information for AI processing. This file will be removed when the task is complete. Issue: #10
- Complete timeline of E422 and E404 errors - Root cause analysis for both failure scenarios - Comparison with test-anywhere workflows - Authentication strategies comparison - Recommendations for future improvements References test-anywhere workflows for comparison. π€ Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This reverts commit bc8b0a2.
π€ Solution Draft LogThis log file contains the complete execution trace of the AI solution draft process. π° Cost estimation:
Now working session is ended, feel free to review and add any feedback on the solution draft. |
Manual instant release does not work also: https://github.com/link-foundation/lino-arguments/actions/runs/20054899930/job/57518072639 Double check we use We need to have release description and release creation itself be unified between all our workflows. Please download all logs and data related about the issue to this repository, make sure we compile that data to |
|
π€ AI Work Session Started Starting automated work session at 2025-12-09T07:24:57.557Z The PR has been converted to draft mode while work is in progress. This comment marks the beginning of an AI work session. Please wait working session to finish, and provide your feedback. |
|
β Usage Limit Reached The AI tool has reached its usage limit. The limit will reset at: 10:00 AM This session has failed because To automatically wait for the limit to reset and continue, use: ./solve.mjs "https://github.com/link-foundation/lino-arguments/issues/10" --resume c9d650ed-8120-40a7-ac73-2d666ba202da --auto-continue-on-limit-reset |
|
π€ AI Work Session Started Starting automated work session at 2025-12-09T21:21:50.804Z The PR has been converted to draft mode while work is in progress. This comment marks the beginning of an AI work session. Please wait working session to finish, and provide your feedback. |
- Enhanced issue #10 analysis with detailed E404 error investigation - Added evidence-based findings from online research about OIDC trusted publishing - Documented workflow_dispatch authentication issues with npm - Compared authentication strategies (NPM_TOKEN vs OIDC vs Hybrid) - Added workflow comparison with test-anywhere reference repository - Proposed multiple solutions with trade-off analysis - Added changeset for documentation changes Key findings: - E422 error (missing repository field) is resolved - E404 error for manual releases linked to OIDC/workflow_dispatch incompatibility - test-anywhere uses NPM_TOKEN which works for all trigger types - Multiple solution options documented with pros/cons Related: Issue #10, PR #11 π€ Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Applied prettier formatting to comprehensive analysis document - Formatted changeset file π€ Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
π€ Solution Draft LogThis log file contains the complete execution trace of the AI solution draft process. π° Cost estimation:
Now working session is ended, feel free to review and add any feedback on the solution draft. |
|
Please use latest version of workflow in http://github.com/link-foundation/test-anywhere as our main workflow in the repository. Try to do it as close as possible to actual release.yml from test-anywhere. Also make sure we use test-anywhere itself as testing framework. |
|
π€ AI Work Session Started Starting automated work session at 2025-12-13T12:38:01.723Z The PR has been converted to draft mode while work is in progress. This comment marks the beginning of an AI work session. Please wait working session to finish, and provide your feedback. |
- Replace main.yml and manual-release.yml with single release.yml workflow - Adopt test-anywhere release workflow pattern for unified CI/CD - Add missing scripts from test-anywhere: setup-npm, version-and-commit, publish-to-npm, create-github-release, format-github-release - Migrate tests to use test-anywhere API (expect/assert) - Support 3 runtimes (Node, Bun, Deno) x 3 OS (Ubuntu, macOS, Windows) test matrix - Consolidate manual release and automated release into single workflow file - This addresses npm trusted publishing requirements where only ONE workflow can be authorized π€ Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Add 'fetch' to ESLint globals (Node.js 18+ native API) - Remove unused 'assert' import from tests - Use catch block without error parameter (intentionally ignored) - Install dependencies with npm before running Bun/Deno tests - This ensures test-anywhere package is available in all runtime environments π€ Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Deno requires explicit permission flags to access environment variables and write to filesystem. The tests need: - --allow-env: for process.env access (used by yargs and test setup) - --allow-write: for creating test files - --allow-read: for reading test files (already present) π€ Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
π€ Solution Draft LogThis log file contains the complete execution trace of the AI solution draft process. π° Cost estimation:
Now working session is ended, feel free to review and add any feedback on the solution draft. |
π― Summary
This PR implements support for a single Python runtime version (Python 3.13, the latest stable) and adds a comprehensive release workflow similar to test-anywhere, adapted for Python packages with PyPI trusted publishing.
Fixes #3
π Changes
1. Python Version Support
pyproject.tomlto require Python>=3.13py3133.132. Release Workflow Infrastructure
release.ymlworkflow supporting:3. Changeset System
.changeset/configuration for version managementpackage.jsonwith changeset dependencies and scripts4. Python-Specific Scripts
Created adapted scripts for Python package management:
publish-to-pypi.mjs- PyPI publishing with OIDC trusted publishingupdate-python-version.mjs- Version bumping from changesetscreate-github-release-python.mjs- GitHub releases from CHANGELOG.md5. Documentation
python/CHANGELOG.mdfor tracking releases.changeset/README.mdwith usage instructionsπ How It Works
Automated Release Flow
npm run changesetpyproject.tomlCHANGELOG.mdManual Release Options
π Security
id-token: writepermissionβ Testing
π References
Fixes #10