-
Notifications
You must be signed in to change notification settings - Fork 699
UN-3638 [MISC] Scope and gate critical-path regressions in the rig report #2232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
7d81af2
UN-3770 [FIX] Scope and gate critical-path regressions in the rig report
chandrasekharan-zipstack 786f7cf
test(settings): share test-only deltas between the OSS and cloud suites
chandrasekharan-zipstack cb7ae4a
fix(rig): gate the report on a corrupt baseline
chandrasekharan-zipstack eaba477
docs(rig): tighten the comments added in this PR
chandrasekharan-zipstack 3c9c31f
fix(rig): keep the new gate off non-blocking and unrelated failures
chandrasekharan-zipstack 6848292
fix(rig): treat a misshapen baseline as corrupt
chandrasekharan-zipstack 46f5998
Merge branch 'main' into fix/rig-report-scope
chandrasekharan-zipstack File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,16 +1,8 @@ | ||
| from backend.settings.base import * # noqa: F401, F403 | ||
|
|
||
| DEBUG = True | ||
| """OSS test settings: the production base plus the shared test-only deltas. | ||
|
|
||
| # Django's default PBKDF2 hasher is deliberately slow; suites that seed several | ||
| # users per test spend most of their time there. Test fixtures need speed, not | ||
| # resistance to offline cracking. | ||
| PASSWORD_HASHERS = ["django.contrib.auth.hashers.MD5PasswordHasher"] | ||
| The deltas live in `test_base` rather than here because `copy_cloud_deps` | ||
| replaces this file on a cloud build. | ||
| """ | ||
|
|
||
| # The organization-scoped MCP server ships disabled (see | ||
| # MCP_PLATFORM_SERVER_ENABLED in base.py), but its tests must still exercise | ||
| # it: several drive requests through the full URL stack precisely so the auth | ||
| # middleware runs, and an unmounted route would make them 404 — turning a suite | ||
| # that checks a credential is *rejected* into one that passes because nothing | ||
| # is there. Shipping-off and untested are different things. | ||
| MCP_PLATFORM_SERVER_ENABLED = True | ||
| from backend.settings.base import * # noqa: F401, F403 | ||
| from backend.settings.test_base import * # noqa: F401, F403 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| """Test-only setting deltas, shared by the OSS and cloud test settings. | ||
|
|
||
| Imports nothing on purpose: `copy_cloud_deps` replaces the OSS `settings/test.py` | ||
| on a cloud build, so deltas kept only there are lost, and star-importing a base | ||
| module here would re-export its names over whatever the importer derived. | ||
| """ | ||
|
|
||
| DEBUG = True | ||
|
|
||
| # PBKDF2 is deliberately slow, and suites seeding users per test pay it repeatedly. | ||
| PASSWORD_HASHERS = ["django.contrib.auth.hashers.MD5PasswordHasher"] | ||
|
|
||
| # Prod enforces HTTPS-only cookies; tests run over plain HTTP. | ||
| SESSION_COOKIE_SECURE = False | ||
| CSRF_COOKIE_SECURE = False | ||
|
|
||
| # Ships disabled, but its tests drive the full URL stack to exercise the auth | ||
| # middleware — an unmounted route would 404 and pass them vacuously. | ||
| MCP_PLATFORM_SERVER_ENABLED = True |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.