Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: stack-auth/stack-auth
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: stack-auth/stack-auth
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: dev
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 4 files changed
  • 2 contributors

Commits on Mar 13, 2026

  1. Configuration menu
    Copy the full SHA
    46cacd4 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2026

  1. [Chore][Fix]: Skip Failing CLI Tests, Rework Failing AI Endpoint Vali…

    …dation test (#1258)
    
    ### Context
    In a [previous PR](#1258),
    we hardcoded the mode to link because local emulator wasn't in a ready
    state yet. Soon after, we started encountering three failing tests on
    dev
    
    The three cli tests that were failing on dev were failing because they
    required the create mode flag to be set. The hardcode to link made the
    create paths unreachable. Since we don't have local emulator working,
    allowing users to pass in opts.mode would be bad practice- they'd be
    triggering local emulator actions without the local emulator being set
    up.
    
    Also, there was a failing AI endpoint test. The unified AI endpoint
    tests are set up so that if certain env variables are not present,
    certain tests aren't run. In practice, if the openrouter key isn't set,
    the tests that require actually processing a full AI endpoint result
    without forwarding to prod will be skipped. The failing test was meant
    to just check schema validation but it performed a full request instead.
    
    ### Summary of Changes
    We just skip the tests for now. They'll only become relevant when
    "create" is a legitimate workflow, which necessitates the function of
    local emulator. There is no regression risk because the flow they're
    testing isn't active yet, and so the only thing we could possibly test
    is that passing the create mode will invoke a certain function which
    isn't helpful at this state.
    
    The unified AI endpoint failing test was reworked, another test
    accomplishes the same schema validation effect. We don't lose coverage
    by axing the failing test because other AI tests already test valid
    request bodies (if they weren't valid, they wouldn't get a response).
    nams1570 authored Mar 16, 2026
    Configuration menu
    Copy the full SHA
    db6bd03 View commit details
    Browse the repository at this point in the history
Loading