GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — tags filtering incorrect on suites with context · Issue #1324 · utPLSQL/utPLSQL

tags filtering incorrect on suites with context #1324

New issue
Copy link
New issue
Copy link
Closed
Bug
#1325
Closed
tags filtering incorrect on suites with context#1324
Bug
#1325
Copy link
Assignees
jgebal

Description

@jgebal
jgebal
opened on May 5, 2026
Issue body actions

Describe the bug
When a tag is at suite level and suite has context (contexts), the tag is not correctly propagated down to context items.

Provide version info
utPLSQL 3.2.01 Database 19c,

To reproduce:

create or replace package test_tags as

    -- %suite
    -- %tags(slow)
    
    -- %beforeall
    procedure slow_setup;

    -- %context(tags_are_applied_in_contexts)

        -- %test
        procedure create_new_mapping;

    -- %endcontext
end;
/

create or replace package body test_tags as

    procedure slow_setup is
    begin
        dbms_output.put_line('slow_setup executed');
    end;

    procedure create_new_mapping is
    begin
        dbms_output.put_line('create_new_mapping executed');
    end;

end;
/

When excluding the slow suite, everything is excluded - good.

begin
    ut.run('test_tags', a_tags=>'!slow');
end;
/

Output:

Finished in .000011 seconds
0 tests, 0 failed, 0 errored, 0 disabled, 0 warning(s)

When including the slow tag, contexts inside slow tag are not included - error.

begin
    ut.run('test_tags', a_tags=>'slow');
end;
/

Output:

test_tags
  slow_setup executed

Finished in .002728 seconds
0 tests, 0 failed, 0 errored, 0 disabled, 0 warning(s)

When running the suite without exclusion or inclusion - all is OK.

begin
    ut.run('test_tags');
end;
/

Output:

test_tags
  slow_setup executed
  tags_are_applied_in_contexts
    create_new_mapping [.002 sec]
    create_new_mapping executed

Finished in .005451 seconds
1 tests, 0 failed, 0 errored, 0 disabled, 0 warning(s)

Information about client software
Running from SQL client.

Expected behavior
When including a tag, all elements from a tagged suite should be included.

Activity

  1. jgebal
    added the
    Bug
    issue type on May 5, 2026
  2. jgebal
    self-assigned this
    on May 6, 2026
  3. jgebal
    added a commit that references this issue on May 6, 2026

    Filtering by tags fixed for schemas containing suite-paths and contexts

    This issue will close once commit 566b9ec is merged into the 'develop' branch.
    566b9ec
  4. jgebal
    closed this as completedin #1325on May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @jgebal
    jgebal

Labels

No labels
No labels

Type

Bug

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.