Skip to content
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 12 additions & 7 deletions .github/workflows/loongsuite-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ jobs:
run: |
VERSION="${{ needs.build.outputs.loongsuite_version }}"
gh release create "v${VERSION}" \
--title "LoongSuite Python Agent v${VERSION}" \
--title "loongsuite-python-agent ${VERSION}" \
--notes-file dist/release-notes.md \
dist/loongsuite-python-agent-${VERSION}.tar.gz

Expand Down Expand Up @@ -225,7 +225,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
VERSION="${{ needs.build.outputs.loongsuite_version }}"
BRANCH="post-release/v${VERSION}"
BRANCH="post-release/${VERSION}"
TODAY=$(date -u +%Y-%m-%d)

git checkout -b "$BRANCH"
Expand All @@ -239,6 +239,9 @@ jobs:
--bump-dev \
--version "$VERSION"

pip install tox
tox -e precommit || echo "WARN: precommit had issues, please review"

git add -A
git commit -m "chore: post-release v${VERSION} - archive changelogs & bump dev versions

Expand All @@ -250,10 +253,12 @@ jobs:
gh pr create \
--base main \
--head "$BRANCH" \
--title "chore: post-release v${VERSION}" \
--body "## Post-release updates for v${VERSION}
--title "chore: post-release ${VERSION} — archive changelogs & bump dev versions" \
--body "## Post-release updates for loongsuite-python-agent ${VERSION}

Automated housekeeping after the \`${VERSION}\` release:

- Archive \`Unreleased\` changelog sections as \`Version ${VERSION} (${TODAY})\`
- Bump \`instrumentation-loongsuite\` module versions to next \`.dev\`
- **Archive changelogs**: move \`Unreleased\` sections to \`Version ${VERSION} (${TODAY})\` in all \`CHANGELOG\` files
- **Bump dev versions**: update \`instrumentation-loongsuite/*/version.py\` to the next \`.dev\` iteration

This PR was auto-generated by the release workflow."
> This PR was auto-generated by the \`loongsuite-release\` workflow."
19 changes: 19 additions & 0 deletions .github/workflows/loongsuite_misc_0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,22 @@ jobs:
- name: Run tests
run: tox -c tox-loongsuite.ini -e generate-loongsuite

check-license-header:
name: LoongSuite License Header Check
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4

- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: "3.13"

- name: Install tox
run: pip install tox-uv

- name: Check license headers
run: tox -c tox-loongsuite.ini -e check-license-header

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@
# limitations under the License.

_instruments = ("agentscope >= 1.0.0",)
_supports_metrics = True

_supports_metrics = False
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright The OpenTelemetry Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# -*- coding: utf-8 -*-
"""Attributes processor for span attributes."""

Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
__version__ = "1.0.0"
# Copyright The OpenTelemetry Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

__version__ = "0.1.0.dev"
Original file line number Diff line number Diff line change
@@ -1,2 +1,16 @@
# Copyright The OpenTelemetry Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# -*- coding: utf-8 -*-
"""Tests package for loongsuite-instrumentation-agentscope"""
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright The OpenTelemetry Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# -*- coding: utf-8 -*-
"""Test Utility Functions"""

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright The OpenTelemetry Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# -*- coding: utf-8 -*-
"""Test Configuration"""

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright The OpenTelemetry Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# -*- coding: utf-8 -*-
"""Agent Tests"""

Expand Down
Loading
Loading