Skip to content

test(spec): tag lockfile CLI receipts with promise ids (Part of #4092) - #4316

Closed
Daniel Meppiel (danielmeppiel) wants to merge 1 commit into
mainfrom
danielmeppiel-t-req-promise-marker
Closed

Daniel Meppiel (danielmeppiel) wants to merge 1 commit into
mainfrom
danielmeppiel-t-req-promise-marker

Conversation

@danielmeppiel

Copy link
Copy Markdown
Collaborator

Description

Part of #4092. A one-line follow-up to #4300. It adds pytest.mark.promise("req-lk-015", "req-lk-017", "req-lk-018") to the module-level pytestmark of tests/spec_conformance/test_lockfile_cli_behavior_reqs.py. The marker was registered in #4312. Until then --strict-markers blocked using it, so #4300 landed without it.

Node-set diff vs main: 0 added, 0 deleted; no oracle or obligation files changed.

Issue and approved scope

Issue: Refs #4092

Human scope-approval comment: #4092 (comment)

Does this PR complete the issue, or what remains? Part of #4092; marker-only follow-up.

Type of change

  • Bug fix
  • New feature
  • Documentation
  • Maintenance / refactor

Testing

  • Tested locally

  • All existing tests pass

  • Added tests for new functionality (if applicable)

  • ruff check and ruff format --check on the changed file: passed.

  • No local test run, because host load is high. CI validates.

Changelog

  • One line in one section under ## [Unreleased] in CHANGELOG.md.
  • N/A -- internal-only change (CI, tests, refactor).

Spec conformance (OpenAPM v0.1)

  • Spec edit
  • Manifest edit
  • Test edit
  • CONFORMANCE.{md,json} regenerated
  • N/A -- this PR does not change OpenAPM-observable behaviour (marker only).

Part of #4092

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are reported for the change linking existing lockfile CLI conformance tests to requirement promises.

No open issues 🎉

What changed in this PR

This marker-only follow-up to #4300 links existing lockfile CLI conformance tests to requirement promises, supporting the test-classification work in #4092.

Changes:

  • Adds module-level promise IDs req-lk-015, req-lk-017, and req-lk-018, using the marker registered in #4312.
  • Preserves existing test behavior and the e2e and requires_apm_binary markers.
File Description
tests/​spec_conformance/​test_lockfile_cli_behavior_reqs.py Tags existing lockfile CLI tests with three requirement promise IDs.

Review effort: Balanced

@danielmeppiel

Copy link
Copy Markdown
Collaborator Author

Superseded by #4142 (f926cbd), which adds the identical pytestmark lines to tests/spec_conformance/test_lockfile_cli_behavior_reqs.py.

@danielmeppiel
Daniel Meppiel (danielmeppiel) deleted the danielmeppiel-t-req-promise-marker branch November 20, 2026 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants