Skip to content

[#23141] Sample ID incorrectly resets when SampleInfo/WriteParams goes out of thread scope#252

Merged
richiware merged 5 commits intomainfrom
feature/sample_id
Sep 30, 2025
Merged

[#23141] Sample ID incorrectly resets when SampleInfo/WriteParams goes out of thread scope#252
richiware merged 5 commits intomainfrom
feature/sample_id

Conversation

@Danipiza
Copy link
Copy Markdown
Contributor

@Danipiza Danipiza commented Aug 20, 2025

Description

  • Update the functions to be attributes in Python interface files.
  • Added copy constructor in SampleIdentity.i

Contributor Checklist

  • Commit messages follow the project guidelines.
  • Tests that thoroughly check the new feature have been added/Regression tests checking the bug and its fix have been added; the added tests pass locally
  • Changes are API compatible.
  • Applicable backports have been included in the description.

Reviewer Checklist

  • The PR has a milestone assigned.
  • The title and description correctly express the PR's purpose.
  • Check contributor checklist is correct.
  • Check CI results: changes do not issue any warning.
  • Check CI results: failing tests are unrelated with the changes.

Copy link
Copy Markdown
Member

@richiware richiware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extend copyctor swig argument to other classes in the same situation

Comment thread fastdds_python/src/swig/fastdds/rtps/common/SampleIdentity.i Outdated
Comment thread fastdds_python/src/swig/fastdds/rtps/common/SampleIdentity.i Outdated
Comment thread fastdds_python/src/swig/fastdds/rtps/common/WriteParams.i Outdated
@Danipiza
Copy link
Copy Markdown
Contributor Author

Extend copyctor swig argument to other classes in the same situation

Done in e2fe2c7

Copy link
Copy Markdown
Member

@richiware richiware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I miss next structures to have the copyctor:

  • Time_t
  • GUID_t
  • SequenceNumber_t

@MiguelCompany MiguelCompany added this to the v2.4.0 milestone Sep 25, 2025
Danipiza and others added 5 commits September 29, 2025 10:19
Signed-off-by: danipiza <dpizarrogallego@gmail.com>
Signed-off-by: danipiza <dpizarrogallego@gmail.com>
Signed-off-by: danipiza <dpizarrogallego@gmail.com>
Signed-off-by: danipiza <dpizarrogallego@gmail.com>
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
@github-actions github-actions bot added the ci-pending PR which CI is running label Sep 30, 2025
@richiware richiware merged commit 955d458 into main Sep 30, 2025
8 checks passed
@richiware richiware deleted the feature/sample_id branch September 30, 2025 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-pending PR which CI is running

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants